Public Types | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes
rqt_multiplot::StatusWidget Class Reference

#include <StatusWidget.h>

List of all members.

Public Types

enum  Role { Okay, Error, Busy }

Signals

void currentRoleChanged (Role role)

Public Member Functions

Role getCurrentRole () const
double getFrameRate (Role role) const
const QList< QPixmap > & getFrames (Role role) const
const QPixmap & getIcon (Role role) const
bool popCurrentRole ()
void pushCurrentRole ()
void setCurrentRole (Role role, const QString &toolTip=QString())
void setFrameRate (Role role, double frameRate)
void setFrames (Role role, const QPixmap &frames, size_t numFrames, double frameRate=10.0)
void setFrames (Role role, const QList< QPixmap > &frameList, double frameRate=10.0)
void setIcon (Role role, const QPixmap &icon)
 StatusWidget (QWidget *parent=0, Role role=Okay)
virtual ~StatusWidget ()

Private Slots

void timerTimeout ()

Private Member Functions

void start ()
void step ()
void stop ()

Private Attributes

size_t currentFrame_
Role currentRole_
QMap< Role, double > frameRates_
QMap< Role, QList< QPixmap > > frames_
QLabel * labelIcon_
QGridLayout * layout_
QList< RoleroleStack_
QTimer * timer_
QList< QString > toolTipStack_

Detailed Description

Definition at line 32 of file StatusWidget.h.


Member Enumeration Documentation

Enumerator:
Okay 
Error 
Busy 

Definition at line 36 of file StatusWidget.h.


Constructor & Destructor Documentation

rqt_multiplot::StatusWidget::StatusWidget ( QWidget *  parent = 0,
Role  role = Okay 
)

Definition at line 27 of file StatusWidget.cpp.

Definition at line 50 of file StatusWidget.cpp.


Member Function Documentation

Definition at line 143 of file StatusWidget.cpp.

Definition at line 124 of file StatusWidget.cpp.

const QList< QPixmap > & rqt_multiplot::StatusWidget::getFrames ( Role  role) const

Definition at line 100 of file StatusWidget.cpp.

const QPixmap & rqt_multiplot::StatusWidget::getIcon ( Role  role) const

Definition at line 61 of file StatusWidget.cpp.

Definition at line 156 of file StatusWidget.cpp.

Definition at line 151 of file StatusWidget.cpp.

void rqt_multiplot::StatusWidget::setCurrentRole ( Role  role,
const QString &  toolTip = QString() 
)

Definition at line 128 of file StatusWidget.cpp.

void rqt_multiplot::StatusWidget::setFrameRate ( Role  role,
double  frameRate 
)

Definition at line 111 of file StatusWidget.cpp.

void rqt_multiplot::StatusWidget::setFrames ( Role  role,
const QPixmap &  frames,
size_t  numFrames,
double  frameRate = 10.0 
)

Definition at line 70 of file StatusWidget.cpp.

void rqt_multiplot::StatusWidget::setFrames ( Role  role,
const QList< QPixmap > &  frameList,
double  frameRate = 10.0 
)

Definition at line 84 of file StatusWidget.cpp.

void rqt_multiplot::StatusWidget::setIcon ( Role  role,
const QPixmap &  icon 
)

Definition at line 57 of file StatusWidget.cpp.

Definition at line 169 of file StatusWidget.cpp.

Definition at line 183 of file StatusWidget.cpp.

Definition at line 193 of file StatusWidget.cpp.

Definition at line 202 of file StatusWidget.cpp.


Member Data Documentation

Definition at line 74 of file StatusWidget.h.

Definition at line 73 of file StatusWidget.h.

Definition at line 69 of file StatusWidget.h.

QMap<Role, QList<QPixmap> > rqt_multiplot::StatusWidget::frames_ [private]

Definition at line 68 of file StatusWidget.h.

Definition at line 65 of file StatusWidget.h.

QGridLayout* rqt_multiplot::StatusWidget::layout_ [private]

Definition at line 64 of file StatusWidget.h.

Definition at line 70 of file StatusWidget.h.

Definition at line 66 of file StatusWidget.h.

Definition at line 71 of file StatusWidget.h.


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


rqt_multiplot
Author(s): Ralf Kaestner
autogenerated on Thu Jun 6 2019 21:49:11