-
Notifications
You must be signed in to change notification settings - Fork 7
/
aboutdialog.h
72 lines (50 loc) · 1.45 KB
/
aboutdialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#ifndef ABOUTDIALOG_H
#define ABOUTDIALOG_H
#include <QTabWidget>
#include <QTextBrowser>
#include <QLayout>
#include <QDialog>
#include <QPushButton>
#include <QString>
#include <QMessageBox>
class AboutTextBrowser;
/*! \mainpage View Your Mind - Development documentation
\section intro_sec Introduction
VYM (View Your Mind) is a tool to generate and manipulate maps which
show your thoughts. Such maps can help you to improve your creativity
and effectivity. You can use them for time management, to organize
tasks, to get an overview over complex contexts, to sort your ideas
etc. Some people even think it is fun to work with such maps...
\section install_sec Installation
Please look at the INSTALL.TXT file
\section doc_sec Documentation
The complete documentation is available as a PDF file. Please look
into the doc subdirectory.
*/
/*! \brief Dialog showing authors, version and license
*/
class AboutDialog :public QDialog
{
Q_OBJECT
public:
AboutDialog(QWidget* parent = 0);
private:
QTabWidget *tabs;
AboutTextBrowser *credits;
AboutTextBrowser *license;
QLayout *mainLayout;
QLayout *topLayout;
QLayout *bottomLayout;
QPushButton *okbutton;
};
/*! \brief Overloaded QTextBrowser which is used in AboutDialog
*/
class AboutTextBrowser : public QTextBrowser
{
Q_OBJECT;
public:
AboutTextBrowser(QWidget *parent);
public slots:
virtual void setSource(const QUrl &url);
};
#endif