mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 02:35:38 +08:00
refs #900, use filtered flag, old approach was faulty
Also added log categories
This commit is contained in:
committed by
Mathew Sutcliffe
parent
30ef3eedf9
commit
bd29257f92
@@ -41,6 +41,9 @@ namespace BlackGui
|
||||
IMenuDelegate(modelView, separator)
|
||||
{}
|
||||
|
||||
//! Log.categories
|
||||
static const BlackMisc::CLogCategoryList &getLogCategories();
|
||||
|
||||
protected:
|
||||
//! Model view
|
||||
BlackGui::Views::CAircraftModelView *modelView() const;
|
||||
@@ -49,7 +52,7 @@ namespace BlackGui
|
||||
const BlackMisc::Simulation::CAircraftModelList &getAircraftModels() const;
|
||||
|
||||
//! Get aircraft models (all, or all filtered)
|
||||
const BlackMisc::Simulation::CAircraftModelList &getAllOrAllFilteredAircraftModels() const;
|
||||
const BlackMisc::Simulation::CAircraftModelList &getAllOrAllFilteredAircraftModels(bool *filtered = nullptr) const;
|
||||
|
||||
//! Selected aircraft models
|
||||
BlackMisc::Simulation::CAircraftModelList getSelectedAircraftModels() const;
|
||||
@@ -64,6 +67,9 @@ namespace BlackGui
|
||||
//! Constructor
|
||||
CShowSimulatorFileMenu(BlackGui::Views::CAircraftModelView *modelView, BlackGui::COverlayMessagesFrame *messageFrame, bool separator = true);
|
||||
|
||||
//! Log.categories
|
||||
static const BlackMisc::CLogCategoryList &getLogCategories();
|
||||
|
||||
//! \copydoc IMenuDelegate::customMenu
|
||||
virtual void customMenu(CMenuActions &menuActions) override;
|
||||
|
||||
@@ -89,6 +95,9 @@ namespace BlackGui
|
||||
//! Constructor
|
||||
CConsolidateWithDbDataMenu(BlackGui::Views::CAircraftModelView *modelView, QObject *modelsTarget, bool separator = true);
|
||||
|
||||
//! Log.categories
|
||||
static const BlackMisc::CLogCategoryList &getLogCategories();
|
||||
|
||||
//! \copydoc IMenuDelegate::customMenu
|
||||
virtual void customMenu(CMenuActions &menuActions) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user