| 123456789101112131415161718192021222324252627282930313233 |
- #ifndef CH_WIDGET_H
- #define CH_WIDGET_H
- #include "common.h"
- #include <QWidget>
- namespace Ui {
- class ch_Widget;
- }
- class ch_Widget : public QWidget
- {
- Q_OBJECT
- public:
- explicit ch_Widget(QWidget *parent = nullptr);
- ~ch_Widget();
- void setDataCHP(int nIndex,PowerInfo* pdata);
- void UpdateData();
- protected:
- bool event(QEvent *event);
- private:
- Ui::ch_Widget *ui;
- int m_nIndex;
- PowerInfo* m_pCHData;
- int nStatus=0;
- };
- #endif // CH_WIDGET_H
|