30 #ifndef RVIZ_DISPLAY_VISIBILITY_PROPERTY_H_ 31 #define RVIZ_DISPLAY_VISIBILITY_PROPERTY_H_ 49 class DisplayVisibilityProperty;
61 const QString& name = QString(),
65 const char* changed_slot =
nullptr,
66 QObject* receiver =
nullptr);
78 bool setValue(
const QVariant& new_value)
override;
bool setValue(const QVariant &new_value) override
A single element of a property tree, with a name, value, description, and possibly children...
DisplayVisibilityProperty(uint32_t vis_bit, Display *display, const QString &name=QString(), bool default_value=false, const QString &description=QString(), Property *parent=nullptr, const char *changed_slot=nullptr, QObject *receiver=nullptr)
~DisplayVisibilityProperty() override
Qt::ItemFlags getViewFlags(int column) const override
Return item flags appropriate for the given column (0 or 1) for this Property.
Property specialized to provide getter for booleans.
bool getBool() const override