You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
534 B
C++

#ifndef MAINPAGE_DATA_H
#define MAINPAGE_DATA_H
#include <QWidget>
#include <QLabel>
#include <uart1.h>
class mainpage_Data : public QWidget
{
Q_OBJECT
public:
explicit mainpage_Data(QWidget *parent = nullptr);
private:
QLabel *label_1_1;//页面1有功电量label1
QLabel *label_1_2;
QLabel *label_1_3;
QLabel *label_1_4;
QLabel *label_1_7;
QLabel *label_1_8;
QLabel *label_1_9;
QLabel *label_1_10;
signals:
private slots:
void onPageFourDataUpdate();
};
#endif // MAINPAGE_DATA_H