gwenhywfar  5.10.1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends
CppWidget Class Reference

A C++ binding for the C module GWEN_WIDGET. More...

#include <cppwidget.hpp>

Inheritance diagram for CppWidget:
Inheritance graph
[legend]

Public Member Functions

 CppWidget (GWEN_WIDGET *w)
 
GWEN_WIDGETgetCInterface ()
 
int getColumns ()
 
CppDialoggetDialog ()
 
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 CppWidgetgetWidget (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
 

Detailed Description

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.

Author
Martin Preussmarti.nosp@m.n@aq.nosp@m.uaman.nosp@m.iac..nosp@m.de

Definition at line 32 of file cppwidget.hpp.

Constructor & Destructor Documentation

◆ CppWidget() [1/2]

◆ ~CppWidget()

~CppWidget ( )
virtual

Definition at line 148 of file cppwidget.cpp.

References _widget, and GWEN_INHERIT_UNLINK.

◆ CppWidget() [2/2]

CppWidget ( )
protected

Definition at line 127 of file cppwidget.cpp.

Member Function Documentation

◆ addChildGuiWidget()

int addChildGuiWidget ( GWEN_WIDGET wChild)
protectedvirtual

◆ getCharProperty()

const char * getCharProperty ( GWEN_DIALOG_PROPERTY  prop,
int  index,
const char *  defaultValue 
)
protectedvirtual

◆ getCInterface()

GWEN_WIDGET * getCInterface ( )

Definition at line 156 of file cppwidget.cpp.

References _widget.

Referenced by QT5_GuiDialog::setupTree(), and QT4_GuiDialog::setupTree().

Here is the caller graph for this function:

◆ getColumns()

int getColumns ( )

Definition at line 253 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetColumns().

Here is the call graph for this function:

◆ getDialog()

CppDialog * getDialog ( )

◆ getFlags()

uint32_t getFlags ( )

Definition at line 265 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetFlags().

Here is the call graph for this function:

◆ getGroupId()

int getGroupId ( )

Definition at line 271 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetGroupId().

Here is the call graph for this function:

◆ getHeight()

int getHeight ( )

Definition at line 283 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetHeight().

Here is the call graph for this function:

◆ getIconFileName()

const char * getIconFileName ( )

Definition at line 295 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetIconFileName().

Here is the call graph for this function:

◆ getImageFileName()

const char * getImageFileName ( )

Definition at line 301 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetImageFileName().

Here is the call graph for this function:

◆ getIntProperty()

int getIntProperty ( GWEN_DIALOG_PROPERTY  prop,
int  index,
int  defaultValue 
)
protectedvirtual

◆ getName()

const char * getName ( )

Definition at line 241 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetName().

Here is the call graph for this function:

◆ getRows()

int getRows ( )

Definition at line 259 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetRows().

Here is the call graph for this function:

◆ getText()

const char * getText ( int  idx)

Definition at line 289 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetText().

Here is the call graph for this function:

◆ getType()

GWEN_WIDGET_TYPE getType ( )

Definition at line 247 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetType().

Here is the call graph for this function:

◆ getWidget()

CppWidget * getWidget ( GWEN_WIDGET w)
static

Definition at line 162 of file cppwidget.cpp.

References GWEN_INHERIT_GETDATA.

◆ getWidth()

int getWidth ( )

Definition at line 277 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetWidth().

Here is the call graph for this function:

◆ setCharProperty()

int setCharProperty ( GWEN_DIALOG_PROPERTY  prop,
int  index,
const char *  value,
int  doSignal 
)
protectedvirtual

◆ setIntProperty()

int setIntProperty ( GWEN_DIALOG_PROPERTY  prop,
int  index,
int  value,
int  doSignal 
)
protectedvirtual

Friends And Related Function Documentation

◆ CppWidgetLinker

friend class CppWidgetLinker
friend

Definition at line 33 of file cppwidget.hpp.

Field Documentation

◆ _widget

GWEN_WIDGET* _widget
protected

Definition at line 66 of file cppwidget.hpp.

Referenced by Qt5_W_Dialog::addChildGuiWidget(), Qt4_W_TabBook::addChildGuiWidget(), Qt5_W_TabBook::addChildGuiWidget(), Qt4_W_Dialog::addChildGuiWidget(), Qt4_W_VLayout::addChildGuiWidget(), Qt5_W_VLayout::addChildGuiWidget(), Qt5_W_GridLayout::addChildGuiWidget(), Qt4_W_HLayout::addChildGuiWidget(), Qt4_W_GridLayout::addChildGuiWidget(), Qt5_W_HLayout::addChildGuiWidget(), Qt4_W_GroupBox::addChildGuiWidget(), Qt4_W_ScrollArea::addChildGuiWidget(), Qt5_W_ScrollArea::addChildGuiWidget(), Qt5_W_GroupBox::addChildGuiWidget(), addChildGuiWidget(), Qt4_W_WidgetStack::addChildGuiWidget(), Qt5_W_WidgetStack::addChildGuiWidget(), CppWidget(), getCharProperty(), Qt4_W_Label::getCharProperty(), Qt5_W_Label::getCharProperty(), Qt4_W_PushButton::getCharProperty(), Qt5_W_PushButton::getCharProperty(), Qt4_W_TextEdit::getCharProperty(), Qt5_W_Dialog::getCharProperty(), Qt5_W_TextEdit::getCharProperty(), Qt4_W_Dialog::getCharProperty(), Qt4_W_LineEdit::getCharProperty(), Qt5_W_LineEdit::getCharProperty(), Qt4_W_CheckBox::getCharProperty(), Qt4_W_RadioButton::getCharProperty(), Qt5_W_RadioButton::getCharProperty(), Qt5_W_CheckBox::getCharProperty(), Qt4_W_ComboBox::getCharProperty(), Qt5_W_ComboBox::getCharProperty(), Qt4_W_Widget::getCharProperty(), Qt5_W_Widget::getCharProperty(), Qt4_W_ListBox::getCharProperty(), Qt5_W_ListBox::getCharProperty(), getCInterface(), getColumns(), getDialog(), getFlags(), getGroupId(), getHeight(), getIconFileName(), getImageFileName(), Qt4_W_WidgetStack::getIntProperty(), Qt5_W_WidgetStack::getIntProperty(), getIntProperty(), Qt4_W_ProgressBar::getIntProperty(), Qt5_W_ProgressBar::getIntProperty(), Qt4_W_CheckBox::getIntProperty(), Qt4_W_RadioButton::getIntProperty(), Qt5_W_RadioButton::getIntProperty(), Qt5_W_CheckBox::getIntProperty(), Qt4_W_ComboBox::getIntProperty(), Qt5_W_ComboBox::getIntProperty(), Qt4_W_SpinBox::getIntProperty(), Qt5_W_SpinBox::getIntProperty(), Qt4_W_Widget::getIntProperty(), Qt5_W_Widget::getIntProperty(), Qt5_W_ListBox::getIntProperty(), Qt4_W_ListBox::getIntProperty(), getName(), getRows(), getText(), getType(), getWidth(), Qt4_W_Label::setCharProperty(), Qt5_W_Label::setCharProperty(), Qt4_W_TextBrowser::setCharProperty(), Qt5_W_TextBrowser::setCharProperty(), Qt4_W_PushButton::setCharProperty(), Qt5_W_PushButton::setCharProperty(), Qt4_W_TextEdit::setCharProperty(), Qt5_W_TextEdit::setCharProperty(), Qt5_W_Dialog::setCharProperty(), Qt5_W_LineEdit::setCharProperty(), Qt4_W_LineEdit::setCharProperty(), setCharProperty(), Qt4_W_Dialog::setCharProperty(), Qt4_W_CheckBox::setCharProperty(), Qt4_W_RadioButton::setCharProperty(), Qt5_W_RadioButton::setCharProperty(), Qt5_W_CheckBox::setCharProperty(), Qt4_W_ComboBox::setCharProperty(), Qt5_W_ComboBox::setCharProperty(), Qt4_W_Widget::setCharProperty(), Qt5_W_Widget::setCharProperty(), Qt4_W_ListBox::setCharProperty(), Qt5_W_ListBox::setCharProperty(), Qt5_W_WidgetStack::setIntProperty(), Qt4_W_WidgetStack::setIntProperty(), Qt4_W_ProgressBar::setIntProperty(), Qt5_W_ProgressBar::setIntProperty(), Qt4_W_SpinBox::setIntProperty(), Qt5_W_SpinBox::setIntProperty(), Qt4_W_ComboBox::setIntProperty(), Qt5_W_ComboBox::setIntProperty(), Qt5_W_Widget::setIntProperty(), Qt4_W_Widget::setIntProperty(), Qt4_W_ListBox::setIntProperty(), Qt5_W_ListBox::setIntProperty(), Qt4_W_CheckBox::setIntProperty(), Qt4_W_RadioButton::setIntProperty(), Qt5_W_RadioButton::setIntProperty(), Qt5_W_CheckBox::setIntProperty(), setIntProperty(), Qt5_W_Dialog::setup(), Qt5_W_HLine::setup(), Qt4_W_ProgressBar::setup(), Qt5_W_PushButton::setup(), Qt4_W_Widget::setup(), Qt5_W_CheckBox::setup(), Qt5_W_ProgressBar::setup(), Qt5_W_ScrollArea::setup(), Qt4_W_SpinBox::setup(), Qt4_W_TextBrowser::setup(), Qt4_W_GridLayout::setup(), Qt5_W_ComboBox::setup(), Qt5_W_HLayout::setup(), Qt5_W_WidgetStack::setup(), Qt5_W_SpinBox::setup(), Qt4_W_VLine::setup(), Qt4_W_CheckBox::setup(), Qt5_W_GroupBox::setup(), Qt5_W_LineEdit::setup(), Qt4_W_LineEdit::setup(), Qt5_W_RadioButton::setup(), Qt4_W_PushButton::setup(), Qt5_W_GridLayout::setup(), Qt4_W_ScrollArea::setup(), Qt5_W_Widget::setup(), Qt5_W_TabBook::setup(), Qt5_W_TextEdit::setup(), Qt4_W_Dialog::setup(), Qt4_W_TextEdit::setup(), Qt4_W_HLine::setup(), Qt4_W_RadioButton::setup(), Qt5_W_VLine::setup(), Qt4_W_ComboBox::setup(), Qt5_W_TextBrowser::setup(), Qt4_W_VLayout::setup(), Qt4_W_Label::setup(), Qt4_W_GroupBox::setup(), Qt5_W_ListBox::setup(), Qt4_W_HLayout::setup(), Qt5_W_Label::setup(), Qt5_W_VLayout::setup(), Qt4_W_ListBox::setup(), Qt4_W_TabBook::setup(), Qt4_W_WidgetStack::setup(), and ~CppWidget().


The documentation for this class was generated from the following files: