QElectroTech
0.8-dev
|
#include <configdialog.h>
Inherits QDialog.
Public Slots | |
void | applyConf () |
void | addPage (ConfigPage *) |
void | setCurrentPage (const int index) |
ConfigDialog::setCurrentPage Set the current index to index. More... | |
Public Member Functions | |
ConfigDialog (QWidget *=nullptr) | |
~ConfigDialog () override | |
Destructeur. More... | |
Public Attributes | |
QList< ConfigPage * > | pages |
Private Member Functions | |
ConfigDialog (const ConfigDialog &) | |
void | buildPagesList () |
void | addPageToList (ConfigPage *) |
Private Attributes | |
QListWidget * | pages_list |
QStackedWidget * | pages_widget |
QDialogButtonBox * | buttons |
This class represents the configuration dialog for QElectroTech. It displays "configuration pages", each page having to provide an icon and a title.
ConfigDialog::ConfigDialog | ( | QWidget * | parent = nullptr | ) |
Constructeur
parent | QWidget parent |
|
override |
Destructeur.
|
private |
|
slot |
Ajoute une page au dialogue de configuration
|
private |
|
slot |
Applique la configuration de toutes les pages
|
private |
Construit la liste des pages sur la gauche
|
slot |
ConfigDialog::setCurrentPage Set the current index to index.
index |
|
private |
QList<ConfigPage *> ConfigDialog::pages |
|
private |
|
private |