gwenhywfar
4.3.1
|
A C++ binding for the C module GWEN_DIALOG. More...
#include <cppdialog.hpp>
Public Member Functions | |
CppDialog (GWEN_DIALOG *dlg) | |
CppDialog (GWEN_DIALOG *dlg) | |
GWEN_DIALOG * | getCInterface () |
GWEN_DIALOG * | getCInterface () |
virtual | ~CppDialog () |
virtual | ~CppDialog () |
Static Public Member Functions | |
static CppDialog * | getDialog (GWEN_DIALOG *dlg) |
static CppDialog * | getDialog (GWEN_DIALOG *dlg) |
Protected Member Functions | |
CppDialog () | |
CppDialog () | |
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 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) |
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 | 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) |
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 29 of file cpp/cppdialog.hpp.
CppDialog | ( | GWEN_DIALOG * | dlg | ) |
Definition at line 123 of file cpp/cppdialog.cpp.
References _dialog, GWEN_Dialog_SetGetCharPropertyFn(), GWEN_Dialog_SetGetIntPropertyFn(), GWEN_Dialog_SetSetCharPropertyFn(), GWEN_Dialog_SetSetIntPropertyFn(), and GWEN_INHERIT_SETDATA.
~CppDialog | ( | ) | [virtual] |
Definition at line 140 of file cpp/cppdialog.cpp.
References _dialog, and GWEN_INHERIT_UNLINK.
CppDialog | ( | ) | [protected] |
Definition at line 116 of file cpp/cppdialog.cpp.
CppDialog | ( | GWEN_DIALOG * | dlg | ) |
virtual ~CppDialog | ( | ) | [virtual] |
CppDialog | ( | ) | [protected] |
int emitSignal | ( | GWEN_DIALOG_EVENTTYPE | t, |
const char * | sender | ||
) | [protected] |
Definition at line 220 of file cpp/cppdialog.cpp.
References _dialog, and GWEN_Dialog_EmitSignal().
int emitSignal | ( | GWEN_DIALOG_EVENTTYPE | t, |
const char * | sender | ||
) | [protected] |
GWEN_WIDGET * findWidgetByImplData | ( | int | index, |
void * | ptr | ||
) | [protected] |
Definition at line 241 of file cpp/cppdialog.cpp.
References _dialog, and GWEN_Dialog_FindWidgetByImplData().
GWEN_WIDGET* findWidgetByImplData | ( | int | index, |
void * | ptr | ||
) | [protected] |
GWEN_WIDGET * findWidgetByName | ( | const char * | name | ) | [protected] |
Definition at line 234 of file cpp/cppdialog.cpp.
References _dialog, and GWEN_Dialog_FindWidgetByName().
GWEN_WIDGET* findWidgetByName | ( | const char * | name | ) | [protected] |
const char * getCharProperty | ( | GWEN_WIDGET * | w, |
GWEN_DIALOG_PROPERTY | prop, | ||
int | index, | ||
const char * | defaultValue | ||
) | [protected, virtual] |
Reimplemented in FOX16_GuiDialog, and QT4_GuiDialog.
Definition at line 208 of file cpp/cppdialog.cpp.
References _dialog.
virtual const char* getCharProperty | ( | GWEN_WIDGET * | w, |
GWEN_DIALOG_PROPERTY | prop, | ||
int | index, | ||
const char * | defaultValue | ||
) | [protected, virtual] |
Reimplemented in FOX16_GuiDialog, and QT4_GuiDialog.
GWEN_DIALOG * getCInterface | ( | ) |
Definition at line 164 of file cpp/cppdialog.cpp.
References _dialog.
Referenced by QT4_DialogBox::closeEvent(), QT4_DialogBox::slotActivated(), and QT4_DialogBox::slotValueChanged().
GWEN_DIALOG* getCInterface | ( | ) |
CppDialog * getDialog | ( | GWEN_DIALOG * | dlg | ) | [static] |
Reimplemented in FOX16_GuiDialog, and QT4_GuiDialog.
Definition at line 148 of file cpp/cppdialog.cpp.
References GWEN_Dialog_GetParentDialog(), and GWEN_INHERIT_GETDATA.
static CppDialog* getDialog | ( | GWEN_DIALOG * | dlg | ) | [static] |
Reimplemented in FOX16_GuiDialog, and QT4_GuiDialog.
int getIntProperty | ( | GWEN_WIDGET * | w, |
GWEN_DIALOG_PROPERTY | prop, | ||
int | index, | ||
int | defaultValue | ||
) | [protected, virtual] |
Reimplemented in FOX16_GuiDialog, and QT4_GuiDialog.
Definition at line 183 of file cpp/cppdialog.cpp.
References _dialog.
virtual int getIntProperty | ( | GWEN_WIDGET * | w, |
GWEN_DIALOG_PROPERTY | prop, | ||
int | index, | ||
int | defaultValue | ||
) | [protected, virtual] |
Reimplemented in FOX16_GuiDialog, and QT4_GuiDialog.
GWEN_WIDGET_TREE * getWidgets | ( | ) | const [protected] |
Definition at line 227 of file cpp/cppdialog.cpp.
References _dialog, and GWEN_Dialog_GetWidgets().
GWEN_WIDGET_TREE* getWidgets | ( | ) | const [protected] |
int setCharProperty | ( | GWEN_WIDGET * | w, |
GWEN_DIALOG_PROPERTY | prop, | ||
int | index, | ||
const char * | value, | ||
int | doSignal | ||
) | [protected, virtual] |
Reimplemented in FOX16_GuiDialog, and QT4_GuiDialog.
Definition at line 195 of file cpp/cppdialog.cpp.
References _dialog, and GWEN_ERROR_NOT_SUPPORTED.
virtual int setCharProperty | ( | GWEN_WIDGET * | w, |
GWEN_DIALOG_PROPERTY | prop, | ||
int | index, | ||
const char * | value, | ||
int | doSignal | ||
) | [protected, virtual] |
Reimplemented in FOX16_GuiDialog, and QT4_GuiDialog.
int setIntProperty | ( | GWEN_WIDGET * | w, |
GWEN_DIALOG_PROPERTY | prop, | ||
int | index, | ||
int | value, | ||
int | doSignal | ||
) | [protected, virtual] |
Reimplemented in FOX16_GuiDialog, and QT4_GuiDialog.
Definition at line 170 of file cpp/cppdialog.cpp.
References _dialog, and GWEN_ERROR_NOT_SUPPORTED.
virtual int setIntProperty | ( | GWEN_WIDGET * | w, |
GWEN_DIALOG_PROPERTY | prop, | ||
int | index, | ||
int | value, | ||
int | doSignal | ||
) | [protected, virtual] |
Reimplemented in FOX16_GuiDialog, and QT4_GuiDialog.
CppDialogLinker [friend] |
Definition at line 30 of file cpp/cppdialog.hpp.
GWEN_DIALOG * _dialog [protected] |
Definition at line 47 of file cpp/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().