void mousePressEvent(QMouseEvent *event) override
[0]
The QCheckBox widget provides a checkbox with a text label.
The QKeyEvent class describes a key event.
int key() const
Returns the code of the key that was pressed or released.
static const int MyCustomEventType