added auto resizing input & settings
This commit is contained in:
@@ -27,7 +27,13 @@ public:
|
||||
const QString &
|
||||
set(const QString &value)
|
||||
{
|
||||
return (this->value = value);
|
||||
this->value = value;
|
||||
|
||||
QString tmp = value;
|
||||
|
||||
emit valueChanged(tmp);
|
||||
|
||||
return this->value;
|
||||
}
|
||||
|
||||
void
|
||||
@@ -40,6 +46,9 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
signals:
|
||||
void valueChanged(const QString &value);
|
||||
|
||||
private:
|
||||
QString value;
|
||||
QString defaultValue;
|
||||
|
||||
Reference in New Issue
Block a user