Class to display an ICF GUI component in a dialog.
More...
#include <CGuiComponentDialog.h>
Inherits QDialog.
Class to display an ICF GUI component in a dialog.
Definition at line 28 of file CGuiComponentDialog.h.
◆ BaseClass
◆ CGuiComponentDialog()
istdgui::CGuiComponentDialog::CGuiComponentDialog |
( |
istdgui::IGuiObject * | guiObjectPtr, |
|
|
int | buttons = 0, |
|
|
bool | isModal = true, |
|
|
QWidget * | parentWidgetPtr = nullptr ) |
Construct the component dialog.
- Parameters
-
guiObjectPtr | Pointer to the gui object. |
buttons | You can define some standard buttons for this dialog. Default no buttons are set and the dialog starts only with the "Close" button. |
- See also
- QDialogButtonBox::StandardButtons
- Parameters
-
isModal | controls the modality of this dialog. |
parentWidgetPtr | - parent widget for this dialog. Default is nullptr. |
◆ ~CGuiComponentDialog()
virtual istdgui::CGuiComponentDialog::~CGuiComponentDialog |
( |
| ) |
|
|
virtual |
◆ closeEvent()
virtual void istdgui::CGuiComponentDialog::closeEvent |
( |
QCloseEvent * | eventPtr | ) |
|
|
protectedvirtual |
◆ GetButtonBoxPtr()
const QDialogButtonBox * istdgui::CGuiComponentDialog::GetButtonBoxPtr |
( |
| ) |
const |
|
inline |
Returns the internal button box.
You can use this function to create your own connections to the signals of the button group.
Definition at line 85 of file CGuiComponentDialog.h.
◆ GetGuiPtr()
◆ keyPressEvent()
virtual void istdgui::CGuiComponentDialog::keyPressEvent |
( |
QKeyEvent * | eventPtr | ) |
|
|
protectedvirtual |
◆ SetDialogGeometry()
void istdgui::CGuiComponentDialog::SetDialogGeometry |
( |
double | screenFactor = 0.0, |
|
|
const QPoint * | positionPtr = nullptr ) |
Set initial size and position of the dialog.
- Parameters
-
screenFactor | Size factor related to the screen size. If the value is smaller or equal 0.0 the default size will be used. |
positionPtr | Position of the dialog on the screen. If not set, the dialog will be placed at the center of the screen. |
◆ showEvent()
virtual void istdgui::CGuiComponentDialog::showEvent |
( |
QShowEvent * | eventPtr | ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file: