Qt Utilities  5.7.0
Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models
aboutdialog.h
Go to the documentation of this file.
1 #ifndef DIALOGS_ABOUTDIALOG_H
2 #define DIALOGS_ABOUTDIALOG_H
3 
4 #include "../global.h"
5 
6 #include <QDialog>
7 
8 #include <memory>
9 
10 QT_FORWARD_DECLARE_CLASS(QGraphicsScene)
11 
12 namespace Dialogs {
13 
14 namespace Ui {
15 class AboutDialog;
16 }
17 
18 class QT_UTILITIES_EXPORT AboutDialog : public QDialog {
19  Q_OBJECT
20 
21 public:
22  explicit AboutDialog(QWidget *parent, const QString &applicationName, const QString &creator, const QString &version,
23  const QString &website = QString(), const QString &description = QString(), const QImage &image = QImage());
24  explicit AboutDialog(QWidget *parent, const QString &description = QString(), const QImage &image = QImage());
25  ~AboutDialog();
26 
27 private:
28  std::unique_ptr<Ui::AboutDialog> m_ui;
29  QGraphicsScene *m_iconScene;
30 };
31 }
32 
33 #endif // DIALOGS_ABOUTDIALOG_H
#define QT_UTILITIES_EXPORT
Marks the symbol to be exported by the qtutilities library.
Provides common dialogs such as AboutDialog, EnterPasswordDialog and SettingsDialog.
Definition: dialogutils.h:12
The AboutDialog class provides a simple about dialog.
Definition: aboutdialog.h:18