Public Member Functions | Private Attributes | List of all members
rqt_rosmon::BarDelegate Class Reference

#include <bar_delegate.h>

Inheritance diagram for rqt_rosmon::BarDelegate:
Inheritance graph
[legend]

Public Member Functions

 BarDelegate (QObject *parent=0)
 
virtual void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
void setRange (double min, double max)
 
 ~BarDelegate () override=default
 

Private Attributes

double m_max
 
double m_min
 

Detailed Description

Definition at line 12 of file bar_delegate.h.

Constructor & Destructor Documentation

rqt_rosmon::BarDelegate::BarDelegate ( QObject *  parent = 0)
explicit

Definition at line 11 of file bar_delegate.cpp.

rqt_rosmon::BarDelegate::~BarDelegate ( )
overridedefault

Member Function Documentation

void rqt_rosmon::BarDelegate::paint ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
overridevirtual

Definition at line 24 of file bar_delegate.cpp.

void rqt_rosmon::BarDelegate::setRange ( double  min,
double  max 
)

Definition at line 18 of file bar_delegate.cpp.

Member Data Documentation

double rqt_rosmon::BarDelegate::m_max
private

Definition at line 23 of file bar_delegate.h.

double rqt_rosmon::BarDelegate::m_min
private

Definition at line 22 of file bar_delegate.h.


The documentation for this class was generated from the following files:


rqt_rosmon
Author(s): Max Schwarz
autogenerated on Wed Jul 10 2019 03:10:15