11#include <gwen-gui-cpp/cppwidget.hpp>
30 QSizePolicy::Policy hpolicy=QSizePolicy::Minimum;
31 QSizePolicy::Policy vpolicy=QSizePolicy::Minimum;
34 wParent=GWEN_Widget_Tree_GetParent(
_widget);
40 hpolicy=QSizePolicy::Expanding;
42 vpolicy=QSizePolicy::Expanding;
43 qw->setSizePolicy(hpolicy, vpolicy);
76 qw->resize(value, qw->height());
80 qw->resize(qw->width(), value);
84 qw->setEnabled((value==0)?
false:
true);
103 "Function is not appropriate for this type of widget (%s)",
126 return (qw->isEnabled())?1:0;
129 return (qw->hasFocus())?1:0;
136 "Function is not appropriate for this type of widget (%s)",
148 "Function is not appropriate for this type of widget (%s)",
157 const char *defaultValue) {
159 "Function is not appropriate for this type of widget (%s)",
#define DBG_WARN(dbg_logger, format,...)
#define GWEN_WIDGET_FLAGS_FILLY
#define GWEN_WIDGET_FLAGS_FILLX
@ GWEN_DialogProperty_Visibility
@ GWEN_DialogProperty_Height
@ GWEN_DialogProperty_Enabled
@ GWEN_DialogProperty_Focus
@ GWEN_DialogProperty_Width
#define GWEN_ERROR_INVALID
#define QT5_DIALOG_WIDGET_REAL
#define QT5_DIALOG_WIDGET_CONTENT