Class to display an ACF GUI component in a dialog.
More...
#include <CGuiComponentDialog.h>
|
| virtual void | closeEvent (QCloseEvent *eventPtr) override |
| |
| virtual void | keyPressEvent (QKeyEvent *eventPtr) override |
| |
| virtual void | showEvent (QShowEvent *eventPtr) override |
| |
Class to display an ACF GUI component in a dialog.
Definition at line 28 of file CGuiComponentDialog.h.
◆ BaseClass
◆ CGuiComponentDialog()
| iqtgui::CGuiComponentDialog::CGuiComponentDialog |
( |
iqtgui::IGuiObject * |
guiObjectPtr, |
|
|
int |
buttons = 0, |
|
|
bool |
isModal = true, |
|
|
QWidget * |
parentWidgetPtr = NULL |
|
) |
| |
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 NULL. |
◆ ~CGuiComponentDialog()
| virtual iqtgui::CGuiComponentDialog::~CGuiComponentDialog |
( |
| ) |
|
|
virtual |
◆ closeEvent()
| virtual void iqtgui::CGuiComponentDialog::closeEvent |
( |
QCloseEvent * |
eventPtr | ) |
|
|
overrideprotectedvirtual |
◆ GetButtonBoxPtr()
| const QDialogButtonBox * iqtgui::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 87 of file CGuiComponentDialog.h.
◆ GetGuiPtr()
◆ keyPressEvent()
| virtual void iqtgui::CGuiComponentDialog::keyPressEvent |
( |
QKeyEvent * |
eventPtr | ) |
|
|
overrideprotectedvirtual |
◆ SetDialogGeometry() [1/2]
| void iqtgui::CGuiComponentDialog::SetDialogGeometry |
( |
double |
screenFactor = 0.0, |
|
|
const QPoint * |
positionPtr = NULL |
|
) |
| |
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. |
◆ SetDialogGeometry() [2/2]
| void iqtgui::CGuiComponentDialog::SetDialogGeometry |
( |
double |
screenFactorX, |
|
|
double |
screenFactorY, |
|
|
const QPoint * |
positionPtr = NULL |
|
) |
| |
◆ showEvent()
| virtual void iqtgui::CGuiComponentDialog::showEvent |
( |
QShowEvent * |
eventPtr | ) |
|
|
overrideprotectedvirtual |
The documentation for this class was generated from the following file: