ifw-wdglib 1.1.0
Loading...
Searching...
No Matches
Public Slots | Public Member Functions | Protected Member Functions | Properties | List of all members
IfwLed Class Reference

#include <ifwled.hpp>

Inheritance diagram for IfwLed:

Public Slots

void setState (bool state)
 
void toggleState ()
 
void setFlashing (bool flashing)
 
void setFlashRate (int rate)
 
void startFlashing ()
 
void stopFlashing ()
 

Public Member Functions

 IfwLed (QWidget *parent=0)
 
 ~IfwLed ()
 
double diameter () const
 
void setDiameter (double diameter)
 
QColor color () const
 
void setColor (const QColor &color)
 
Qt::Alignment alignment () const
 
void setAlignment (Qt::Alignment alignment)
 
bool state () const
 
bool isFlashing () const
 
int flashRate () const
 
int heightForWidth (int width) const
 
QSize sizeHint () const
 
QSize minimumSizeHint () const
 

Protected Member Functions

void paintEvent (QPaintEvent *event)
 

Properties

double diameter
 
QColor color
 
Qt::Alignment alignment
 
bool state
 
bool flashing
 
int flashRate
 

Constructor & Destructor Documentation

◆ IfwLed()

IfwLed::IfwLed ( QWidget * parent = 0)
explicit

◆ ~IfwLed()

IfwLed::~IfwLed ( )

Member Function Documentation

◆ alignment()

Qt::Alignment IfwLed::alignment ( ) const

◆ color()

QColor IfwLed::color ( ) const

◆ diameter()

double IfwLed::diameter ( ) const

◆ flashRate()

int IfwLed::flashRate ( ) const

◆ heightForWidth()

int IfwLed::heightForWidth ( int width) const

◆ isFlashing()

bool IfwLed::isFlashing ( ) const

◆ minimumSizeHint()

QSize IfwLed::minimumSizeHint ( ) const

◆ paintEvent()

void IfwLed::paintEvent ( QPaintEvent * event)
protected

◆ setAlignment()

void IfwLed::setAlignment ( Qt::Alignment alignment)

◆ setColor()

void IfwLed::setColor ( const QColor & color)

◆ setDiameter()

void IfwLed::setDiameter ( double diameter)

◆ setFlashing

void IfwLed::setFlashing ( bool flashing)
slot

◆ setFlashRate

void IfwLed::setFlashRate ( int rate)
slot

◆ setState

void IfwLed::setState ( bool state)
slot

◆ sizeHint()

QSize IfwLed::sizeHint ( ) const

◆ startFlashing

void IfwLed::startFlashing ( )
slot

◆ state()

bool IfwLed::state ( ) const

◆ stopFlashing

void IfwLed::stopFlashing ( )
slot

◆ toggleState

void IfwLed::toggleState ( )
slot

Property Documentation

◆ alignment

Qt::Alignment IfwLed::alignment
readwrite

◆ color

QColor IfwLed::color
readwrite

◆ diameter

double IfwLed::diameter
readwrite

◆ flashing

bool IfwLed::flashing
readwrite

◆ flashRate

int IfwLed::flashRate
readwrite

◆ state

bool IfwLed::state
readwrite

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