|
gwenhywfar 5.10.1
|
#include <qt5_gui_dialog.hpp>


Public Member Functions | |
| int | closeDialog () |
| int | execute () |
| GWEN_DIALOG * | getCInterface () |
| QT5_DialogBox * | getMainWindow () |
| int | openDialog () |
| QT5_GuiDialog (QT5_Gui *gui, GWEN_DIALOG *dlg) | |
| int | runDialog (bool untilEnd) |
| bool | setup (QWidget *parentWindow) |
| virtual | ~QT5_GuiDialog () |
Static Public Member Functions | |
| static QT5_GuiDialog * | getDialog (GWEN_DIALOG *dlg) |
Protected Member Functions | |
| int | emitSignal (GWEN_DIALOG_EVENTTYPE t, const char *sender) |
| GWEN_WIDGET * | findWidgetByImplData (int index, void *ptr) |
| GWEN_WIDGET * | findWidgetByName (const char *name) |
| virtual const char * | getCharProperty (GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *defaultValue) |
| virtual int | getIntProperty (GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int defaultValue) |
| GWEN_WIDGET_TREE * | getWidgets () const |
| virtual int | setCharProperty (GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *value, int doSignal) |
| virtual int | setIntProperty (GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int value, int doSignal) |
| int | setupTree (GWEN_WIDGET *w) |
Protected Attributes | |
| GWEN_DIALOG * | _dialog |
| QT5_Gui * | _gui |
| QT5_DialogBox * | _mainWidget |
| int | _widgetCount |
Definition at line 33 of file qt5_gui_dialog.hpp.
| QT5_GuiDialog | ( | QT5_Gui * | gui, |
| GWEN_DIALOG * | dlg | ||
| ) |
Definition at line 74 of file qt5_gui_dialog.cpp.
|
virtual |
Definition at line 83 of file qt5_gui_dialog.cpp.
References _mainWidget, and QT5_DialogBox::unlinkFromDialog().

| int closeDialog | ( | ) |
Definition at line 145 of file qt5_gui_dialog.cpp.
References CppDialog::_dialog, _mainWidget, DBG_INFO, getMainWindow(), GWEN_Dialog_EmitSignalToAll(), GWEN_DialogEvent_TypeFini, GWEN_ERROR_GENERIC, and NULL.
Referenced by QT5_Gui::closeDialog().


|
protectedinherited |
Definition at line 218 of file cppdialog.cpp.
References CppDialog::_dialog, and GWEN_Dialog_EmitSignal().

| int execute | ( | ) |
Definition at line 102 of file qt5_gui_dialog.cpp.
References CppDialog::_dialog, DBG_INFO, getMainWindow(), GWEN_Dialog_EmitSignalToAll(), GWEN_DialogEvent_TypeFini, GWEN_ERROR_GENERIC, and NULL.
Referenced by QT5_Gui::execDialog().


|
protectedinherited |
Definition at line 239 of file cppdialog.cpp.
References CppDialog::_dialog, and GWEN_Dialog_FindWidgetByImplData().

|
protectedinherited |
Definition at line 232 of file cppdialog.cpp.
References CppDialog::_dialog, and GWEN_Dialog_FindWidgetByName().

|
protectedvirtual |
Reimplemented from CppDialog.
Definition at line 223 of file qt5_gui_dialog.cpp.
References GWEN_Widget_GetCharProperty().

|
inherited |
Definition at line 162 of file cppdialog.cpp.
References CppDialog::_dialog.
Referenced by QT4_DialogBox::closeEvent(), QT5_DialogBox::closeEvent(), QT4_DialogBox::slotActivated(), QT5_DialogBox::slotActivated(), QT4_DialogBox::slotValueChanged(), and QT5_DialogBox::slotValueChanged().

|
static |
Definition at line 91 of file qt5_gui_dialog.cpp.
References CppDialog::getDialog(), and NULL.
Referenced by QT5_Gui::closeDialog(), and QT5_Gui::runDialog().


|
protectedvirtual |
Reimplemented from CppDialog.
Definition at line 204 of file qt5_gui_dialog.cpp.
References GWEN_Widget_GetIntProperty().

|
inline |
Definition at line 48 of file qt5_gui_dialog.hpp.
Referenced by closeDialog(), execute(), openDialog(), runDialog(), Qt5_W_CheckBox::setup(), Qt5_W_ComboBox::setup(), Qt5_W_LineEdit::setup(), Qt5_W_ListBox::setup(), Qt5_W_PushButton::setup(), Qt5_W_RadioButton::setup(), and Qt5_W_SpinBox::setup().

