Image Component Library (ICL)
|
Special Utiltiy class for handling Button clicks in the ICL GUI API. More...
#include <CheckBoxHandle.h>
Public Member Functions | |
CheckBoxHandle () | |
creates a n empty button handle | |
CheckBoxHandle (QCheckBox *cb, GUIWidget *w, bool *stateRef) | |
create a new event with a given button id | |
void | check (bool execCallbacks=true) |
checks this checkbox | |
void | uncheck (bool execCallbacks=true) |
void | doCheck (bool on, bool execCallbacks=true) |
defines the check-state | |
bool | isChecked () const |
Private Attributes | |
bool * | m_stateRef |
internal state reference variable |
creates a n empty button handle
icl::qt::CheckBoxHandle::CheckBoxHandle | ( | QCheckBox * | cb, |
GUIWidget * | w, | ||
bool * | stateRef | ||
) |
create a new event with a given button id
void icl::qt::CheckBoxHandle::check | ( | bool | execCallbacks = true | ) |
checks this checkbox
void icl::qt::CheckBoxHandle::doCheck | ( | bool | on, |
bool | execCallbacks = true |
||
) | [inline] |
defines the check-state
bool icl::qt::CheckBoxHandle::isChecked | ( | ) | const |
void icl::qt::CheckBoxHandle::uncheck | ( | bool | execCallbacks = true | ) |
bool* icl::qt::CheckBoxHandle::m_stateRef [private] |
internal state reference variable