libpappsomspp
Library for mass spectrometry
|
#include <switchbuttonwidget.h>
Public Member Functions | |
SwitchWidget (QWidget *parent=0) | |
~SwitchWidget () | |
bool | getSwitchValue () |
get the state of the switch button (on/off) More... | |
void | setSwitchValue (bool switch_value) |
set the state of the switch button (on/off) More... | |
Private Slots | |
void | updateSwitchValue () |
Private Attributes | |
bool | m_switchButtonValue = false |
Definition at line 40 of file switchbuttonwidget.h.
pappso::SwitchWidget::SwitchWidget | ( | QWidget * | parent = 0 | ) |
Definition at line 34 of file switchbuttonwidget.cpp.
References setSwitchValue(), and updateSwitchValue().
pappso::SwitchWidget::~SwitchWidget | ( | ) |
Definition at line 44 of file switchbuttonwidget.cpp.
bool pappso::SwitchWidget::getSwitchValue | ( | ) |
get the state of the switch button (on/off)
Definition at line 64 of file switchbuttonwidget.cpp.
void pappso::SwitchWidget::setSwitchValue | ( | bool | switch_value | ) |
set the state of the switch button (on/off)
switch_value | boolean true or false |
Definition at line 49 of file switchbuttonwidget.cpp.
Referenced by SwitchWidget().
|
privateslot |
Definition at line 70 of file switchbuttonwidget.cpp.
Referenced by SwitchWidget().
|
private |
Definition at line 61 of file switchbuttonwidget.h.