#ifndef CUIPUSHBUTTON_H #define CUIPUSHBUTTON_H #include #include class CUIConfig; class CUI; class CUIPushButton : public QPushButton { Q_OBJECT public: explicit CUIPushButton(CUIConfig* conf, QVector &subCUI, QWidget *parent = nullptr); private: void iniUI(QVector &subCUI); CUIConfig* conf; signals: }; #endif // CUIPUSHBUTTON_H