added auto resizing input & settings

This commit is contained in:
fourtf
2017-01-21 05:14:27 +01:00
parent d215bd58b0
commit a114bd1204
12 changed files with 108 additions and 9 deletions
+8 -1
View File
@@ -26,7 +26,11 @@ public:
void
set(bool value)
{
this->value = value;
if (this->value != value) {
this->value = value;
emit valueChanged(value);
}
}
void
@@ -39,6 +43,9 @@ public:
{
}
signals:
void valueChanged(bool value);
private:
bool value;
bool defaultValue;