添加仪表上方信息显示,修改指令增加翻页
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user