one text two checkable boxes
More...
#include <DoubleCheckBox.h>
one text two checkable boxes
- Todo:
- remove deprecated Emits on ff7tk 2.0 release
◆ DoubleCheckBox() [1/2]
DoubleCheckBox::DoubleCheckBox |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
create a new empty Double Checkbox
- Parameters
-
parent | parent of this widget |
◆ DoubleCheckBox() [2/2]
DoubleCheckBox::DoubleCheckBox |
( |
const QString & |
text, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
create a new empty Double Checkbox
- Parameters
-
text | Text for this checkbox |
parent | parent of this widget |
◆ ~DoubleCheckBox()
DoubleCheckBox::~DoubleCheckBox |
( |
| ) |
|
|
default |
◆ box1_toggled
void DoubleCheckBox::box1_toggled |
( |
bool |
checked | ) |
|
|
signal |
◆ box1Toggled
void DoubleCheckBox::box1Toggled |
( |
bool |
checked | ) |
|
|
signal |
Signal: box1 has had its state changed.
- Parameters
-
◆ box2_toggled
void DoubleCheckBox::box2_toggled |
( |
bool |
checked | ) |
|
|
signal |
◆ box2Toggled
void DoubleCheckBox::box2Toggled |
( |
bool |
checked | ) |
|
|
signal |
Signal: box2 has had its state changed.
- Parameters
-
◆ isChecked()
bool DoubleCheckBox::isChecked |
( |
int |
box | ) |
|
check if a box has been checked .
- Parameters
-
box | checkbox (1-2) 1 is closest to text |
- Returns
- checkbox checked ?
◆ setBoxToolTip()
void DoubleCheckBox::setBoxToolTip |
( |
int |
box, |
|
|
const QString & |
text |
|
) |
| |
Set the tooltip for a checkbox.
- Parameters
-
box | checkbox (1-2) 1 is closest to text |
text | tooltip text |
◆ setChecked()
void DoubleCheckBox::setChecked |
( |
int |
box, |
|
|
bool |
checked |
|
) |
| |
set if a box is checked
- Parameters
-
box | checkbox (1-2) 1 is closest to text |
checked | is this box checked? |
◆ setText()
void DoubleCheckBox::setText |
( |
const QString & |
text | ) |
|
set the text displayed
- Parameters
-
text | Text for this checkbox |
◆ setToolTip()
void DoubleCheckBox::setToolTip |
( |
const QString & |
text | ) |
|
Set the tooltip for the widget.
- Parameters
-
The documentation for this class was generated from the following files: