#ifndef CONTROLVOLUMEWIDGET_H #define CONTROLVOLUMEWIDGET_H #include #include #include #include "QStackedWidget" #include namespace Ui { class ControlVolumeWidget; } class ControlVolumeWidget : public QWidget { Q_OBJECT public: explicit ControlVolumeWidget(QWidget *parent = nullptr,QList *m_pLedlist=nullptr); ~ControlVolumeWidget(); private: void init(); protected slots: void refreshLable(); void OnGetVolumeModeType(bool b); private: Ui::ControlVolumeWidget *ui; ControlVolumeManual *m_pManual=nullptr; ControlVolumeSchedule *m_pSchedule=nullptr; QStackedWidget *m_pStackedW; QButtonGroup *m_buttonGroup; QList *m_pLedlist=nullptr; }; #endif // CONTROLVOLUMEWIDGET_H