gwenhywfar 4.0.3
|
#include <qt4_gui_dialog.hpp>
Public Member Functions | |
int | closeDialog () |
int | execute () |
GWEN_DIALOG * | getCInterface () |
GWEN_DIALOG * | getCInterface () |
QT4_DialogBox * | getMainWindow () |
int | openDialog () |
QT4_GuiDialog (QT4_Gui *gui, GWEN_DIALOG *dlg) | |
int | runDialog (bool untilEnd) |
bool | setup (QWidget *parentWindow) |
virtual | ~QT4_GuiDialog () |
Static Public Member Functions | |
static QT4_GuiDialog * | getDialog (GWEN_DIALOG *dlg) |
Protected Member Functions | |
int | emitSignal (GWEN_DIALOG_EVENTTYPE t, const char *sender) |
int | emitSignal (GWEN_DIALOG_EVENTTYPE t, const char *sender) |
GWEN_WIDGET * | findWidgetByImplData (int index, void *ptr) |
GWEN_WIDGET * | findWidgetByImplData (int index, void *ptr) |
GWEN_WIDGET * | findWidgetByName (const char *name) |
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 |
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 |
QT4_Gui * | _gui |
QT4_DialogBox * | _mainWidget |
int | _widgetCount |
Definition at line 35 of file qt4_gui_dialog.hpp.
QT4_GuiDialog | ( | QT4_Gui * | gui, |
GWEN_DIALOG * | dlg | ||
) |
Definition at line 82 of file qt4_gui_dialog.cpp.
~QT4_GuiDialog | ( | ) | [virtual] |
Definition at line 92 of file qt4_gui_dialog.cpp.
References _mainWidget, and QT4_DialogBox::unlinkFromDialog().
int closeDialog | ( | ) |
Definition at line 154 of file qt4_gui_dialog.cpp.
References CppDialog::_dialog, _mainWidget, DBG_INFO, getMainWindow(), GWEN_Dialog_EmitSignalToAll(), GWEN_DialogEvent_TypeFini, GWEN_ERROR_GENERIC, and NULL.
Referenced by QT4_Gui::closeDialog().
int emitSignal | ( | GWEN_DIALOG_EVENTTYPE | t, |
const char * | sender | ||
) | [protected, inherited] |
int emitSignal | ( | GWEN_DIALOG_EVENTTYPE | t, |
const char * | sender | ||
) | [protected, inherited] |
Definition at line 220 of file cpp/cppdialog.cpp.
References CppDialog::_dialog, and GWEN_Dialog_EmitSignal().
int execute | ( | ) |
Definition at line 111 of file qt4_gui_dialog.cpp.
References CppDialog::_dialog, DBG_INFO, getMainWindow(), GWEN_Dialog_EmitSignalToAll(), GWEN_DialogEvent_TypeFini, GWEN_ERROR_GENERIC, and NULL.
Referenced by QT4_Gui::execDialog().
GWEN_WIDGET * findWidgetByImplData | ( | int | index, |
void * | ptr | ||
) | [protected, inherited] |
Definition at line 241 of file cpp/cppdialog.cpp.
References CppDialog::_dialog, and GWEN_Dialog_FindWidgetByImplData().
GWEN_WIDGET* findWidgetByImplData | ( | int | index, |
void * | ptr | ||
) | [protected, inherited] |
GWEN_WIDGET * findWidgetByName | ( | const char * | name | ) | [protected, inherited] |
Definition at line 234 of file cpp/cppdialog.cpp.
References CppDialog::_dialog, and GWEN_Dialog_FindWidgetByName().
GWEN_WIDGET* findWidgetByName | ( | const char * | name | ) | [protected, inherited] |
const char * getCharProperty | ( | GWEN_WIDGET * | w, |
GWEN_DIALOG_PROPERTY | prop, | ||
int | index, | ||
const char * | defaultValue | ||
) | [protected, virtual] |
Reimplemented from CppDialog.
Definition at line 231 of file qt4_gui_dialog.cpp.
References GWEN_Widget_GetCharProperty().
GWEN_DIALOG * getCInterface | ( | ) | [inherited] |
Definition at line 164 of file cpp/cppdialog.cpp.
References CppDialog::_dialog.
Referenced by QT4_DialogBox::closeEvent(), QT4_DialogBox::slotActivated(), and QT4_DialogBox::slotValueChanged().
GWEN_DIALOG* getCInterface | ( | ) | [inherited] |
QT4_GuiDialog * getDialog | ( | GWEN_DIALOG * | dlg | ) | [static] |
Reimplemented from CppDialog.
Definition at line 100 of file qt4_gui_dialog.cpp.
References NULL.
Referenced by QT4_Gui::closeDialog(), and QT4_Gui::runDialog().
int getIntProperty | ( | GWEN_WIDGET * | w, |
GWEN_DIALOG_PROPERTY | prop, | ||
int | index, | ||
int | defaultValue | ||
) | [protected, virtual] |
Reimplemented from CppDialog.
Definition at line 212 of file qt4_gui_dialog.cpp.
References GWEN_Widget_GetIntProperty().
QT4_DialogBox* getMainWindow | ( | ) | [inline] |
Definition at line 50 of file qt4_gui_dialog.hpp.
References _mainWidget.
Referenced by closeDialog(), execute(), openDialog(), runDialog(), Qt4_W_TextEdit::setup(), Qt4_W_SpinBox::setup(), Qt4_W_RadioButton::setup(), Qt4_W_PushButton::setup(), Qt4_W_ListBox::setup(), Qt4_W_LineEdit::setup(), Qt4_W_ComboBox::setup(), and Qt4_W_CheckBox::setup().
GWEN_WIDGET_TREE * getWidgets | ( | ) | const [protected, inherited] |
Definition at line 227 of file cpp/cppdialog.cpp.
References CppDialog::_dialog, and GWEN_Dialog_GetWidgets().
GWEN_WIDGET_TREE* getWidgets | ( | ) | const [protected, inherited] |
int openDialog | ( | ) |
Definition at line 135 of file qt4_gui_dialog.cpp.
References DBG_INFO, getMainWindow(), GWEN_ERROR_GENERIC, and NULL.
Referenced by QT4_Gui::openDialog().
int runDialog | ( | bool | untilEnd | ) |
Definition at line 179 of file qt4_gui_dialog.cpp.
References QT4_DialogBox::cont(), DBG_INFO, getMainWindow(), GWEN_ERROR_GENERIC, and NULL.
Referenced by QT4_Gui::runDialog().
int setCharProperty | ( | GWEN_WIDGET * | w, |
GWEN_DIALOG_PROPERTY | prop, | ||
int | index, | ||
const char * | value, | ||
int | doSignal | ||
) | [protected, virtual] |
Reimplemented from CppDialog.
Definition at line 221 of file qt4_gui_dialog.cpp.
References GWEN_Widget_SetCharProperty().
int setIntProperty | ( | GWEN_WIDGET * | w, |
GWEN_DIALOG_PROPERTY | prop, | ||
int | index, | ||
int | value, | ||
int | doSignal | ||
) | [protected, virtual] |
Reimplemented from CppDialog.
Definition at line 202 of file qt4_gui_dialog.cpp.
References GWEN_Widget_SetIntProperty().
bool setup | ( | QWidget * | parentWindow | ) |
Definition at line 355 of file qt4_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, QT4_DIALOG_WIDGET_REAL, and setupTree().
Referenced by QT4_Gui::execDialog(), and QT4_Gui::openDialog().
int setupTree | ( | GWEN_WIDGET * | w | ) | [protected] |
Definition at line 240 of file qt4_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, QT4_DIALOG_WIDGET_REAL, and Qt4_W_Widget::setup().
Referenced by setup().
GWEN_DIALOG * _dialog [protected, inherited] |
Definition at line 47 of file cpp/cppdialog.hpp.
Referenced by closeDialog(), FOX16_GuiDialog::closeDialog(), CppDialog::CppDialog(), CppDialog::emitSignal(), execute(), FOX16_GuiDialog::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(), setup(), FOX16_GuiDialog::setup(), FOX16_GuiDialog::setupTree(), and CppDialog::~CppDialog().
Definition at line 50 of file qt4_gui_dialog.hpp.
QT4_DialogBox* _mainWidget [protected] |
Definition at line 55 of file qt4_gui_dialog.hpp.
Referenced by closeDialog(), getMainWindow(), setup(), setupTree(), and ~QT4_GuiDialog().
int _widgetCount [protected] |
Definition at line 54 of file qt4_gui_dialog.hpp.