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 QLineEdit(text);
43 hpolicy=QSizePolicy::Expanding;
45 vpolicy=QSizePolicy::Expanding;
46 qw->setSizePolicy(hpolicy, vpolicy);
50 qw->setEchoMode(QLineEdit::Password);
52 qw->setEchoMode(QLineEdit::Normal);
59 qw->connect(qw, SIGNAL(returnPressed()),
61 SLOT(slotActivated()));
63 qw->connect(qw, SIGNAL(textChanged(
const QString&)),
65 SLOT(slotValueChanged()));
86 text=QString::fromUtf8(value);
97 "Function is not appropriate for this type of widget (%s)",
106 const char *defaultValue) {
129 "Function is not appropriate for this type of widget (%s)",
#define GWEN_ERROR_INVALID
int setCharProperty(GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, const char *value, GWEN_UNUSED int doSignal)
Qt5_W_LineEdit(GWEN_WIDGET *w)
#define GWEN_WIDGET_FLAGS_READONLY
#define DBG_WARN(dbg_logger, format,...)
const char * getCharProperty(GWEN_DIALOG_PROPERTY prop, GWEN_UNUSED int index, const char *defaultValue)
#define GWEN_WIDGET_FLAGS_PASSWORD
#define GWEN_WIDGET_FLAGS_FILLY
QT5_DialogBox * getMainWindow()
#define GWEN_WIDGET_FLAGS_FILLX
#define QT5_DIALOG_STRING_TITLE
#define QT5_DIALOG_WIDGET_REAL