13 #ifndef qclickablelabelhincluded
14 #define qclickablelabelhincluded
36 QClickableLabel(
const QString &text, QWidget *parent, Qt::WindowFlags f = {});
39 void AddHotspot(
const QString &name,
const QRect position);
41 void RemoveHotspot(
const QString &name);
42 void RemoveHotspot(
unsigned int hotspotIndex);
43 void RemoveAllHotspots();
47 void mousePressed(
const QString &hotspotName);
48 void mousePressed(
unsigned int hotspotIndex);
49 void mouseReleased(
const QString &hotspotName);
50 void mouseReleased(
unsigned int hotspotIndex);
53 void mousePressEvent(QMouseEvent *e)
override;
54 void mouseReleaseEvent(QMouseEvent *e)
override;
57 unsigned int matchingRect(
const QPoint &p);