mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 02:55:44 +08:00
Ref T270, changes to context/and interpolation log display so we can display "internals" of airspace monitor
This commit is contained in:
@@ -16,8 +16,12 @@
|
||||
#include <QScopedPointer>
|
||||
#include <QDialog>
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
class CSimulatorCommon;
|
||||
class CAirspaceMonitor;
|
||||
}
|
||||
namespace Ui { class CInterpolationLogDisplayDialog; }
|
||||
namespace BlackCore { class CSimulatorCommon; }
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
@@ -31,7 +35,9 @@ namespace BlackGui
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CInterpolationLogDisplayDialog(BlackCore::CSimulatorCommon *simulatorCommon, QWidget *parent = nullptr);
|
||||
explicit CInterpolationLogDisplayDialog(
|
||||
BlackCore::CSimulatorCommon *simulatorCommon, BlackCore::CAirspaceMonitor *airspaceMonitor,
|
||||
QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CInterpolationLogDisplayDialog();
|
||||
@@ -39,6 +45,9 @@ namespace BlackGui
|
||||
//! Set simulator
|
||||
void setSimulator(BlackCore::CSimulatorCommon *simulatorCommon);
|
||||
|
||||
//! Set airspace monitor
|
||||
void setAirspaceMonitor(BlackCore::CAirspaceMonitor *airspaceMonitor);
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CInterpolationLogDisplayDialog> ui;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user