swift
settingsvatsimreaderscomponent.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2016 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_SETTINGSVATSIMREADERSCOMPONENT_H
7 #define SWIFT_GUI_COMPONENTS_SETTINGSVATSIMREADERSCOMPONENT_H
8 
9 #include <QFrame>
10 #include <QScopedPointer>
11 
13 
14 namespace Ui
15 {
16  class CSettingsVatsimReadersComponent;
17 }
18 
19 namespace swift::gui::components
20 {
24  class CSettingsVatsimReadersComponent : public QFrame
25  {
26  Q_OBJECT
27 
28  public:
30  explicit CSettingsVatsimReadersComponent(QWidget *parent = nullptr);
31 
34 
35  private:
36  void onSettingsChanged();
37  void save();
38  void reload();
39  void initValues();
40 
41  QScopedPointer<Ui::CSettingsVatsimReadersComponent> ui;
43  this, &CSettingsVatsimReadersComponent::onSettingsChanged
44  };
46  this, &CSettingsVatsimReadersComponent::onSettingsChanged
47  };
48  };
49 } // namespace swift::gui::components
50 
51 #endif // SWIFT_GUI_COMPONENTS_SETTINGSVATSIMREADERSCOMPONENT_H
High level reusable GUI components.
Definition: aboutdialog.cpp:13