Gui::ContainerDialog Class Reference
The ContainerDialog class acts as a container to embed any kinds of widgets that do not inherit from QDialog. More...
#include <WidgetFactory.h>
Public Member Functions | |
ContainerDialog (QWidget *templChild) | |
Constructs a ContainerDialog which embeds the child templChild. More... | |
~ContainerDialog () | |
Destroys the object and frees any allocated resources. More... | |
Public Attributes | |
QPushButton * | buttonCancel |
The cancel button. More... | |
QPushButton * | buttonOk |
The Ok button. More... | |
Detailed Description
The ContainerDialog class acts as a container to embed any kinds of widgets that do not inherit from QDialog.
This class also provides an "Ok" and a "Cancel" button. At most this class is used to embed widgets which are created from .ui files.
Constructor & Destructor Documentation
◆ ContainerDialog()
ContainerDialog::ContainerDialog | ( | QWidget * | templChild | ) |
Constructs a ContainerDialog which embeds the child templChild.
The dialog will be modal.
References buttonCancel, and buttonOk.
◆ ~ContainerDialog()
ContainerDialog::~ContainerDialog | ( | ) |
Destroys the object and frees any allocated resources.
Member Data Documentation
◆ buttonCancel
QPushButton* Gui::ContainerDialog::buttonCancel |
The cancel button.
Referenced by ContainerDialog().
◆ buttonOk
QPushButton* Gui::ContainerDialog::buttonOk |
The Ok button.
Referenced by ContainerDialog().
The documentation for this class was generated from the following files:
- src/Gui/WidgetFactory.h
- src/Gui/WidgetFactory.cpp