|
gwenhywfar 5.10.1
|
A C++ binding for the C module GWEN_WIDGET. More...
#include <cppwidget.hpp>

Public Member Functions | |
| CppWidget (GWEN_WIDGET *w) | |
| GWEN_WIDGET * | getCInterface () |
| int | getColumns () |
| CppDialog * | getDialog () |
| uint32_t | getFlags () |
| int | getGroupId () |
| int | getHeight () |
| const char * | getIconFileName () |
| const char * | getImageFileName () |
| const char * | getName () |
| int | getRows () |
| const char * | getText (int idx) |
| GWEN_WIDGET_TYPE | getType () |
| int | getWidth () |
| virtual | ~CppWidget () |
Static Public Member Functions | |
| static CPPGUI_API CppWidget * | getWidget (GWEN_WIDGET *w) |
Protected Member Functions | |
| virtual int | addChildGuiWidget (GWEN_WIDGET *wChild) |
| CppWidget () | |
| virtual const char * | getCharProperty (GWEN_DIALOG_PROPERTY prop, int index, const char *defaultValue) |
| virtual int | getIntProperty (GWEN_DIALOG_PROPERTY prop, int index, int defaultValue) |
| virtual int | setCharProperty (GWEN_DIALOG_PROPERTY prop, int index, const char *value, int doSignal) |
| virtual int | setIntProperty (GWEN_DIALOG_PROPERTY prop, int index, int value, int doSignal) |
Protected Attributes | |
| GWEN_WIDGET * | _widget |
Friends | |
| class | CppWidgetLinker |
A C++ binding for the C module GWEN_WIDGET.
This class simply is a C++ binding for the C module GWEN_WIDGET. It redirects C callbacks used by GWEN_WIDGET to virtual functions in this class.
Definition at line 32 of file cppwidget.hpp.
| CppWidget | ( | GWEN_WIDGET * | w | ) |
Definition at line 133 of file cppwidget.cpp.
References _widget, GWEN_INHERIT_SETDATA, GWEN_Widget_SetAddChildGuiWidgetFn(), GWEN_Widget_SetGetCharPropertyFn(), GWEN_Widget_SetGetIntPropertyFn(), GWEN_Widget_SetSetCharPropertyFn(), and GWEN_Widget_SetSetIntPropertyFn().

|
virtual |
Definition at line 148 of file cppwidget.cpp.
References _widget, and GWEN_INHERIT_UNLINK.
|
protected |
Definition at line 127 of file cppwidget.cpp.
|
protectedvirtual |
Reimplemented in Qt4_W_Dialog, Qt4_W_GridLayout, Qt4_W_GroupBox, Qt4_W_HLayout, Qt4_W_ScrollArea, Qt4_W_TabBook, Qt4_W_VLayout, Qt4_W_WidgetStack, Qt5_W_Dialog, Qt5_W_GridLayout, Qt5_W_GroupBox, Qt5_W_HLayout, Qt5_W_ScrollArea, Qt5_W_TabBook, Qt5_W_VLayout, and Qt5_W_WidgetStack.
Definition at line 232 of file cppwidget.cpp.
References _widget, and GWEN_ERROR_NOT_SUPPORTED.
|
protectedvirtual |
Reimplemented in Qt4_W_CheckBox, Qt4_W_ComboBox, Qt4_W_Dialog, Qt4_W_Label, Qt4_W_LineEdit, Qt4_W_ListBox, Qt4_W_PushButton, Qt4_W_RadioButton, Qt4_W_TextEdit, Qt4_W_Widget, Qt5_W_ComboBox, and Qt5_W_ListBox.
Definition at line 221 of file cppwidget.cpp.
References _widget.
| GWEN_WIDGET * getCInterface | ( | ) |
Definition at line 156 of file cppwidget.cpp.
References _widget.
Referenced by QT4_GuiDialog::setupTree(), and QT5_GuiDialog::setupTree().

