27 QSizePolicy::Policy hpolicy=QSizePolicy::Minimum;
28 QSizePolicy::Policy vpolicy=QSizePolicy::Minimum;
34 wParent=GWEN_Widget_Tree_GetParent(
_widget);
37 text=QString::fromUtf8(s);
39 qw=
new QTextEdit(text);
43 hpolicy=QSizePolicy::Expanding;
45 vpolicy=QSizePolicy::Expanding;
46 qw->setSizePolicy(hpolicy, vpolicy);
59 qw->connect(qw, SIGNAL(returnPressed()),
60 qtDialog->getMainWindow(),
61 SLOT(slotActivated()));
82 text=QString::fromUtf8(value);
93 "Function is not appropriate for this type of widget (%s)",
102 const char *defaultValue) {
111 str=qw->toPlainText();
125 "Function is not appropriate for this type of widget (%s)",
int setCharProperty(GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, const char *value, GWEN_UNUSED int doSignal)
#define GWEN_ERROR_INVALID
Qt5_W_TextEdit(GWEN_WIDGET *w)
#define DBG_WARN(dbg_logger, format,...)
#define GWEN_WIDGET_FLAGS_FILLY
#define GWEN_WIDGET_FLAGS_FILLX
#define QT5_DIALOG_STRING_TITLE
const char * getCharProperty(GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, const char *defaultValue)
#define QT5_DIALOG_WIDGET_REAL