enable/disable/add/remove groundwork done
This commit is contained in:
parent
b6a6ff6769
commit
1ec8897430
4 changed files with 66 additions and 58 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue