| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
#ifndef KSNIP_ABOUTDIALOG_H |
| 22 |
#define KSNIP_ABOUTDIALOG_H |
| 23 |
|
| 24 |
#include <QDialog> |
| 25 |
#include <QTabWidget> |
| 26 |
#include <QPushButton> |
| 27 |
|
| 28 |
#include "AboutTab.h" |
| 29 |
#include "VersionTab.h" |
| 30 |
#include "AuthorTab.h" |
| 31 |
#include "DonateTab.h" |
| 32 |
#include "ContactTab.h" |
| 33 |
|
| 34 |
class QLabel; |
| 35 |
class MainWindow; |
| 36 |
|
| 37 |
class AboutDialog : public QDialog |
| 38 |
{ |
| 39 |
Q_OBJECT |
| 40 |
public: |
| 41 |
explicit AboutDialog(QWidget *parent = nullptr); |
| 42 |
~AboutDialog() override; |
| 43 |
|
| 44 |
private: |
| 45 |
QVBoxLayout *mMainLayout; |
| 46 |
QHBoxLayout *mHeaderLayout; |
| 47 |
QTabWidget *mTabWidget; |
| 48 |
QPushButton *mCloseButton; |
| 49 |
AboutTab *mAboutTab; |
| 50 |
VersionTab *mVersionTab; |
| 51 |
AuthorTab *mAuthorTab; |
| 52 |
DonateTab *mDonateTab; |
| 53 |
ContactTab *mContactTab; |
| 54 |
|
| 55 |
void createHeader(); |
| 56 |
}; |
| 57 |
|
| 58 |
#endif |