QtPdWidgets  2.3.1
Private Member Functions | Private Attributes | List of all members
Pd::CheckBoxPrivate Class Reference
Collaboration diagram for Pd::CheckBoxPrivate:
Collaboration graph
[legend]

Private Member Functions

 CheckBoxPrivate (CheckBox *parent)
 
void setYellow (bool)
 Makes the background yellow or white again. More...
 
void updateCheck ()
 Updates the displayed value. More...
 
 Q_DECLARE_PUBLIC (CheckBox)
 

Private Attributes

int value = 0
 the current variable value More...
 
bool dataPresent = false
 A value is to be displayed. More...
 
int onValue = DEFAULT_ONVALUE
 The value that is sent to the process, if the checkbox is checked. More...
 
int offValue = DEFAULT_OFFVALUE
 The value that is sent to the process, if the checkbox is unchecked. More...
 
CheckBox *const q_ptr
 

Constructor & Destructor Documentation

◆ CheckBoxPrivate()

Pd::CheckBoxPrivate::CheckBoxPrivate ( CheckBox parent)
inlineprivate

Member Function Documentation

◆ Q_DECLARE_PUBLIC()

Pd::CheckBoxPrivate::Q_DECLARE_PUBLIC ( CheckBox  )
private

◆ setYellow()

void CheckBoxPrivate::setYellow ( bool  y)
private

Makes the background yellow or white again.

◆ updateCheck()

void CheckBoxPrivate::updateCheck ( )
private

Updates the displayed value.

References dataPresent, offValue, onValue, and value.

Member Data Documentation

◆ dataPresent

bool Pd::CheckBoxPrivate::dataPresent = false
private

A value is to be displayed.

Referenced by updateCheck().

◆ offValue

int Pd::CheckBoxPrivate::offValue = DEFAULT_OFFVALUE
private

The value that is sent to the process, if the checkbox is unchecked.

Referenced by updateCheck().

◆ onValue

int Pd::CheckBoxPrivate::onValue = DEFAULT_ONVALUE
private

The value that is sent to the process, if the checkbox is checked.

Referenced by updateCheck().

◆ q_ptr

CheckBox* const Pd::CheckBoxPrivate::q_ptr
private

◆ value

int Pd::CheckBoxPrivate::value = 0
private

the current variable value

Referenced by updateCheck().


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