12 #ifndef QT5_DIALOG_HPP
13 #define QT5_DIALOG_HPP
20 #include <gwen-gui-cpp/cppdialog.hpp>
23 #include <gwenhywfar/dialog_be.h>
24 #include <gwenhywfar/widget_be.h>
28 #define QT5_DIALOG_WIDGET_REAL 0
29 #define QT5_DIALOG_WIDGET_CONTENT 1
30 #define QT5_DIALOG_WIDGET_LAYOUT 2
40 bool setup(QWidget *parentWindow);
77 const char *defaultValue);
virtual int setIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int value, int doSignal)
static QT5_GuiDialog * getDialog(GWEN_DIALOG *dlg)
QT5_GuiDialog(QT5_Gui *gui, GWEN_DIALOG *dlg)
int runDialog(bool untilEnd)
int setupTree(GWEN_WIDGET *w)
A C++ binding for the C module GWEN_DIALOG.
struct GWEN_DIALOG GWEN_DIALOG
QT5_DialogBox * _mainWidget
bool setup(QWidget *parentWindow)
virtual int setCharProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *value, int doSignal)
QT5_DialogBox * getMainWindow()
virtual int getIntProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int defaultValue)
virtual const char * getCharProperty(GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *defaultValue)