6 #ifndef SWIFT_GUI_COMPONENTS_COCKPITCOMPONENT_H
7 #define SWIFT_GUI_COMPONENTS_COCKPITCOMPONENT_H
11 #include <QScopedPointer>
19 class CCockpitComponent;
23 class CDockWidgetInfoArea;
43 bool isInfoAreaShown()
const;
46 void setSelectedTransponderModeStateIdent();
53 virtual void mouseDoubleClickEvent(QMouseEvent *event)
override;
57 void onToggleShowHideDetails(
bool show);
60 void onToggleFloating(
bool floating);
63 void toggleShowHideDetails(
bool show,
bool considerCurrentSize);
67 void onRequestTextMessageCom1();
68 void onRequestTextMessageCom2();
72 void onATCStationsChanged();
74 QScopedPointer<Ui::CCockpitComponent> ui;
75 QSize m_sizeFloatingShown;
76 QSize m_sizeFloatingHidden;
77 int m_minHeightInfoArea = -1;
Cockpit component: COM unit, show / hide bar, voice rooms.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.