6 #ifndef SWIFT_GUI_TICKLABEL_H
7 #define SWIFT_GUI_TICKLABEL_H
26 explicit CTickLabel(QWidget *parent =
nullptr);
29 void setTicked(
bool ticked);
32 void setToolTips(
const QString &ticked,
const QString &unticked);
39 bool m_isPixmapTicked =
false;
40 QString m_toolTipTicked =
"on";
41 QString m_toolTipUnticked =
"off";
Representing a ticked or crossed icon.
void tickChanged(bool ticked)
Changed ticked state.
static const QPixmap & cross16()
Cross.
static const QPixmap & tick16()
Tick.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.