Go to the documentation of this file.
   29 #ifndef STATUSPROPERTY_H 
   30 #define STATUSPROPERTY_H 
   52   bool setValue(
const QVariant& new_value) 
override;
 
   57   QVariant 
getViewData(
int column, 
int role) 
const override;
 
   91 #endif // STATUSPROPERTY_H 
  
static QString status_words_[3]
StatusProperty(const QString &name, const QString &text, Level level, Property *parent)
bool setValue(const QVariant &new_value) override
Set the status text. Overridden from Property.
A single element of a property tree, with a name, value, description, and possibly children.
static QColor statusColor(Level level)
Return the color appropriate for the given status level.
virtual Level getLevel() const
QVariant getViewData(int column, int role) const override
Return data appropriate for the given column (0 or 1) and role for this StatusProperty.
virtual void setLevel(Level level)
static QColor status_colors_[3]
static QString statusWord(Level level)
Return the word appropriate for the given status level: "Ok", "Warn", or "Error".
StatusProperty::Level StatusLevel
Qt::ItemFlags getViewFlags(int column) const override
Return item flags appropriate for the given column (0 or 1) for this StatusProperty.
QIcon statusIcon(Level level) const
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall 
autogenerated on Sun May 4 2025 02:31:26