enable/disable/add/remove groundwork done

This commit is contained in:
Hane 2023-09-06 19:59:55 +02:00
commit 1ec8897430
4 changed files with 66 additions and 58 deletions

View file

@ -61,6 +61,10 @@
class ExtendedCheckBox : public QCheckBox {
Q_OBJECT
public:
//c++11: this inherits all parent's constructors unconditionally
using QCheckBox::QCheckBox;
//alternative being calling parent ctor directly after declaring child ctor:
//B(int x) : A(x) { }
bool event(QEvent* ev) override;
};