DoomseekerConfigurationDialog Class Reference
+ Inheritance diagram for DoomseekerConfigurationDialog:

Public Member Functions

 DoomseekerConfigurationDialog (QWidget *parent=NULL)
QStandardItem * addConfigurationBox (QStandardItem *rootItem, ConfigurationBaseBox *pConfigurationBox, int position=-1)
 Adds a new configuration box to the options tree view. More...
bool addEngineConfiguration (ConfigurationBaseBox *pConfigurationBox)
bool appearanceChanged () const
bool customServersChanged () const
void initOptionsList ()
void showPluginConfiguration (const EnginePlugin *plugin)
- Public Member Functions inherited from ConfigurationDialog
 ConfigurationDialog (QWidget *parent=NULL)
QStandardItem * addLabel (QStandardItem *rootItem, const QString &label, int position=-1)
 Adds a label node to the options tree view. More...
bool isConfigurationBoxOnTheList (ConfigurationBaseBox *pConfigurationBox)

Static Public Member Functions

static void openConfiguration (const EnginePlugin *showPlugin=NULL)

Additional Inherited Members

- Protected Slots inherited from ConfigurationDialog
void btnClicked (QAbstractButton *button)
void onOptionListCurrentChanged (const QModelIndex &current, const QModelIndex &previous)
- Protected Member Functions inherited from ConfigurationDialog
bool canConfigurationBoxBeAddedToList (ConfigurationBaseBox *pConfigurationBox)
bool isConfigurationBoxInfoValid (ConfigurationBaseBox *pConfigurationBox)
virtual void keyPressEvent (QKeyEvent *e)
QTreeView * optionsTree ()
 Returns pointer to the tree widget that contains configuration sections list. More...
void saveSettings ()
void showConfigurationBox (ConfigurationBaseBox *widget)
void switchToItem (const QModelIndex &)
virtual bool validate ()

Detailed Description

Definition at line 30 of file doomseekerconfigurationdialog.h.

Member Function Documentation

QStandardItem * DoomseekerConfigurationDialog::addConfigurationBox ( QStandardItem *  rootItem,
ConfigurationBaseBox pConfigurationBox,
int  position = -1 

Adds a new configuration box to the options tree view.

rootItemPointer to the root node of the tree to which the new box will be attached. If NULL the standard model root is used.
pConfigurationBoxPointer to configuration Group Box.
positionPassing <0 will use appendRow method, otherwise the new tree view node will be inserted at specified position.
NULL if ConfigurationBox was not added. Pointer to a new tree node if operation was successful.

Reimplemented from ConfigurationDialog.

Definition at line 55 of file doomseekerconfigurationdialog.cpp.

The documentation for this class was generated from the following files: