swift
src
plugins
simulator
fsxcommon
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
11
#include "
gui/overlaymessagesframe.h
"
12
#include "
misc/settingscache.h
"
13
#include "
misc/simulation/settings/simulatorsettings.h
"
14
#include "
misc/simulation/simulatorinfo.h
"
15
#include "
plugins/simulator/fsxcommon/fsxcommonexport.h
"
16
17
namespace
Ui
18
{
19
class
CSimConnectSettingsComponent;
20
}
21
namespace
swift::simplugin::fsxcommon
22
{
26
class
FSXCOMMON_EXPORT
CSimConnectSettingsComponent
:
public
swift::gui::COverlayMessagesFrame
27
{
28
Q_OBJECT
29
30
public
:
32
explicit
CSimConnectSettingsComponent
(
QWidget
*parent =
nullptr
);
33
35
virtual
~
CSimConnectSettingsComponent
();
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 };
48
swift::misc::CSetting<swift::misc::simulation::settings::TP3DVersion>
m_p3dVersion {
this
};
49
QScopedPointer<Ui::CSimConnectSettingsComponent>
ui;
50
bool
m_p3d64bit =
false
;
51
};
52
}
// namespace swift::simplugin::fsxcommon
53
54
#endif
// SWIFT_SIMPLUGIN_FSXCOMMON_SIMCONNECTSETTINGSCOMPONENT_H
swift::gui::COverlayMessagesFrame
Using this class provides a QFrame with the overlay functionality already integrated.
Definition:
overlaymessagesframe.h:381
swift::misc::CSetting< swift::misc::simulation::settings::TP3DVersion >
swift::misc::simulation::CSimulatorInfo
Simple hardcoded info about the corresponding simulator.
Definition:
simulatorinfo.h:41
swift::simplugin::fsxcommon::CSimConnectSettingsComponent
A component that gathers all SimConnect related settings.
Definition:
simconnectsettingscomponent.h:27
fsxcommonexport.h
FSXCOMMON_EXPORT
#define FSXCOMMON_EXPORT
FSXCommon Export Macro.
Definition:
fsxcommonexport.h:20
overlaymessagesframe.h
QScopedPointer< Ui::CSimConnectSettingsComponent >
QString
QWidget
settingscache.h
simulatorinfo.h
simulatorsettings.h
Generated on Sun Oct 12 2025 20:05:14 for swift by
1.9.1