The main window of the BPLightContraption program.
More...
#include <triaclight.h>
|
void | OpenPort (void) |
| Called when the button to open the port is clicked. More...
|
|
void | ClosePort (void) |
| Called when the button to close the port is clicked. More...
|
|
void | ResetPort (void) |
| Called when the button to reset the port is clicked. More...
|
|
void | UpdateInfo (void) |
| Called when the button to force an update is pressed. More...
|
|
The main window of the BPLightContraption program.
Definition at line 25 of file triaclight.h.
BPLightContraption::BPLightContraption |
( |
QWidget * |
parent = 0 ) | |
|
|
explicit |
BPLightContraption::~BPLightContraption |
( |
) | |
|
void BPLightContraption::ClosePort |
( |
void |
) | |
|
|
privateslot |
Called when the button to close the port is clicked.
Definition at line 146 of file triaclight.cpp.
double BPLightContraption::Convert16BitValue |
( |
quint8 |
low, |
|
|
quint8 |
high |
|
) |
| |
|
private |
Converts two separate bytes into a 16 bit value.
Definition at line 169 of file triaclight.cpp.
double BPLightContraption::Display16BitValue |
( |
QLCDNumber * |
display, |
|
|
quint8 |
low, |
|
|
quint8 |
high |
|
) |
| |
|
private |
Converts two separate bytes into a 16 bit value and displays it on a QLCDNumber.
Definition at line 174 of file triaclight.cpp.
Displays a message box with exception information.
Definition at line 246 of file triaclight.cpp.
void BPLightContraption::OpenPort |
( |
void |
) | |
|
|
privateslot |
Called when the button to open the port is clicked.
Definition at line 105 of file triaclight.cpp.
void BPLightContraption::ResetPort |
( |
void |
) | |
|
|
privateslot |
Called when the button to reset the port is clicked.
Definition at line 160 of file triaclight.cpp.
void BPLightContraption::UpdateInfo |
( |
void |
) | |
|
|
privateslot |
Called when the button to force an update is pressed.
Definition at line 181 of file triaclight.cpp.
void BPLightContraption::ZeroDisplays |
( |
void |
) | |
|
|
private |
QStandardItemModel* BPLightContraption::dimmerData |
|
private |
Information about all the dimmers.
Definition at line 62 of file triaclight.h.
Microcontrollers used by this program.
Definition at line 56 of file triaclight.h.
Power units controlled by this program.
Definition at line 59 of file triaclight.h.
Ui::BPLightContraption* BPLightContraption::ui |
|
private |
QTimer* BPLightContraption::updatetimer |
|
private |
Used to refresh the information at certain intervals.
Definition at line 53 of file triaclight.h.
The documentation for this class was generated from the following files: