|
|
@ -69,6 +69,7 @@ public: |
|
|
|
Q_INVOKABLE void onDisconnect(QString conf); |
|
|
|
Q_INVOKABLE void onDisconnect(QString conf); |
|
|
|
Q_INVOKABLE void onEnterMessageArea(int x, int y); |
|
|
|
Q_INVOKABLE void onEnterMessageArea(int x, int y); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Q_PROPERTY(double height MEMBER _toolbarHeight NOTIFY heightChanged) |
|
|
|
Q_PROPERTY(ViewType_t currentView MEMBER _currentView NOTIFY currentViewChanged) |
|
|
|
Q_PROPERTY(ViewType_t currentView MEMBER _currentView NOTIFY currentViewChanged) |
|
|
|
Q_PROPERTY(QStringList configList MEMBER _linkConfigurations NOTIFY configListChanged) |
|
|
|
Q_PROPERTY(QStringList configList MEMBER _linkConfigurations NOTIFY configListChanged) |
|
|
|
Q_PROPERTY(int connectionCount READ connectionCount NOTIFY connectionCountChanged) |
|
|
|
Q_PROPERTY(int connectionCount READ connectionCount NOTIFY connectionCountChanged) |
|
|
@ -104,6 +105,10 @@ signals: |
|
|
|
void remoteRSSIChanged (int value); |
|
|
|
void remoteRSSIChanged (int value); |
|
|
|
void telemetryRRSSIChanged (int value); |
|
|
|
void telemetryRRSSIChanged (int value); |
|
|
|
void telemetryLRSSIChanged (int value); |
|
|
|
void telemetryLRSSIChanged (int value); |
|
|
|
|
|
|
|
void heightChanged (double height); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// Shows a non-modal message below the toolbar
|
|
|
|
|
|
|
|
void showMessage(const QString& message); |
|
|
|
|
|
|
|
|
|
|
|
private slots: |
|
|
|
private slots: |
|
|
|
void _forgetUAS (UASInterface* uas); |
|
|
|
void _forgetUAS (UASInterface* uas); |
|
|
@ -115,6 +120,7 @@ private slots: |
|
|
|
void _setProgressBarValue (float value); |
|
|
|
void _setProgressBarValue (float value); |
|
|
|
void _remoteControlRSSIChanged (uint8_t rssi); |
|
|
|
void _remoteControlRSSIChanged (uint8_t rssi); |
|
|
|
void _telemetryChanged (LinkInterface* link, unsigned rxerrors, unsigned fixed, unsigned rssi, unsigned remrssi, unsigned txbuf, unsigned noise, unsigned remnoise); |
|
|
|
void _telemetryChanged (LinkInterface* link, unsigned rxerrors, unsigned fixed, unsigned rssi, unsigned remrssi, unsigned txbuf, unsigned noise, unsigned remnoise); |
|
|
|
|
|
|
|
void _heightChanged (double height); |
|
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
private: |
|
|
|
void _updateConnection (LinkInterface *disconnectedLink = NULL); |
|
|
|
void _updateConnection (LinkInterface *disconnectedLink = NULL); |
|
|
@ -137,6 +143,7 @@ private: |
|
|
|
double _remoteRSSIstore; |
|
|
|
double _remoteRSSIstore; |
|
|
|
int _telemetryRRSSI; |
|
|
|
int _telemetryRRSSI; |
|
|
|
int _telemetryLRSSI; |
|
|
|
int _telemetryLRSSI; |
|
|
|
|
|
|
|
double _toolbarHeight; |
|
|
|
|
|
|
|
|
|
|
|
UASMessageViewRollDown* _rollDownMessages; |
|
|
|
UASMessageViewRollDown* _rollDownMessages; |
|
|
|
}; |
|
|
|
}; |
|
|
|