aboutdialog.h
author insilmaril
Mon Jul 09 10:23:39 2007 +0000 (2007-07-09)
changeset 542 4fdcbccbc1da
parent 390 0e1aeb21cb78
child 567 70b500879182
permissions -rw-r--r--
GPL V2. Added settings to documentation
     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   \subsection step1 Step 1: Opening the box
    28    
    29   etc...
    30 */
    31 
    32 
    33 
    34 /*! \brief Dialog showing authors, version and license
    35 */
    36 
    37 
    38 class AboutDialog :public QDialog
    39 {
    40 	Q_OBJECT
    41 
    42 public:
    43 	AboutDialog(QWidget* parent = 0, const char* name = 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 
    57 /*! \brief Overloaded QTextBrowser which is used in AboutDialog
    58 */
    59 class AboutTextBrowser : public QTextBrowser
    60 {
    61   Q_OBJECT;
    62  public:
    63   AboutTextBrowser(QWidget *parent, const char *name = 0);
    64  public slots:
    65 	virtual void setSource(const QUrl &url);
    66 };
    67 
    68 #endif