42 IndexedQCheckBox(
int index, QWidget* parent =
nullptr) : QCheckBox{parent}, index{index}
44 connect(
this, SIGNAL(stateChanged(
int)),
this, SLOT(emitStateChangedWithIndex(
int)));
54 QCheckBox{text, parent}, index{index}
56 connect(
this, SIGNAL(stateChanged(
int)),
this, SLOT(emitStateChangedWithIndex(
int)));
73 emitStateChangedWithIndex(
int state)
IndexedQCheckBox(int index, const QString &text, QWidget *parent=nullptr)
ctor.
void stateChangedIndex(int index, Qt::CheckState state)
Emitted when the check state changes.
IndexedQCheckBox(int index, QWidget *parent=nullptr)
ctor.
This file offers overloads of toIce() and fromIce() functions for STL container types.