QElectroTech  0.8-dev
Public Slots | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
ConfigDialog Class Reference

#include <configdialog.h>

Inherits QDialog.

Collaboration diagram for ConfigDialog:
Collaboration graph

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
 

Detailed Description

This class represents the configuration dialog for QElectroTech. It displays "configuration pages", each page having to provide an icon and a title.

Constructor & Destructor Documentation

◆ ConfigDialog() [1/2]

ConfigDialog::ConfigDialog ( QWidget *  parent = nullptr)

Constructeur

Parameters
parentQWidget parent
Here is the call graph for this function:

◆ ~ConfigDialog()

ConfigDialog::~ConfigDialog ( )
override

Destructeur.

◆ ConfigDialog() [2/2]

ConfigDialog::ConfigDialog ( const ConfigDialog )
private

Member Function Documentation

◆ addPage

void ConfigDialog::addPage ( ConfigPage page)
slot

Ajoute une page au dialogue de configuration

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addPageToList()

void ConfigDialog::addPageToList ( ConfigPage page)
private

Add the page ConfigPage to this configuration dialog.

Here is the caller graph for this function:

◆ applyConf

void ConfigDialog::applyConf ( )
slot

Applique la configuration de toutes les pages

Here is the caller graph for this function:

◆ buildPagesList()

void ConfigDialog::buildPagesList ( )
private

Construit la liste des pages sur la gauche

Here is the call graph for this function:

◆ setCurrentPage

void ConfigDialog::setCurrentPage ( const int  index)
slot

ConfigDialog::setCurrentPage Set the current index to index.

Parameters
index

Member Data Documentation

◆ buttons

QDialogButtonBox* ConfigDialog::buttons
private

◆ pages

QList<ConfigPage *> ConfigDialog::pages

◆ pages_list

QListWidget* ConfigDialog::pages_list
private

◆ pages_widget

QStackedWidget* ConfigDialog::pages_widget
private

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