45 #include <QHBoxLayout> 47 #include <QPushButton> 49 #include "stringWidget.hh" 66 QHBoxLayout *hL =
new QHBoxLayout;
68 line_ =
new QLineEdit;
70 if (_hints.contains (
"default"))
71 default_ = _hints[
"default"];
73 line_->setText (default_);
75 hL->addWidget (line_);
83 StringWidget::~ StringWidget()
92 return "\"" + line_->text () +
"\"";
100 if (_from.isEmpty ())
107 _from.remove (_from.length () - 1, 1);
109 line_->setText (_from);
117 line_->setText (default_);