#ifndef DEVICESCONTROLLWIDGET_H #define DEVICESCONTROLLWIDGET_H #include #include #include #include #include #include #include #include #include #include #include namespace Ui { class DevicesControllWidget; } class DevicesControllWidget : public QWidget { Q_OBJECT public: explicit DevicesControllWidget(QWidget *parent = nullptr,QList *list=nullptr); ~DevicesControllWidget(); void SwitchControlWidget(int index); signals: void sigSwitchIndexChanged(int index); public slots: void OnOutputInfo(QString strInfo); void onSelectedDeviceList(QList *list); void refreshLable(); private: Ui::DevicesControllWidget *ui; QVector m_wnds; ControlBrightnessWidget * m_pControlBrightnessWidget=nullptr; ControlPowerWidget * m_pControlPowerWidget=nullptr; ControlNetConfigWidget * m_pControlNetConfigWidget=nullptr; ControlVerifyClockWidget * m_pControlVerifyClockWidget=nullptr; ControlHdmiWidget * m_pControlHdmiWidgett=nullptr; ControlVolumeWidget * m_pControlVolumeWidget=nullptr; ControlEncryptWidget * m_pControlEncryptWidget=nullptr; ControlAdvParamWidget *m_pControlAdvParamWidget=nullptr; ControlTestWidget *m_pControlTestWidget=nullptr; int curIndex=0; QList *m_pLedlist=nullptr; LedCard *m_pLedCard = nullptr; }; #endif // DEVICESCONTROLLWIDGET_H