swift
simulatorflightgearconfigwindow.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2019 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_SIMULATOR_FLIGHTGEAR_CONFIG_WINDOW_H
7 #define SWIFT_SIMPLUGIN_SIMULATOR_FLIGHTGEAR_CONFIG_WINDOW_H
8 
9 #include <QObject>
10 #include <QScopedPointer>
11 
13 
14 #include "gui/pluginconfigwindow.h"
16 
17 namespace Ui
18 {
19  class CSimulatorFlightgearConfigWindow;
20 }
21 namespace swift::simplugin::flightgear
22 {
27  {
28  Q_OBJECT
29 
30  public:
32  CSimulatorFlightgearConfigWindow(QWidget *parent);
33 
36 
37  private:
39  void onSettingsAccepted();
40 
42  void onSettingsChanged();
43 
46 
47  QScopedPointer<Ui::CSimulatorFlightgearConfigWindow> ui;
49  this, &CSimulatorFlightgearConfigWindow::onSettingsChanged
50  };
51  };
52 } // namespace swift::simplugin::flightgear
53 
54 #endif // SWIFT_SIMPLUGIN_SIMULATOR_FLIGHTGEAR_CONFIG_WINDOW_H
Base class for plugin config window.
A window that shows all the Flightgear plugin options.