DoomseekerConfigurationDialog Class Reference
+ Inheritance diagram for DoomseekerConfigurationDialog:

Public Member Functions

 DoomseekerConfigurationDialog (QWidget *parent=NULL)
 
QStandardItem * addConfigPage (QStandardItem *rootItem, ConfigPage *configPage, int position=-1)
 Adds a new configuration page to the options tree view. More...
 
bool addEngineConfiguration (ConfigPage *configPage)
 
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...
 

Static Public Member Functions

static void openConfiguration (const EnginePlugin *showPlugin=NULL)
 

Additional Inherited Members

- Protected Member Functions inherited from ConfigurationDialog
virtual void keyPressEvent (QKeyEvent *e)
 
QTreeView * optionsTree ()
 Returns pointer to the tree widget that contains configuration sections list. More...
 
void showConfigPage (ConfigPage *widget)
 
virtual bool validate ()
 

Detailed Description

Definition at line 30 of file doomseekerconfigurationdialog.h.

Member Function Documentation

QStandardItem * DoomseekerConfigurationDialog::addConfigPage ( QStandardItem *  rootItem,
ConfigPage configPage,
int  position = -1 
)
virtual

Adds a new configuration page to the options tree view.

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

Reimplemented from ConfigurationDialog.

Definition at line 54 of file doomseekerconfigurationdialog.cpp.


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