#ifndef MYPUSHBUTTON_H #define MYPUSHBUTTON_H #include class MyPushButton : public QPushButton { Q_OBJECT public: MyPushButton(QWidget* parent = nullptr); virtual ~MyPushButton(); }; #endif // MYPUSHBUTTON_H