DoomseekerConfigurationDialog Class Reference
+ Inheritance diagram for DoomseekerConfigurationDialog:

Signals

void appearanceChanged ()
 

Public Member Functions

 DoomseekerConfigurationDialog (QWidget *parent=nullptr)
 
QStandardItem * addConfigPage (QStandardItem *rootItem, ConfigPage *configPage, int position=-1) override
 Adds a new configuration page to the options tree view.
 
bool addEngineConfiguration (ConfigPage *configPage)
 
bool customServersChanged () const
 
void initOptionsList ()
 
bool isRestartNeeded () const
 
void showPluginConfiguration (const EnginePlugin *plugin)
 
bool wasAppearanceChanged () const
 
- Public Member Functions inherited from ConfigurationDialog
 ConfigurationDialog (QWidget *parent=nullptr)
 
QStandardItem * addLabel (QStandardItem *rootItem, const QString &label, int position=-1)
 Adds a label node to the options tree view.
 

Static Public Member Functions

static bool isOpen ()
 
static void openConfiguration (QWidget *parent, const EnginePlugin *showPlugin=nullptr)
 

Additional Inherited Members

- Public Slots inherited from ConfigurationDialog
void reject () override
 
- Protected Member Functions inherited from ConfigurationDialog
void keyPressEvent (QKeyEvent *e) override
 
QTreeView * optionsTree ()
 Returns pointer to the tree widget that contains configuration sections list.
 
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 
)
overridevirtual

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 nullptr, 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
nullptr if ConfigPage 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: