| 
    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)   | |
| void | setSwitchValue (bool switch_value) | 
| set the state of the switch button (on/off)   | |
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.
References m_switchButtonValue.
| 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.
References m_switchButtonValue.
Referenced by SwitchWidget(), and updateSwitchValue().
      
  | 
  privateslot | 
Definition at line 70 of file switchbuttonwidget.cpp.
References m_switchButtonValue, and setSwitchValue().
Referenced by SwitchWidget().
      
  | 
  private | 
Definition at line 61 of file switchbuttonwidget.h.
Referenced by getSwitchValue(), setSwitchValue(), and updateSwitchValue().