#ifndef CONTROLPOWERWIDGET_H #define CONTROLPOWERWIDGET_H #include #include #include class ControlPowerWidget : public QWidget { Q_OBJECT public: explicit ControlPowerWidget(QWidget *parent = nullptr,QList *m_pLedlist=nullptr); protected: void showEvent(QShowEvent *event) override; void init(); void changeEvent(QEvent *) override; void transUi(); private: ControlPowerSchedule *m_pSchedule=nullptr; QLabel *lbScreenCfg; QRadioButton *fdManual; QRadioButton *fdSchedule; QLabel *lbScreen; SwitchControl *fdScreen; QPushButton *btnScreenGet; }; #endif // CONTROLPOWERWIDGET_H