11#include <gwen-gui-cpp/cppwidget.hpp>
31 QSizePolicy::Policy hpolicy=QSizePolicy::Minimum;
32 QSizePolicy::Policy vpolicy=QSizePolicy::Minimum;
35 wParent=GWEN_Widget_Tree_GetParent(
_widget);
38 qLayout=
new QVBoxLayout(qw);
42 hpolicy=QSizePolicy::Expanding;
44 vpolicy=QSizePolicy::Expanding;
45 qw->setSizePolicy(hpolicy, vpolicy);
72 qChild->setParent(qw);
73 qLayout->addWidget(qChild);
91 qw->setWindowTitle(QString::fromUtf8(value));
98 "Function is not appropriate for this type of widget (%s)",
107 const char *defaultValue) {
116 str=qw->windowTitle();
130 "Function is not appropriate for this type of widget (%s)",
Qt4_W_Dialog(GWEN_WIDGET *w)
const char * getCharProperty(GWEN_DIALOG_PROPERTY prop, int index, const char *defaultValue)
int addChildGuiWidget(GWEN_WIDGET *wChild)
int setCharProperty(GWEN_DIALOG_PROPERTY prop, int index, const char *value, int doSignal)
#define DBG_WARN(dbg_logger, format,...)
#define GWEN_WIDGET_FLAGS_FILLY
#define GWEN_WIDGET_FLAGS_FILLX
@ GWEN_DialogProperty_Title
#define GWEN_ERROR_INVALID
#define QT4_DIALOG_WIDGET_REAL
#define QT4_DIALOG_STRING_TITLE
#define QT4_DIALOG_WIDGET_LAYOUT