38 const QString& description,
40 const char* changed_slot,
42 :
Property(name, default_value, description, parent, changed_slot, receiver)
43 , disable_children_if_false_(false)
bool disable_children_if_false_
void setDisableChildrenIfFalse(bool disable)
A single element of a property tree, with a name, value, description, and possibly children...
virtual bool getDisableChildren()
If true, the children of this property should set their ItemIsEnabled flag to false.
bool getDisableChildren() override
If true, the children of this property should set their ItemIsEnabled flag to false.
BoolProperty(const QString &name=QString(), bool default_value=false, const QString &description=QString(), Property *parent=nullptr, const char *changed_slot=nullptr, QObject *receiver=nullptr)
bool getDisableChildrenIfFalse()
virtual QVariant getValue() const
Return the value of this Property as a QVariant. If the value has never been set, an invalid QVariant...
virtual bool getBool() const