6#include <QtCore/QtGlobal>
7#if QT_VERSION >= 0x050000
8#include <QtWidgets/QDialog>
9#include <QtWidgets/QDialogButtonBox>
11#include <QtGui/QDialog>
12#include <QtGui/QDialogButtonBox>
46 QWidget* parentWidgetPtr =
NULL);
73 virtual void showEvent(QShowEvent* eventPtr)
override;
76 QDialogButtonBox* m_buttonsBox;
79 double m_screenFactorX;
80 double m_screenFactorY;
81 const QPoint* m_screenPositionPtr;
95 return m_guiObjectPtr;
Class to display an ACF GUI component in a dialog.
void SetDialogGeometry(double screenFactor=0.0, const QPoint *positionPtr=NULL)
Set initial size and position of the dialog.
virtual ~CGuiComponentDialog()
CGuiComponentDialog(iqtgui::IGuiObject *guiObjectPtr, int buttons=0, bool isModal=true, QWidget *parentWidgetPtr=NULL)
Construct the component dialog.
virtual void closeEvent(QCloseEvent *eventPtr) override
void SetDialogGeometry(double screenFactorX, double screenFactorY, const QPoint *positionPtr=NULL)
const QDialogButtonBox * GetButtonBoxPtr() const
Returns the internal button box.
virtual void keyPressEvent(QKeyEvent *eventPtr) override
const iqtgui::IGuiObject * GetGuiPtr() const
Returns pointer to the connected GUI object.
virtual void showEvent(QShowEvent *eventPtr) override
Common interface for GUI objects used in ACF component context.
Standard GUI specific interfaces and components based on Qt.