mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-24 07:55:35 +08:00
Formatting, naming
This commit is contained in:
@@ -21,7 +21,7 @@ namespace BlackSimPlugin
|
||||
{
|
||||
namespace Fsx
|
||||
{
|
||||
/**
|
||||
/*!
|
||||
* A component that gathers all SimConnect-related settings.
|
||||
*/
|
||||
class CSimConnectSettingsComponent : public QFrame
|
||||
|
||||
@@ -5,10 +5,9 @@ namespace BlackSimPlugin
|
||||
{
|
||||
namespace Fsx
|
||||
{
|
||||
|
||||
CSimulatorFsxConfig::CSimulatorFsxConfig(QObject *parent) : QObject(parent)
|
||||
{
|
||||
|
||||
// void
|
||||
}
|
||||
|
||||
BlackGui::CPluginConfigWindow *CSimulatorFsxConfig::createConfigWindow(QWidget *parent)
|
||||
|
||||
@@ -19,7 +19,6 @@ namespace BlackSimPlugin
|
||||
{
|
||||
namespace Fsx
|
||||
{
|
||||
|
||||
/*!
|
||||
* Window for setting up the FSX plugin.
|
||||
*/
|
||||
@@ -39,7 +38,6 @@ namespace BlackSimPlugin
|
||||
//! \copydoc BlackGui::IPluginConfig::createConfigWindow()
|
||||
BlackGui::CPluginConfigWindow *createConfigWindow(QWidget *parent) override;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -8,20 +8,17 @@ namespace BlackSimPlugin
|
||||
{
|
||||
namespace Fsx
|
||||
{
|
||||
|
||||
CSimulatorFsxConfigWindow::CSimulatorFsxConfigWindow(QWidget *parent) :
|
||||
CPluginConfigWindow(parent),
|
||||
ui(new Ui::CSimulatorFsxConfigWindow)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
connect(ui->bb_OkCancel, &QDialogButtonBox::rejected, this, &QWidget::close);
|
||||
}
|
||||
|
||||
CSimulatorFsxConfigWindow::~CSimulatorFsxConfigWindow()
|
||||
{
|
||||
|
||||
// void
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,15 +16,12 @@
|
||||
#include "blackgui/pluginconfigwindow.h"
|
||||
#include <QScopedPointer>
|
||||
|
||||
namespace Ui {
|
||||
class CSimulatorFsxConfigWindow;
|
||||
}
|
||||
namespace Ui { class CSimulatorFsxConfigWindow; }
|
||||
|
||||
namespace BlackSimPlugin
|
||||
{
|
||||
namespace Fsx
|
||||
{
|
||||
|
||||
/**
|
||||
* A window the lets user set up the FSX plugin.
|
||||
*/
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="BlackSimPlugin::Fsx::CSimConnectSettingsComponent" name="frame">
|
||||
<widget class="BlackSimPlugin::Fsx::CSimConnectSettingsComponent" name="fr_simConnectSettings">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
|
||||
@@ -5,7 +5,6 @@ namespace BlackSimPlugin
|
||||
{
|
||||
namespace XPlane
|
||||
{
|
||||
|
||||
CSimulatorXPlaneConfig::CSimulatorXPlaneConfig(QObject *parent) : QObject(parent)
|
||||
{
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@ namespace BlackSimPlugin
|
||||
{
|
||||
namespace XPlane
|
||||
{
|
||||
|
||||
/*!
|
||||
* Setting for XBus.
|
||||
*/
|
||||
@@ -50,7 +49,6 @@ namespace BlackSimPlugin
|
||||
|
||||
//! \copydoc BlackGui::IPluginConfig::createConfigWindow()
|
||||
BlackGui::CPluginConfigWindow *createConfigWindow(QWidget *parent) override;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,6 @@ namespace BlackSimPlugin
|
||||
{
|
||||
namespace XPlane
|
||||
{
|
||||
|
||||
CSimulatorXPlaneConfigWindow::CSimulatorXPlaneConfigWindow(QWidget *parent) :
|
||||
CPluginConfigWindow(parent),
|
||||
ui(new Ui::CSimulatorXPlaneConfigWindow)
|
||||
|
||||
@@ -49,7 +49,6 @@ namespace BlackSimPlugin
|
||||
private:
|
||||
QScopedPointer<Ui::CSimulatorXPlaneConfigWindow> ui;
|
||||
BlackMisc::CSetting<XBusServer> m_xbusServerSetting { this };
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user