6 #ifndef SWIFT_GUI_COMPONENTS_ATCSTATIONCOMPONENT_H
7 #define SWIFT_GUI_COMPONENTS_ATCSTATIONCOMPONENT_H
12 #include <QModelIndex>
14 #include <QScopedPointer>
18 #include <QVBoxLayout>
32 class CAtcStationComponent;
34 namespace swift::misc::aviation
40 class CDockWidgetInfoArea;
67 void setTab(AtcTab tab);
70 int countOnlineStations()
const;
76 void getMetar(
const QString &airportIcaoCode);
90 void getMetarAsEntered();
93 void requestAtisUpdates();
105 void changedAtcStationsOnline();
112 void testCreateDummyOnlineAtcStations(
int number);
115 void requestOnlineStationsUpdate();
118 void infoAreaTabBarChanged(
int index);
121 void setOnlineTabs(
int count,
int filtered);
131 void updateTreeView();
134 void initCompleters();
137 void settingsChanged();
140 bool canAccessContext()
const;
143 void clearOnlineViews();
146 void showOverlayInlineTextMessage();
149 void onDetailsToggled(
bool checked);
152 QVBoxLayout *vLayout()
const;
154 QScopedPointer<Ui::CAtcStationComponent> ui;
155 QTimer m_updateTimer;
156 QList<int> m_splitterSizes;
158 QDateTime m_timestampLastReadOnlineStations;
159 QDateTime m_timestampOnlineStationsChanged;
161 this, &CAtcStationComponent::settingsChanged
void requestAudioWidget()
Request audio widget.
Base class with a member CIdentifier to be inherited by a class which has an identity in the environm...
Wrapper around QVariant which provides transparent access to CValueObject methods of the contained ob...
Value object encapsulating information about an ATC station.
Value object encapsulating information of a callsign.
Value object encapsulating information about a connection status.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.