Berkeley Nuclear Data Software
Public Slots | Public Member Functions | Protected Member Functions | Properties | List of all members
LightWidget Class Reference

#include <LightWidget.h>

Inheritance diagram for LightWidget:
Inheritance graph
[legend]
Collaboration diagram for LightWidget:
Collaboration graph
[legend]

Public Slots

void turnOff ()
 
void turnOn ()
 

Public Member Functions

 LightWidget (const QColor &color, QWidget *parent=0)
 
bool isOn () const
 
void setOn (bool on)
 

Protected Member Functions

void paintEvent (QPaintEvent *) override
 

Properties

bool on
 

Constructor & Destructor Documentation

◆ LightWidget()

LightWidget::LightWidget ( const QColor &  color,
QWidget *  parent = 0 
)
inline

Member Function Documentation

◆ isOn()

bool LightWidget::isOn ( ) const
inline

◆ paintEvent()

void LightWidget::paintEvent ( QPaintEvent *  )
inlineoverrideprotected

◆ setOn()

void LightWidget::setOn ( bool  on)
inline
Here is the caller graph for this function:

◆ turnOff

void LightWidget::turnOff ( )
inlineslot
Here is the call graph for this function:

◆ turnOn

void LightWidget::turnOn ( )
inlineslot
Here is the call graph for this function:
Here is the caller graph for this function:

Property Documentation

◆ on

bool LightWidget::on
readwrite

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