mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
Ref T442, made ATC station component a QFrame
* details in group box * count for tree view tab * formatting of settings
This commit is contained in:
@@ -30,7 +30,9 @@
|
||||
#include <QString>
|
||||
#include <QTabWidget>
|
||||
#include <QtGlobal>
|
||||
#include <QVBoxLayout>
|
||||
#include <QTimer>
|
||||
#include <QList>
|
||||
|
||||
namespace BlackMisc { namespace Aviation { class CCallsign; } }
|
||||
namespace Ui { class CAtcStationComponent; }
|
||||
@@ -41,7 +43,7 @@ namespace BlackGui
|
||||
{
|
||||
//! ATC stations component
|
||||
class BLACKGUI_EXPORT CAtcStationComponent :
|
||||
public COverlayMessagesTabWidget,
|
||||
public COverlayMessagesFrame,
|
||||
public CEnableForDockWidgetInfoArea,
|
||||
public BlackMisc::CIdentifiable
|
||||
{
|
||||
@@ -155,13 +157,20 @@ namespace BlackGui
|
||||
//! Inline message
|
||||
void showOverlayInlineTextMessage();
|
||||
|
||||
//! Details toggled
|
||||
void onDetailsToggled(bool checked);
|
||||
|
||||
//! Get the vertical layout
|
||||
QVBoxLayout *vLayout() const;
|
||||
|
||||
QScopedPointer<Ui::CAtcStationComponent> ui;
|
||||
QTimer m_updateTimer;
|
||||
QList<int> m_stretch;
|
||||
QDateTime m_timestampLastReadOnlineStations; //!< stations read
|
||||
QDateTime m_timestampOnlineStationsChanged; //!< stations marked as changed
|
||||
QDateTime m_timestampLastReadBookedStations; //!< stations read
|
||||
QDateTime m_timestampBookedStationsChanged; //!< stations marked as changed
|
||||
BlackMisc::CSettingReadOnly<BlackGui::Settings::TViewUpdateSettings> m_settingsView { this, &CAtcStationComponent::settingsChanged };
|
||||
BlackMisc::CSettingReadOnly<BlackGui::Settings::TViewUpdateSettings> m_settingsView { this, &CAtcStationComponent::settingsChanged };
|
||||
};
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user