X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=src%2Faboutdialog.h;fp=src%2Faboutdialog.h;h=bf2df3885a77d857e5821235a45bab5ca867f861;hb=d483bd8e6523c23c6f1d8908a2e0611c2bc9ff4f;hp=0000000000000000000000000000000000000000;hpb=7dfa3fe589d1722d49681f42cdb0bf1e6efb5223;p=sven%2Fvym.git diff --git a/src/aboutdialog.h b/src/aboutdialog.h new file mode 100644 index 0000000..bf2df38 --- /dev/null +++ b/src/aboutdialog.h @@ -0,0 +1,67 @@ +#ifndef ABOUTDIALOG_H +#define ABOUTDIALOG_H + +#include +#include +#include +#include +#include +#include +#include + +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