| int getColumns | ( | ) |
Definition at line 253 of file cppwidget.cpp.
References _widget, and GWEN_Widget_GetColumns().

| CppDialog * getDialog | ( | ) |
Definition at line 174 of file cppwidget.cpp.
References _widget, CppDialog::getDialog(), GWEN_Widget_GetDialog(), and NULL.
Referenced by Qt4_W_CheckBox::setup(), Qt4_W_ComboBox::setup(), Qt4_W_Dialog::setup(), Qt4_W_LineEdit::setup(), Qt4_W_ListBox::setup(), Qt4_W_PushButton::setup(), Qt4_W_RadioButton::setup(), Qt4_W_SpinBox::setup(), Qt4_W_TextEdit::setup(), Qt5_W_CheckBox::setup(), Qt5_W_ComboBox::setup(), Qt5_W_Dialog::setup(), Qt5_W_LineEdit::setup(), Qt5_W_ListBox::setup(), Qt5_W_PushButton::setup(), Qt5_W_RadioButton::setup(), Qt5_W_SpinBox::setup(), and Qt5_W_TextEdit::setup().


| uint32_t getFlags | ( | ) |
Definition at line 265 of file cppwidget.cpp.
References _widget, and GWEN_Widget_GetFlags().

| int getGroupId | ( | ) |
Definition at line 271 of file cppwidget.cpp.
References _widget, and GWEN_Widget_GetGroupId().

| int getHeight | ( | ) |
Definition at line 283 of file cppwidget.cpp.
References _widget, and GWEN_Widget_GetHeight().

| const char * getIconFileName | ( | ) |
Definition at line 295 of file cppwidget.cpp.
References _widget, and GWEN_Widget_GetIconFileName().

| const char * getImageFileName | ( | ) |
Definition at line 301 of file cppwidget.cpp.
References _widget, and GWEN_Widget_GetImageFileName().

|
protectedvirtual |
Reimplemented in Qt4_W_CheckBox, Qt4_W_ComboBox, Qt4_W_ListBox, Qt4_W_ProgressBar, Qt4_W_RadioButton, Qt4_W_SpinBox, Qt4_W_Widget, Qt4_W_WidgetStack, Qt5_W_CheckBox, Qt5_W_ComboBox, Qt5_W_ListBox, Qt5_W_ProgressBar, Qt5_W_RadioButton, Qt5_W_SpinBox, and Qt5_W_WidgetStack.
Definition at line 198 of file cppwidget.cpp.
References _widget.
| const char * getName | ( | ) |
Definition at line 241 of file cppwidget.cpp.
References _widget, and GWEN_Widget_GetName().

| int getRows | ( | ) |
Definition at line 259 of file cppwidget.cpp.
References _widget, and GWEN_Widget_GetRows().

| const char * getText | ( | int | idx | ) |
Definition at line 289 of file cppwidget.cpp.
References _widget, and GWEN_Widget_GetText().

| GWEN_WIDGET_TYPE getType | ( | ) |
Definition at line 247 of file cppwidget.cpp.
References _widget, and GWEN_Widget_GetType().

|
static |
Definition at line 162 of file cppwidget.cpp.
References GWEN_INHERIT_GETDATA.
| int getWidth | ( | ) |
Definition at line 277 of file cppwidget.cpp.
References _widget, and GWEN_Widget_GetWidth().

