gwenhywfar
4.6.0beta
|
A C++ binding for the C module GWEN_DIALOG. More...
#include <cppdialog.hpp>
Public Member Functions | |
CppDialog (GWEN_DIALOG *dlg) | |
GWEN_DIALOG * | getCInterface () |
virtual | ~CppDialog () |
Static Public Member Functions | |
static CPPGUI_API CppDialog * | getDialog (GWEN_DIALOG *dlg) |
Protected Member Functions | |
CppDialog () | |
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) |
Protected Attributes | |
GWEN_DIALOG * | _dialog |
Friends | |
class | CppDialogLinker |
A C++ binding for the C module GWEN_DIALOG.
This class simply is a C++ binding for the C module GWEN_DIALOG. It redirects C callbacks used by GWEN_DIALOG to virtual functions in this class.
Definition at line 32 of file cppdialog.hpp.
CppDialog | ( | GWEN_DIALOG * | dlg | ) |
Definition at line 123 of file cppdialog.cpp.
References _dialog, GWEN_Dialog_SetGetCharPropertyFn(), GWEN_Dialog_SetGetIntPropertyFn(), GWEN_Dialog_SetSetCharPropertyFn(), GWEN_Dialog_SetSetIntPropertyFn(), and GWEN_INHERIT_SETDATA.
|
virtual |
Definition at line 140 of file cppdialog.cpp.
References _dialog, and GWEN_INHERIT_UNLINK.
|
protected |
Definition at line 116 of file cppdialog.cpp.
|
protected |
Definition at line 220 of file cppdialog.cpp.
References _dialog, and GWEN_Dialog_EmitSignal().
|
protected |
Definition at line 241 of file cppdialog.cpp.
References _dialog, and GWEN_Dialog_FindWidgetByImplData().
|
protected |
Definition at line 234 of file cppdialog.cpp.
References _dialog, and GWEN_Dialog_FindWidgetByName().
|
protectedvirtual |
Reimplemented in FOX16_GuiDialog, and QT4_GuiDialog.
Definition at line 208 of file cppdialog.cpp.
References _dialog.
GWEN_DIALOG * getCInterface | ( | ) |
Definition at line 164 of file cppdialog.cpp.
References _dialog.
Referenced by QT4_DialogBox::closeEvent(), QT4_DialogBox::slotActivated(), and QT4_DialogBox::slotValueChanged().
|
static |
Reimplemented in FOX16_GuiDialog, and QT4_GuiDialog.
Definition at line 148 of file cppdialog.cpp.
References GWEN_Dialog_GetParentDialog(), and GWEN_INHERIT_GETDATA.
|
protectedvirtual |
Reimplemented in FOX16_GuiDialog, and QT4_GuiDialog.
Definition at line 183 of file cppdialog.cpp.
References _dialog.
|
protected |
Definition at line 227 of file cppdialog.cpp.
References _dialog, and GWEN_Dialog_GetWidgets().
|
protectedvirtual |
Reimplemented in FOX16_GuiDialog, and QT4_GuiDialog.
Definition at line 195 of file cppdialog.cpp.
References _dialog, and GWEN_ERROR_NOT_SUPPORTED.
|
protectedvirtual |
Reimplemented in FOX16_GuiDialog, and QT4_GuiDialog.
Definition at line 170 of file cppdialog.cpp.
References _dialog, and GWEN_ERROR_NOT_SUPPORTED.
|
friend |
Definition at line 33 of file cppdialog.hpp.
|
protected |
Definition at line 50 of file cppdialog.hpp.
Referenced by QT4_GuiDialog::closeDialog(), FOX16_GuiDialog::closeDialog(), CppDialog(), emitSignal(), QT4_GuiDialog::execute(), FOX16_GuiDialog::execute(), findWidgetByImplData(), findWidgetByName(), getCharProperty(), getCInterface(), FOX16_GuiDialog::getIcon(), getIntProperty(), getWidgets(), FOX16_GuiDialog::onSelChanged(), FOX16_GuiDialog::onSelCommand(), FOX16_GuiDialog::onSelKeyPress(), FOX16_GuiDialog::onSelKeyRelease(), setCharProperty(), setIntProperty(), QT4_GuiDialog::setup(), FOX16_GuiDialog::setup(), FOX16_GuiDialog::setupTree(), and ~CppDialog().