swift
simconnectsettingscomponent.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2015 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
5 
6 #ifndef SWIFT_SIMPLUGIN_FSXCOMMON_SIMCONNECTSETTINGSCOMPONENT_H
7 #define SWIFT_SIMPLUGIN_FSXCOMMON_SIMCONNECTSETTINGSCOMPONENT_H
8 
9 #include <QScopedPointer>
10 
12 #include "misc/settingscache.h"
16 
17 namespace Ui
18 {
19  class CSimConnectSettingsComponent;
20 }
21 namespace swift::simplugin::fsxcommon
22 {
27  {
28  Q_OBJECT
29 
30  public:
32  explicit CSimConnectSettingsComponent(QWidget *parent = nullptr);
33 
36 
37  private:
39  void setSimConnectInfo();
40 
42  void setComboBox(const QString &value);
43 
45  void onP3DVersionChanged(const QString &version);
46 
47  swift::misc::simulation::CSimulatorInfo m_simulator { swift::misc::simulation::CSimulatorInfo::FSX };
49  QScopedPointer<Ui::CSimConnectSettingsComponent> ui;
50  bool m_p3d64bit = false;
51  };
52 } // namespace swift::simplugin::fsxcommon
53 
54 #endif // SWIFT_SIMPLUGIN_FSXCOMMON_SIMCONNECTSETTINGSCOMPONENT_H
Using this class provides a QFrame with the overlay functionality already integrated.
Simple hardcoded info about the corresponding simulator.
Definition: simulatorinfo.h:41
A component that gathers all SimConnect related settings.
#define FSXCOMMON_EXPORT
FSXCommon Export Macro.