|
protectedvirtual |
Reimplemented in Qt4_W_CheckBox, Qt4_W_ComboBox, Qt4_W_Dialog, Qt4_W_Label, Qt4_W_LineEdit, Qt4_W_ListBox, Qt4_W_PushButton, Qt4_W_RadioButton, Qt4_W_TextBrowser, Qt4_W_TextEdit, Qt4_W_Widget, and Qt5_W_ListBox.
Definition at line 209 of file cppwidget.cpp.
References _widget, and GWEN_ERROR_NOT_SUPPORTED.
|
protectedvirtual |
Reimplemented in Qt4_W_CheckBox, Qt4_W_ComboBox, Qt4_W_ListBox, Qt4_W_ProgressBar, Qt4_W_RadioButton, Qt4_W_SpinBox, Qt4_W_Widget, Qt4_W_WidgetStack, Qt5_W_CheckBox, Qt5_W_ComboBox, Qt5_W_ListBox, Qt5_W_ProgressBar, Qt5_W_RadioButton, Qt5_W_SpinBox, and Qt5_W_WidgetStack.
Definition at line 186 of file cppwidget.cpp.
References _widget, and GWEN_ERROR_NOT_SUPPORTED.
|
friend |
Definition at line 33 of file cppwidget.hpp.
|
protected |
Definition at line 66 of file cppwidget.hpp.
Referenced by addChildGuiWidget(), Qt4_W_Dialog::addChildGuiWidget(), Qt4_W_GridLayout::addChildGuiWidget(), Qt4_W_GroupBox::addChildGuiWidget(), Qt4_W_HLayout::addChildGuiWidget(), Qt4_W_ScrollArea::addChildGuiWidget(), Qt4_W_TabBook::addChildGuiWidget(), Qt4_W_VLayout::addChildGuiWidget(), Qt4_W_WidgetStack::addChildGuiWidget(), Qt5_W_Dialog::addChildGuiWidget(), Qt5_W_GridLayout::addChildGuiWidget(), Qt5_W_GroupBox::addChildGuiWidget(), Qt5_W_HLayout::addChildGuiWidget(), Qt5_W_ScrollArea::addChildGuiWidget(), Qt5_W_TabBook::addChildGuiWidget(), Qt5_W_VLayout::addChildGuiWidget(), Qt5_W_WidgetStack::addChildGuiWidget(), CppWidget(), Qt5_W_CheckBox::getCharProperty(), Qt5_W_Dialog::getCharProperty(), Qt5_W_Label::getCharProperty(), Qt5_W_LineEdit::getCharProperty(), Qt5_W_PushButton::getCharProperty(), Qt5_W_RadioButton::getCharProperty(), Qt5_W_TextEdit::getCharProperty(), getCharProperty(), Qt4_W_CheckBox::getCharProperty(), Qt4_W_ComboBox::getCharProperty(), Qt4_W_Dialog::getCharProperty(), Qt4_W_Label::getCharProperty(), Qt4_W_LineEdit::getCharProperty(), Qt4_W_ListBox::getCharProperty(), Qt4_W_PushButton::getCharProperty(), Qt4_W_RadioButton::getCharProperty(), Qt4_W_TextEdit::getCharProperty(), Qt4_W_Widget::getCharProperty(), Qt5_W_ComboBox::getCharProperty(), Qt5_W_ListBox::getCharProperty(), Qt5_W_Widget::getCharProperty(), getCInterface(), getColumns(), getDialog(), getFlags(), getGroupId(), getHeight(), getIconFileName(), getImageFileName(), Qt5_W_Widget::getIntProperty(), getIntProperty(), Qt4_W_CheckBox::getIntProperty(), Qt4_W_ComboBox::getIntProperty(), Qt4_W_ListBox::getIntProperty(), Qt4_W_ProgressBar::getIntProperty(), Qt4_W_RadioButton::getIntProperty(), Qt4_W_SpinBox::getIntProperty(), Qt4_W_Widget::getIntProperty(), Qt4_W_WidgetStack::getIntProperty(), Qt5_W_CheckBox::getIntProperty(), Qt5_W_ComboBox::getIntProperty(), Qt5_W_ListBox::getIntProperty(), Qt5_W_ProgressBar::getIntProperty(), Qt5_W_RadioButton::getIntProperty(), Qt5_W_SpinBox::getIntProperty(), Qt5_W_WidgetStack::getIntProperty(), getName(), getRows(), getText(), getType(), getWidth(), Qt5_W_CheckBox::setCharProperty(), Qt5_W_ComboBox::setCharProperty(), Qt5_W_Dialog::setCharProperty(), Qt5_W_Label::setCharProperty(), Qt5_W_LineEdit::setCharProperty(), Qt5_W_PushButton::setCharProperty(), Qt5_W_RadioButton::setCharProperty(), Qt5_W_TextBrowser::setCharProperty(), Qt5_W_TextEdit::setCharProperty(), setCharProperty(), Qt4_W_CheckBox::setCharProperty(), Qt4_W_ComboBox::setCharProperty(), Qt4_W_Dialog::setCharProperty(), Qt4_W_Label::setCharProperty(), Qt4_W_LineEdit::setCharProperty(), Qt4_W_ListBox::setCharProperty(), Qt4_W_PushButton::setCharProperty(), Qt4_W_RadioButton::setCharProperty(), Qt4_W_TextBrowser::setCharProperty(), Qt4_W_TextEdit::setCharProperty(), Qt4_W_Widget::setCharProperty(), Qt5_W_ListBox::setCharProperty(), Qt5_W_Widget::setCharProperty(), Qt5_W_Widget::setIntProperty(), setIntProperty(), Qt4_W_CheckBox::setIntProperty(), Qt4_W_ComboBox::setIntProperty(), Qt4_W_ListBox::setIntProperty(), Qt4_W_ProgressBar::setIntProperty(), Qt4_W_RadioButton::setIntProperty(), Qt4_W_SpinBox::setIntProperty(), Qt4_W_Widget::setIntProperty(), Qt4_W_WidgetStack::setIntProperty(), Qt5_W_CheckBox::setIntProperty(), Qt5_W_ComboBox::setIntProperty(), Qt5_W_ListBox::setIntProperty(), Qt5_W_ProgressBar::setIntProperty(), Qt5_W_RadioButton::setIntProperty(), Qt5_W_SpinBox::setIntProperty(), Qt5_W_WidgetStack::setIntProperty(), Qt4_W_CheckBox::setup(), Qt4_W_ComboBox::setup(), Qt4_W_Dialog::setup(), Qt4_W_GridLayout::setup(), Qt4_W_GroupBox::setup(), Qt4_W_HLayout::setup(), Qt4_W_HLine::setup(), Qt4_W_Label::setup(), Qt4_W_LineEdit::setup(), Qt4_W_ListBox::setup(), Qt4_W_ProgressBar::setup(), Qt4_W_PushButton::setup(), Qt4_W_RadioButton::setup(), Qt4_W_ScrollArea::setup(), Qt4_W_SpinBox::setup(), Qt4_W_TabBook::setup(), Qt4_W_TextBrowser::setup(), Qt4_W_TextEdit::setup(), Qt4_W_VLayout::setup(), Qt4_W_VLine::setup(), Qt4_W_Widget::setup(), Qt4_W_WidgetStack::setup(), Qt5_W_CheckBox::setup(), Qt5_W_ComboBox::setup(), Qt5_W_Dialog::setup(), Qt5_W_GridLayout::setup(), Qt5_W_GroupBox::setup(), Qt5_W_HLayout::setup(), Qt5_W_HLine::setup(), Qt5_W_Label::setup(), Qt5_W_LineEdit::setup(), Qt5_W_ListBox::setup(), Qt5_W_ProgressBar::setup(), Qt5_W_PushButton::setup(), Qt5_W_RadioButton::setup(), Qt5_W_ScrollArea::setup(), Qt5_W_SpinBox::setup(), Qt5_W_TabBook::setup(), Qt5_W_TextBrowser::setup(), Qt5_W_TextEdit::setup(), Qt5_W_VLayout::setup(), Qt5_W_VLine::setup(), Qt5_W_Widget::setup(), Qt5_W_WidgetStack::setup(), and ~CppWidget().