swift
cgsourceselector.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2013 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_CGSOURCESELECTOR_H
7 #define SWIFT_GUI_COMPONENTS_CGSOURCESELECTOR_H
8 
9 #include <QFrame>
10 #include <QScopedPointer>
11 
13 
14 namespace Ui
15 {
16  class CCGSourceSelector;
17 }
18 namespace swift::gui::components
19 {
21  class CCGSourceSelector : public QFrame
22  {
23  Q_OBJECT
24 
25  public:
27  explicit CCGSourceSelector(QWidget *parent = nullptr);
28 
30  virtual ~CCGSourceSelector() override;
31 
38 
39  private:
41  void initComboBox();
42 
43  QScopedPointer<Ui::CCGSourceSelector> ui;
44  };
45 } // namespace swift::gui::components
46 
47 #endif // SWIFT_GUI_COMPONENTS_CGSOURCESELECTOR_H
CG (aka vertical offset) selector.
CCGSourceSelector(QWidget *parent=nullptr)
Ctor.
void setValue(const swift::misc::simulation::settings::CSimulatorSettings &settings)
Get/set value.
swift::misc::simulation::settings::CSimulatorSettings::CGSource getValue() const
Get/set value.
Settings for simulator Driver independent parts (such as directories), also used in model loaders.
CGSource
Where we get the CG (aka vertical offset) from.
High level reusable GUI components.
Definition: aboutdialog.cpp:13