添加仪表上方信息显示,修改指令增加翻页

This commit is contained in:
hm
2020-11-15 09:11:18 +08:00
parent 32e83c5fe5
commit 0c1919ae7b
11 changed files with 2073 additions and 1864 deletions
+19 -1
View File
@@ -1,4 +1,4 @@
#ifndef MENUBARUI_H
#ifndef MENUBARUI_H
#define MENUBARUI_H
#include <QWidget>
@@ -10,6 +10,7 @@
#include <QBitmap>
#include "QTimer"
#include "QDateTime"
#include <QCommonStyle>
#include "QStyle"
@@ -41,6 +42,15 @@ public slots:
void showMessage(const QString &message,int TimeOut = 0);
void clearMessage();
void setTargetPoint(int Value);
void setTargetAlt(float Value);
void setX(float Value);
void setHeading(float Value);
void setTagetAirspeed(float Value);
void setArm(bool Value);
signals:
void IndexChanged(int);
@@ -52,6 +62,10 @@ private slots:
void onClicked(void);
void MessageTimeOut(void);
void RecordTimeOut(void);
void on_pushButton_Setting_clicked();
@@ -71,6 +85,10 @@ private:
QTimer *MessageTimer = nullptr;
QTimer *recordTimer = nullptr;
QDateTime *timeRecord = nullptr;
};
#endif // MENUBARUI_H