swift
aboutdialog.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_ABOUTDIALOG_H
7 #define SWIFT_GUI_COMPONENTS_ABOUTDIALOG_H
8 
9 #include <QDialog>
10 #include <QScopedPointer>
11 
12 namespace Ui
13 {
14  class CAboutDialog;
15 }
16 namespace swift::gui::components
17 {
21  class CAboutDialog : public QDialog
22  {
23  Q_OBJECT
24 
25  public:
27  explicit CAboutDialog(QWidget *parent = nullptr);
28 
30  virtual ~CAboutDialog() override;
31 
32  private:
34  void init();
35 
36  void loadSwiftLicense();
37  void loadThirdPartyLicenses();
38 
39  QScopedPointer<Ui::CAboutDialog> ui;
40  };
41 } // namespace swift::gui::components
42 
43 #endif // SWIFT_GUI_COMPONENTS_ABOUTDIALOG_H
CAboutDialog(QWidget *parent=nullptr)
Constructor.
Definition: aboutdialog.cpp:14
virtual ~CAboutDialog()
Destructor.
Definition: aboutdialog.cpp:32
High level reusable GUI components.
Definition: aboutdialog.cpp:13