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)",
Qt4_W_ComboBox(GWEN_WIDGET *w)
#define GWEN_ERROR_INVALID
int setCharProperty(GWEN_DIALOG_PROPERTY prop, int index, const char *value, int doSignal)
#define DBG_WARN(dbg_logger, format, args...)
#define GWEN_WIDGET_FLAGS_READONLY
#define QT4_DIALOG_STRING_TITLE
#define GWEN_WIDGET_FLAGS_FILLY
#define GWEN_WIDGET_FLAGS_FILLX
int setIntProperty(GWEN_DIALOG_PROPERTY prop, int index, int value, int doSignal)
const char * getCharProperty(GWEN_DIALOG_PROPERTY prop, int index, const char *defaultValue)
#define QT4_DIALOG_WIDGET_REAL
int getIntProperty(GWEN_DIALOG_PROPERTY prop, int index, int defaultValue)
QT4_DialogBox * getMainWindow()