mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
Ref T489, display read state in model component for livery, airline, aircraft
* similar to model component * distributor/countries too few data to benefit, hence not implemented
This commit is contained in:
committed by
Mat Sutcliffe
parent
ea7694248e
commit
e810dfecf5
@@ -12,9 +12,10 @@
|
||||
#ifndef BLACKGUI_COMPONENTS_DBAIRLINEICAOCOMPONENT_H
|
||||
#define BLACKGUI_COMPONENTS_DBAIRLINEICAOCOMPONENT_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/components/enablefordockwidgetinfoarea.h"
|
||||
#include "blackgui/overlaymessagesframe.h"
|
||||
#include "blackgui/enableforviewbasedindicator.h"
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackmisc/network/entityflags.h"
|
||||
|
||||
#include <QFrame>
|
||||
@@ -31,7 +32,7 @@ namespace BlackGui
|
||||
* Airline ICAO code
|
||||
*/
|
||||
class BLACKGUI_EXPORT CDbAirlineIcaoComponent :
|
||||
public QFrame,
|
||||
public COverlayMessagesFrame,
|
||||
public CEnableForDockWidgetInfoArea,
|
||||
public CEnableForViewBasedIndicator
|
||||
{
|
||||
@@ -51,6 +52,9 @@ namespace BlackGui
|
||||
//! ICAO codes have been read
|
||||
void onIcaoRead(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Network::CEntityFlags::ReadState readState, int count);
|
||||
|
||||
//! Download progress for an entity
|
||||
void onEntityDownloadProgress(BlackMisc::Network::CEntityFlags::Entity entity, int logId, int progress, qint64 current, qint64 max, const QUrl &url);
|
||||
|
||||
//! Reload models
|
||||
void onReload();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user