6 #ifndef SWIFT_GUI_COMPONENTS_NETWORKDETAILSCOMPONENT_H
7 #define SWIFT_GUI_COMPONENTS_NETWORKDETAILSCOMPONENT_H
10 #include <QScopedPointer>
19 class CNetworkDetailsComponent;
81 void reloadOtherServersSetup();
84 void onServerTabWidgetChanged(
int index);
90 void setServerButtonsVisible(
bool visible);
93 void onWebServiceDataRead(swift::misc::network::CEntityFlags::Entity entity,
97 bool m_updatePilotOnServerChanges =
true;
98 QScopedPointer<Ui::CNetworkDetailsComponent> ui;
Remembering the last servers and ecosystem.
virtual ~CNetworkDetailsComponent()
Dtor.
bool isOtherServerSelected() const
Selected server.
swift::misc::network::CServer getCurrentOtherServer() const
Selected server (others)
void requestNetworkSettings()
Request network settings.
bool isVatsimServerSelected() const
Selected server.
bool hasPartnerCallsign() const
Pilot or Co-pilot callsign?
void setLoginMode(swift::misc::network::CLoginMode mode)
Login mode.
void currentServerChanged(const misc::network::CServer &server)
Current selected server changed.
void overridePilot(const swift::misc::network::CUser &user)
Override the pilot.
swift::misc::network::CServer getCurrentVatsimServer() const
Selected server (VATSIM)
CNetworkDetailsComponent(QWidget *parent=nullptr)
Ctor.
swift::misc::aviation::CCallsign getPartnerCallsign() const
Pilot or Co-pilot callsign.
swift::misc::network::CServer getCurrentServer() const
Current server based on selected tab.
swift::misc::network::CLoginMode getLoginMode() const
Login mode.
Value object encapsulating information of a callsign.
ReadState
State of operation.
Value object encapsulating information about login mode.
Value object encapsulating information of a server.
Value object encapsulating information of a user.
High level reusable GUI components.