11 #include <gwen-gui-cpp/cppwidget.hpp> 30 QSizePolicy::Policy hpolicy=QSizePolicy::Minimum;
31 QSizePolicy::Policy vpolicy=QSizePolicy::Minimum;
37 wParent=GWEN_Widget_Tree_GetParent(
_widget);
40 text=QString::fromUtf8(s);
42 qw=
new QTextEdit(text);
46 hpolicy=QSizePolicy::Expanding;
48 vpolicy=QSizePolicy::Expanding;
49 qw->setSizePolicy(hpolicy, vpolicy);
56 qw->connect(qw, SIGNAL(returnPressed()),
58 SLOT(slotActivated()));
79 text=QString::fromUtf8(value);
90 "Function is not appropriate for this type of widget (%s)",
99 const char *defaultValue) {
108 str=qw->toPlainText();
122 "Function is not appropriate for this type of widget (%s)",
const char * getCharProperty(GWEN_DIALOG_PROPERTY prop, int index, const char *defaultValue)
Qt4_W_TextEdit(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 QT4_DIALOG_STRING_TITLE
#define GWEN_WIDGET_FLAGS_FILLY
#define GWEN_WIDGET_FLAGS_FILLX
#define QT4_DIALOG_WIDGET_REAL
QT4_DialogBox * getMainWindow()