gwenhywfar  4.6.0beta
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:
Qt4_W_Widget Qt4_W_CheckBox Qt4_W_ComboBox Qt4_W_Dialog Qt4_W_GridLayout Qt4_W_GroupBox Qt4_W_HLayout Qt4_W_HLine Qt4_W_Label Qt4_W_LineEdit Qt4_W_ListBox Qt4_W_ProgressBar Qt4_W_PushButton Qt4_W_RadioButton Qt4_W_ScrollArea Qt4_W_SpinBox Qt4_W_TabBook Qt4_W_TextBrowser Qt4_W_TextEdit Qt4_W_VLayout Qt4_W_VLine Qt4_W_WidgetStack

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 ( )
virtual

Definition at line 150 of file cppwidget.cpp.

References _widget, and GWEN_INHERIT_UNLINK.

CppWidget ( )
protected

Definition at line 127 of file cppwidget.cpp.

Member Function Documentation

int addChildGuiWidget ( GWEN_WIDGET wChild)
protectedvirtual
const char * getCharProperty ( GWEN_DIALOG_PROPERTY  prop,
int  index,
const char *  defaultValue 
)
protectedvirtual
GWEN_WIDGET * getCInterface ( )

Definition at line 158 of file cppwidget.cpp.

References _widget.

Referenced by QT4_GuiDialog::setupTree().

int getColumns ( )

Definition at line 255 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetColumns().

CppDialog * getDialog ( )
uint32_t getFlags ( )

Definition at line 267 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetFlags().

int getGroupId ( )

Definition at line 273 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetGroupId().

int getHeight ( )

Definition at line 285 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetHeight().

const char * getIconFileName ( )

Definition at line 297 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetIconFileName().

const char * getImageFileName ( )

Definition at line 303 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetImageFileName().

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

Definition at line 243 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetName().

int getRows ( )

Definition at line 261 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetRows().

const char * getText ( int  idx)

Definition at line 291 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetText().

GWEN_WIDGET_TYPE getType ( )

Definition at line 249 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetType().

CppWidget * getWidget ( GWEN_WIDGET w)
static

Definition at line 164 of file cppwidget.cpp.

References GWEN_INHERIT_GETDATA.

int getWidth ( )

Definition at line 279 of file cppwidget.cpp.

References _widget, and GWEN_Widget_GetWidth().

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

Friends And Related Function Documentation

friend class CppWidgetLinker
friend

Definition at line 33 of file cppwidget.hpp.

Field Documentation

GWEN_WIDGET* _widget
protected

Definition at line 66 of file cppwidget.hpp.

Referenced by Qt4_W_TabBook::addChildGuiWidget(), Qt4_W_Dialog::addChildGuiWidget(), Qt4_W_GridLayout::addChildGuiWidget(), Qt4_W_VLayout::addChildGuiWidget(), Qt4_W_HLayout::addChildGuiWidget(), Qt4_W_GroupBox::addChildGuiWidget(), Qt4_W_ScrollArea::addChildGuiWidget(), addChildGuiWidget(), Qt4_W_WidgetStack::addChildGuiWidget(), CppWidget(), getCharProperty(), Qt4_W_Label::getCharProperty(), Qt4_W_PushButton::getCharProperty(), Qt4_W_TextEdit::getCharProperty(), Qt4_W_Dialog::getCharProperty(), Qt4_W_LineEdit::getCharProperty(), Qt4_W_CheckBox::getCharProperty(), Qt4_W_RadioButton::getCharProperty(), Qt4_W_ComboBox::getCharProperty(), Qt4_W_Widget::getCharProperty(), Qt4_W_ListBox::getCharProperty(), getCInterface(), getColumns(), getDialog(), getFlags(), getGroupId(), getHeight(), getIconFileName(), getImageFileName(), Qt4_W_WidgetStack::getIntProperty(), getIntProperty(), Qt4_W_ProgressBar::getIntProperty(), Qt4_W_CheckBox::getIntProperty(), Qt4_W_RadioButton::getIntProperty(), Qt4_W_ComboBox::getIntProperty(), Qt4_W_SpinBox::getIntProperty(), Qt4_W_Widget::getIntProperty(), Qt4_W_ListBox::getIntProperty(), getName(), getRows(), getText(), getType(), getWidth(), Qt4_W_TextBrowser::setCharProperty(), Qt4_W_Label::setCharProperty(), Qt4_W_PushButton::setCharProperty(), Qt4_W_TextEdit::setCharProperty(), Qt4_W_LineEdit::setCharProperty(), setCharProperty(), Qt4_W_Dialog::setCharProperty(), Qt4_W_CheckBox::setCharProperty(), Qt4_W_RadioButton::setCharProperty(), Qt4_W_ComboBox::setCharProperty(), Qt4_W_Widget::setCharProperty(), Qt4_W_ListBox::setCharProperty(), Qt4_W_WidgetStack::setIntProperty(), Qt4_W_ProgressBar::setIntProperty(), Qt4_W_SpinBox::setIntProperty(), Qt4_W_ComboBox::setIntProperty(), Qt4_W_Widget::setIntProperty(), Qt4_W_CheckBox::setIntProperty(), Qt4_W_ListBox::setIntProperty(), Qt4_W_RadioButton::setIntProperty(), setIntProperty(), Qt4_W_TextBrowser::setup(), Qt4_W_ListBox::setup(), Qt4_W_CheckBox::setup(), Qt4_W_ProgressBar::setup(), Qt4_W_RadioButton::setup(), Qt4_W_ComboBox::setup(), Qt4_W_SpinBox::setup(), Qt4_W_GroupBox::setup(), Qt4_W_GridLayout::setup(), Qt4_W_PushButton::setup(), Qt4_W_HLine::setup(), Qt4_W_WidgetStack::setup(), Qt4_W_Dialog::setup(), Qt4_W_TabBook::setup(), Qt4_W_TextEdit::setup(), Qt4_W_LineEdit::setup(), Qt4_W_HLayout::setup(), Qt4_W_ScrollArea::setup(), Qt4_W_Label::setup(), Qt4_W_Widget::setup(), Qt4_W_VLine::setup(), Qt4_W_VLayout::setup(), and ~CppWidget().


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