swift
modelbrowserdialog.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2019 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_MODELBROWSERDIALOG_H
7 #define SWIFT_GUI_COMPONENTS_MODELBROWSERDIALOG_H
8 
9 #include <QDialog>
10 #include <QScopedPointer>
11 
12 #include "gui/swiftguiexport.h"
13 
14 namespace Ui
15 {
16  class CModelBrowserDialog;
17 }
18 namespace swift::gui::components
19 {
21  class SWIFT_GUI_EXPORT CModelBrowserDialog : public QDialog
22  {
23  Q_OBJECT
24 
25  public:
27  explicit CModelBrowserDialog(QWidget *parent = nullptr);
28 
30  virtual ~CModelBrowserDialog() override;
31 
32  protected:
34  virtual bool event(QEvent *event) override;
35 
37  virtual void done(int r) override;
38 
39  private:
40  QScopedPointer<Ui::CModelBrowserDialog> ui;
41  };
42 } // namespace swift::gui::components
43 
44 #endif // SWIFT_GUI_COMPONENTS_MODELBROWSERDIALOG_H
High level reusable GUI components.
Definition: aboutdialog.cpp:13
#define SWIFT_GUI_EXPORT
Export a class or function from the library.