| 123456789101112131415161718192021222324252627282930313233343536373839 |
- #ifndef RUNCHWIGET_H
- #define RUNCHWIGET_H
- #include <QWidget>
- #include "ch_widget.h"
- namespace Ui {
- class RunChWiget;
- }
- class RunChWiget : public QWidget
- {
- Q_OBJECT
- public:
- explicit RunChWiget(QWidget *parent = nullptr);
- ~RunChWiget();
- void setRunCh();
- void UpdateAllCh();
- void ClearCH();
- void AddWidget(ch_Widget* pCHWidget);
- void initScrollArea();
- public slots:
- void slot_CtrlCH(int nIndex);
- void slot_ALLCHCtrl();
- private:
- Ui::RunChWiget *ui;
- int SaveIndex=0;
- QVector<ch_Widget*> m_vecChWidget;
- };
- #endif // RUNCHWIGET_H
|