added auto resizing input & settings
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user