7 #include <ff7tkqtwidgets_export.h>
28 explicit DoubleCheckBox(
const QString &text, QWidget *parent =
nullptr);
33 void setText(
const QString &text);
39 void setChecked(
int box,
bool checked);
45 bool isChecked(
int box);
51 void setBoxToolTip(
int box,
const QString &text);
56 void setToolTip(
const QString &text);
63 [[ deprecated (
"will be removed in ff7tk 2.0, Use DoubleCheckbox::box1Toggled") ]]
void box1_toggled(
bool checked);
69 [[ deprecated (
"will be removed in ff7tk 2.0, Use DoubleCheckbox::box2Toggled") ]]
void box2_toggled(
bool checked);
72 QCheckBox *cb_one =
nullptr;
73 QCheckBox *cb_two =
nullptr;
74 QLabel *label =
nullptr;
one text two checkable boxes
Definition: DoubleCheckBox.h:17
void box2Toggled(bool checked)
Signal: box2 has had its state changed.
~DoubleCheckBox()=default
void box1Toggled(bool checked)
Signal: box1 has had its state changed.
void box2_toggled(bool checked)
void box1_toggled(bool checked)