swift
simulatorp3dconfig.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2017 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_P3D_SIMULATORP3DCONFIG_H
7 #define SWIFT_SIMPLUGIN_P3D_SIMULATORP3DCONFIG_H
8 
9 #include "gui/pluginconfig.h"
10 
11 namespace swift::simplugin::p3d
12 {
16  class CSimulatorP3DConfig : public QObject, public swift::gui::IPluginConfig
17  {
18  Q_OBJECT
19  Q_PLUGIN_METADATA(IID "org.swift-project.swiftgui.pluginconfiginterface" FILE "simulatorp3dconfig.json")
20  Q_INTERFACES(swift::gui::IPluginConfig)
21 
22  public:
24  CSimulatorP3DConfig(QObject *parent = nullptr);
25 
27  virtual ~CSimulatorP3DConfig() {}
28 
30  swift::gui::CPluginConfigWindow *createConfigWindow(QWidget *parent) override;
31  };
32 } // namespace swift::simplugin::p3d
33 
34 #endif // SWIFT_SIMPLUGIN_P3D_SIMULATORP3DCONFIG_H
Base class for plugin config window.
The interface for the plugin config.
Definition: pluginconfig.h:27
Window for setting up the P3D plugin.
CSimulatorP3DConfig(QObject *parent=nullptr)
Ctor.
swift::gui::CPluginConfigWindow * createConfigWindow(QWidget *parent)
Creates a new config window and returns its pointer.