mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 03:45:30 +08:00
Functions to select distributor/ICAO in component
This commit is contained in:
committed by
Mat Sutcliffe
parent
30b65d6c36
commit
5eeb29bafe
@@ -33,7 +33,7 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CDbDistributorComponent :
|
||||
public QFrame,
|
||||
public CEnableForDockWidgetInfoArea,
|
||||
public BlackGui::CEnableForViewBasedIndicator
|
||||
public CEnableForViewBasedIndicator
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace BlackGui
|
||||
explicit CDbDistributorComponent(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CDbDistributorComponent();
|
||||
virtual ~CDbDistributorComponent() override;
|
||||
|
||||
//! Get the view
|
||||
BlackGui::Views::CDistributorView *view() const;
|
||||
@@ -53,6 +53,9 @@ namespace BlackGui
|
||||
//! The selected distributors
|
||||
BlackMisc::Simulation::CDistributorList getSelectedDistributors() const;
|
||||
|
||||
//! Select the given distributor
|
||||
bool selectDistributor(const BlackMisc::Simulation::CDistributor &distributor);
|
||||
|
||||
//! Having selected distributors
|
||||
bool hasSelectedDistributors() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user