mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
refs #768, allow to access view and filter of components
(required in wizard)
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include "blackgui/components/enablefordockwidgetinfoarea.h"
|
||||
#include "blackgui/enableforviewbasedindicator.h"
|
||||
#include "blackmisc/network/entityflags.h"
|
||||
#include "blackmisc/aviation/airlineicaocode.h"
|
||||
|
||||
#include <QFrame>
|
||||
#include <QObject>
|
||||
@@ -25,9 +26,9 @@ class QWidget;
|
||||
|
||||
namespace BlackMisc { namespace Aviation { class CLivery; } }
|
||||
namespace Ui { class CDbLiveryComponent; }
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Views { class CLiveryView; }
|
||||
namespace Components
|
||||
{
|
||||
/*!
|
||||
@@ -47,10 +48,16 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
virtual ~CDbLiveryComponent();
|
||||
|
||||
//! The livery view
|
||||
BlackGui::Views::CLiveryView *view();
|
||||
|
||||
public slots:
|
||||
//! Filter by livery as default
|
||||
//! Filter by livery
|
||||
void filter(const BlackMisc::Aviation::CLivery &livery);
|
||||
|
||||
//! Filter by airline ICAO
|
||||
void filterByAirline(const BlackMisc::Aviation::CAirlineIcaoCode &icao);
|
||||
|
||||
private slots:
|
||||
//! Liveries codes have been read
|
||||
void ps_liveriesRead(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Network::CEntityFlags::ReadState readState, int count);
|
||||
|
||||
Reference in New Issue
Block a user