aboutdialog.h
author insilmaril
Mon, 22 Oct 2007 09:50:08 +0000
changeset 608 6cdc2e7b1937
parent 567 70b500879182
permissions -rw-r--r--
Various patches: Better windows support, branch sorting, Freedesktop support
     1 #ifndef ABOUTDIALOG_H
     2 #define ABOUTDIALOG_H
     3 
     4 #include <QTabWidget>
     5 #include <QTextBrowser>
     6 #include <QLayout>
     7 #include <QDialog>
     8 #include <QPushButton>
     9 #include <QString>
    10 #include <QMessageBox>
    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 
    37 
    38 /*! \brief Dialog showing authors, version and license
    39 */
    40 
    41 
    42 class AboutDialog :public QDialog
    43 {
    44 	Q_OBJECT
    45 
    46 public:
    47 	AboutDialog(QWidget* parent = 0, const char* name = 0);
    48 
    49 private:
    50 	QTabWidget *tabs;
    51 	AboutTextBrowser *credits;
    52 	AboutTextBrowser *license;
    53 
    54 	QLayout *mainLayout;
    55 	QLayout *topLayout;
    56 	QLayout *bottomLayout;
    57 	QPushButton *okbutton;
    58 	
    59 };
    60 
    61 /*! \brief Overloaded QTextBrowser which is used in AboutDialog
    62 */
    63 class AboutTextBrowser : public QTextBrowser
    64 {
    65   Q_OBJECT;
    66  public:
    67   AboutTextBrowser(QWidget *parent, const char *name = 0);
    68  public slots:
    69 	virtual void setSource(const QUrl &url);
    70 };
    71 
    72 #endif