mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 16:55:36 +08:00
Ref T270, interpolation log improvements
* last interpolation tab * display scenery offset * UI formatting * using COverlayMessagesFrame
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#ifndef BLACKGUI_COMPONENTS_INTERPOLATIONLOGDISPLAY_H
|
||||
#define BLACKGUI_COMPONENTS_INTERPOLATIONLOGDISPLAY_H
|
||||
|
||||
#include "blackgui/overlaymessagesframe.h"
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackcore/simulatorcommon.h"
|
||||
#include "blackmisc/aviation/callsign.h"
|
||||
@@ -29,7 +30,7 @@ namespace BlackGui
|
||||
/**
|
||||
* Display live data of interpolation
|
||||
*/
|
||||
class BLACKGUI_EXPORT CInterpolationLogDisplay : public QFrame
|
||||
class BLACKGUI_EXPORT CInterpolationLogDisplay : public COverlayMessagesFrame
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -38,6 +39,7 @@ namespace BlackGui
|
||||
enum Tab
|
||||
{
|
||||
TabFlow,
|
||||
TabInterpolation,
|
||||
TabTextLog
|
||||
};
|
||||
|
||||
@@ -60,6 +62,9 @@ namespace BlackGui
|
||||
//! Update log.
|
||||
void updateLog();
|
||||
|
||||
//! Get last interpolation
|
||||
void displayLastInterpolation();
|
||||
|
||||
//! Slider interval
|
||||
void onSliderChanged(int timeSecs);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user