|
protectedinherited |
Definition at line 225 of file cppdialog.cpp.
References CppDialog::_dialog, and GWEN_Dialog_GetWidgets().

| int openDialog | ( | ) |
Definition at line 126 of file qt5_gui_dialog.cpp.
References DBG_INFO, getMainWindow(), GWEN_ERROR_GENERIC, and NULL.
Referenced by QT5_Gui::openDialog().


| int runDialog | ( | bool | untilEnd | ) |
Definition at line 170 of file qt5_gui_dialog.cpp.
References QT5_DialogBox::cont(), DBG_INFO, getMainWindow(), GWEN_ERROR_GENERIC, and NULL.
Referenced by QT5_Gui::runDialog().


|
protectedvirtual |
Reimplemented from CppDialog.
Definition at line 213 of file qt5_gui_dialog.cpp.
References GWEN_Widget_SetCharProperty().

|
protectedvirtual |
Reimplemented from CppDialog.
Definition at line 194 of file qt5_gui_dialog.cpp.
References GWEN_Widget_SetIntProperty().

| bool setup | ( | QWidget * | parentWindow | ) |
Definition at line 347 of file qt5_gui_dialog.cpp.
References CppDialog::_dialog, _mainWidget, DBG_ERROR, DBG_INFO, GWEN_Dialog_EmitSignalToAll(), GWEN_Dialog_GetWidgets(), GWEN_DialogEvent_TypeInit, GWEN_LOGDOMAIN, GWEN_Widget_GetImplData(), NULL, QT5_DIALOG_WIDGET_REAL, and setupTree().
Referenced by QT5_Gui::execDialog(), and QT5_Gui::openDialog().


|
protected |
Definition at line 232 of file qt5_gui_dialog.cpp.
References _mainWidget, DBG_ERROR, DBG_INFO, CppWidget::getCInterface(), GWEN_ERROR_INTERNAL, GWEN_LOGDOMAIN, GWEN_Widget_GetImplData(), GWEN_Widget_GetType(), GWEN_Widget_Type_toString(), GWEN_Widget_TypeCheckBox, GWEN_Widget_TypeComboBox, GWEN_Widget_TypeDialog, GWEN_Widget_TypeGridLayout, GWEN_Widget_TypeGroupBox, GWEN_Widget_TypeHLayout, GWEN_Widget_TypeHLine, GWEN_Widget_TypeHSpacer, GWEN_Widget_TypeLabel, GWEN_Widget_TypeLineEdit, GWEN_Widget_TypeListBox, GWEN_Widget_TypeProgressBar, GWEN_Widget_TypePushButton, GWEN_Widget_TypeRadioButton, GWEN_Widget_TypeScrollArea, GWEN_Widget_TypeSpinBox, GWEN_Widget_TypeTabBook, GWEN_Widget_TypeTabPage, GWEN_Widget_TypeTextBrowser, GWEN_Widget_TypeTextEdit, GWEN_Widget_TypeVLayout, GWEN_Widget_TypeVLine, GWEN_Widget_TypeVSpacer, GWEN_Widget_TypeWidgetStack, NULL, QT5_DIALOG_WIDGET_REAL, Qt5_W_Widget::setup(), and setupTree().
Referenced by setup(), and setupTree().


|
protectedinherited |
Definition at line 50 of file cppdialog.hpp.
Referenced by FOX16_GuiDialog::closeDialog(), QT4_GuiDialog::closeDialog(), closeDialog(), CppDialog::CppDialog(), CppDialog::emitSignal(), FOX16_GuiDialog::execute(), QT4_GuiDialog::execute(), execute(), CppDialog::findWidgetByImplData(), CppDialog::findWidgetByName(), CppDialog::getCharProperty(), CppDialog::getCInterface(), FOX16_GuiDialog::getIcon(), CppDialog::getIntProperty(), CppDialog::getWidgets(), FOX16_GuiDialog::onSelChanged(), FOX16_GuiDialog::onSelCommand(), FOX16_GuiDialog::onSelKeyPress(), FOX16_GuiDialog::onSelKeyRelease(), CppDialog::setCharProperty(), CppDialog::setIntProperty(), FOX16_GuiDialog::setup(), QT4_GuiDialog::setup(), setup(), FOX16_GuiDialog::setupTree(), and CppDialog::~CppDialog().
|
protected |
Definition at line 51 of file qt5_gui_dialog.hpp.
|
protected |
Definition at line 53 of file qt5_gui_dialog.hpp.
Referenced by closeDialog(), setup(), setupTree(), and ~QT5_GuiDialog().
|
protected |
Definition at line 52 of file qt5_gui_dialog.hpp.