#ifndef SYSTEMSELFCHECK_H #define SYSTEMSELFCHECK_H #include #include #include #include namespace Ui { class CSystemSelfcheck; } class CSystemSelfcheck : public QWidget { Q_OBJECT public: explicit CSystemSelfcheck(QWidget *parent = nullptr); ~CSystemSelfcheck(); private: Ui::CSystemSelfcheck *ui; QChartView * m_ChartView; QLabel * m_centerLabel; private slots: //网络请求数据响应 void slotNetMgr(QString sAddr,const QVariant& msg); void initPieChart(); void bulidPieChart(int percent); void resizeEvent(QResizeEvent *event); void on_pushButton_check_clicked(); }; #endif // SYSTEMSELFCHECK_H