11#include <gwen-gui-cpp/cppwidget.hpp>
30 QSizePolicy::Policy hpolicy=QSizePolicy::Minimum;
31 QSizePolicy::Policy vpolicy=QSizePolicy::Minimum;
35 wParent=GWEN_Widget_Tree_GetParent(
_widget);
41 hpolicy=QSizePolicy::Expanding;
43 vpolicy=QSizePolicy::Expanding;
44 qw->setSizePolicy(hpolicy, vpolicy);
52 qw->connect(qw, SIGNAL(activated(
int)),
54 SLOT(slotActivated()));
75 qw->setCurrentIndex(value);
99 return qw->currentIndex();
122 text=QString::fromUtf8(value);
141 "Function is not appropriate for this type of widget (%s)",
150 const char *defaultValue) {
159 str=qw->itemText(index);
173 "Function is not appropriate for this type of widget (%s)",
QT5_DialogBox * getMainWindow()
Qt5_W_ComboBox(GWEN_WIDGET *w)
int setIntProperty(GWEN_DIALOG_PROPERTY prop, int index, int value, int doSignal)
const char * getCharProperty(GWEN_DIALOG_PROPERTY prop, int index, const char *defaultValue)
int getIntProperty(GWEN_DIALOG_PROPERTY prop, int index, int defaultValue)
int setCharProperty(GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, const char *value, GWEN_UNUSED int doSignal)
#define DBG_WARN(dbg_logger, format, args...)
#define GWEN_WIDGET_FLAGS_FILLY
#define GWEN_WIDGET_FLAGS_FILLX
#define GWEN_WIDGET_FLAGS_READONLY
@ GWEN_DialogProperty_AddValue
@ GWEN_DialogProperty_ValueCount
@ GWEN_DialogProperty_ClearValues
@ GWEN_DialogProperty_Value
#define GWEN_ERROR_INVALID
#define QT5_DIALOG_STRING_TITLE
#define QT5_DIALOG_WIDGET_REAL