swift
dbownmodelsetdialog.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2018 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_DBOWNMODELSETDIALOG_H
7 #define SWIFT_GUI_COMPONENTS_DBOWNMODELSETDIALOG_H
8 
9 #include <QDialog>
10 #include <QScopedPointer>
11 
13 
14 namespace Ui
15 {
16  class CDbOwnModelSetDialog;
17 }
18 namespace swift::gui::components
19 {
20  class CDbOwnModelSetComponent;
21 
23  class CDbOwnModelSetDialog : public QDialog
24  {
25  Q_OBJECT
26 
27  public:
29  explicit CDbOwnModelSetDialog(QWidget *parent = nullptr);
30 
32  virtual ~CDbOwnModelSetDialog() override;
33 
36 
39 
42 
44  void enableButtons(bool firstSet, bool newSet);
45 
46  private:
47  QScopedPointer<Ui::CDbOwnModelSetDialog> ui;
48  };
49 } // namespace swift::gui::components
50 #endif // SWIFT_GUI_COMPONENTS_DBOWNMODELSETDIALOG_H
const CDbOwnModelSetComponent * modelSetComponent() const
Direct access to CDbOwnModelSetComponent.
void setSimulator(const swift::misc::simulation::CSimulatorInfo &simulator)
Simulator.
CDbOwnModelSetDialog(QWidget *parent=nullptr)
Constructor.
void enableButtons(bool firstSet, bool newSet)
Enable buttons.
Simple hardcoded info about the corresponding simulator.
Definition: simulatorinfo.h:41
High level reusable GUI components.
Definition: aboutdialog.cpp:13