swift
settingsswiftplugin.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_GUI_COMPONENTS_SETTINGSSWIFTPLUGIN_H
7 #define SWIFT_GUI_COMPONENTS_SETTINGSSWIFTPLUGIN_H
8 
9 #include <QFrame>
10 
11 #include "gui/swiftguiexport.h"
13 
14 namespace Ui
15 {
16  class CSettingsSwiftPlugin;
17 }
18 namespace swift::gui::components
19 {
23  class SWIFT_GUI_EXPORT CSettingsSwiftPlugin : public QFrame
24  {
25  Q_OBJECT
26 
27  public:
29  explicit CSettingsSwiftPlugin(QWidget *parent = nullptr);
30 
32  virtual ~CSettingsSwiftPlugin();
33 
36 
37  private:
39  void onSettingsChanged();
40 
42  void save();
43 
46 
47  QScopedPointer<Ui::CSettingsSwiftPlugin> ui;
49  this, &CSettingsSwiftPlugin::onSettingsChanged
50  };
51  };
52 } // namespace swift::gui::components
53 
54 #endif // SWIFT_GUI_COMPONENTS_SETTINGSSWIFTPLUGIN_H
Settings for the swift pseudo driver.
High level reusable GUI components.
Definition: aboutdialog.cpp:13
#define SWIFT_GUI_EXPORT
Export a class or function from the library.