Image Component Library (ICL)
Public Member Functions | Private Slots | Private Attributes | List of all members
icl::qt::ToggleButton Class Reference

#include <ToggleButton.h>

Inheritance diagram for icl::qt::ToggleButton:

Public Member Functions

 ToggleButton (const std::string &untoggledText, const std::string &toggledText, QWidget *parent=0, bool *stateRef=0)
 
 ~ToggleButton ()
 

Private Slots

void toggleStateChanged (bool toggled)
 

Private Attributes

std::string m_text [2]
 
bool * m_stateRef
 

Constructor & Destructor Documentation

◆ ToggleButton()

icl::qt::ToggleButton::ToggleButton ( const std::string &  untoggledText,
const std::string &  toggledText,
QWidget *  parent = 0,
bool *  stateRef = 0 
)

◆ ~ToggleButton()

icl::qt::ToggleButton::~ToggleButton ( )

Member Function Documentation

◆ toggleStateChanged

void icl::qt::ToggleButton::toggleStateChanged ( bool  toggled)
privateslot

Member Data Documentation

◆ m_stateRef

bool* icl::qt::ToggleButton::m_stateRef
private

◆ m_text

std::string icl::qt::ToggleButton::m_text[2]
private

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