45 const QString& description,
47 const char *changed_slot,
49 :
BoolProperty( name, default_value, description, parent, changed_slot, receiver )
102 return Qt::ItemIsSelectable;
virtual bool setValue(const QVariant &new_value)
Set the new value for this property. Returns true if the new value is different from the old value...
virtual bool getBool() const
A single element of a property tree, with a name, value, description, and possibly children...
virtual void setName(const QString &name)
Set the name.
DisplayVisibilityProperty(uint32_t vis_bit, Display *display, const QString &name=QString(), bool default_value=false, const QString &description=QString(), Property *parent=0, const char *changed_slot=0, QObject *receiver=0)
void unsetVisibilityBits(uint32_t bits)
bool isEnabled() const
Return true if this Display is enabled, false if not.
virtual bool getBool() const
virtual ~DisplayVisibilityProperty()
virtual bool setValue(const QVariant &new_value)
Qt::ItemFlags getViewFlags(int column) const
Return item flags appropriate for the given column (0 or 1) for this Property.
void setVisibilityBits(uint32_t bits)
Property specialized to provide getter for booleans.
virtual QString getName() const
Return the name of this Property as a QString.
virtual Qt::ItemFlags getViewFlags(int column) const
Return item flags appropriate for the given column (0 or 1) for this Property.