QVisu
Qt-based visualization for smart homes
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
QVSwitchIcon Class Reference
Inheritance diagram for QVSwitchIcon:
QVIconWidget

Public Slots

void setStatus (bool)
 
- Public Slots inherited from QVIconWidget
void load (const QByteArray &)
 
void setPathStyle (QString property, QString value, QString id="", bool force_insert=false)
 
void preserveAspectRatio (bool)
 

Public Member Functions

 QVSwitchIcon (QDomElement e_item, QWidget *parent)
 
 QVSwitchIcon (QString icon_file, QString color, QString active_color, QString s_color_mode, QWidget *parent)
 
void setColorMode (int)
 
QSize defaultSize () const
 
QSize sizeHint () const
 
- Public Member Functions inherited from QVIconWidget
 QVIconWidget (QWidget *parent=0)
 
 QVIconWidget (QString file, QWidget *parent=0)
 
QSize defaultSize () const
 
float aspectRatio () const
 
void resizeEvent (QResizeEvent *)
 
void mousePressEvent (QMouseEvent *)
 

Static Public Attributes

static const int ColorModeReplace = 0
 
static const int ColorModeStroke = 1
 
static const int ColorModeFill = 2
 
static const int ColorModeAll = 3
 

Additional Inherited Members

- Signals inherited from QVIconWidget
void clicked (double xrel, double yrel)
 
void dragged (double xrel, double yrel)
 
void released (double xrel, double yrel)
 

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