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