aboutdialog.h
author insilmaril
Mon Jun 18 15:10:19 2007 +0000 (2007-06-18)
changeset 509 218b0e2c8bfd
parent 390 0e1aeb21cb78
child 567 70b500879182
permissions -rw-r--r--
1.8.73 - beta testing
insilmaril@149
     1
#ifndef ABOUTDIALOG_H
insilmaril@149
     2
#define ABOUTDIALOG_H
insilmaril@149
     3
insilmaril@364
     4
#include <QTabWidget>
insilmaril@364
     5
#include <QTextBrowser>
insilmaril@364
     6
#include <QLayout>
insilmaril@364
     7
#include <QDialog>
insilmaril@364
     8
#include <QPushButton>
insilmaril@364
     9
#include <QString>
insilmaril@390
    10
#include <QMessageBox>
insilmaril@149
    11
jhilmer@153
    12
class AboutTextBrowser;
insilmaril@460
    13
insilmaril@460
    14
/*! \mainpage View Your Mind - Development documentation
insilmaril@460
    15
 
insilmaril@460
    16
  \section intro_sec Introduction
insilmaril@460
    17
 
insilmaril@460
    18
VYM  (View Your Mind) is a tool to generate and manipulate maps which
insilmaril@460
    19
show your thoughts. Such maps can help you to improve your creativity
insilmaril@460
    20
and effectivity. You can use them for time management, to organize
insilmaril@460
    21
tasks, to get an overview over complex contexts, to sort your ideas
insilmaril@460
    22
etc. Some people even think it is fun to work with such maps...
insilmaril@460
    23
insilmaril@460
    24
 
insilmaril@460
    25
  \section install_sec Installation
insilmaril@460
    26
 
insilmaril@460
    27
  \subsection step1 Step 1: Opening the box
insilmaril@460
    28
   
insilmaril@460
    29
  etc...
insilmaril@460
    30
*/
insilmaril@460
    31
insilmaril@460
    32
insilmaril@460
    33
insilmaril@460
    34
/*! \brief Dialog showing authors, version and license
insilmaril@460
    35
*/
insilmaril@460
    36
insilmaril@460
    37
insilmaril@149
    38
class AboutDialog :public QDialog
insilmaril@149
    39
{
insilmaril@150
    40
	Q_OBJECT
insilmaril@150
    41
insilmaril@149
    42
public:
insilmaril@150
    43
	AboutDialog(QWidget* parent = 0, const char* name = 0);
insilmaril@150
    44
insilmaril@149
    45
private:
insilmaril@149
    46
	QTabWidget *tabs;
jhilmer@153
    47
	AboutTextBrowser *credits;
jhilmer@153
    48
	AboutTextBrowser *license;
insilmaril@149
    49
insilmaril@364
    50
	QLayout *mainLayout;
insilmaril@364
    51
	QLayout *topLayout;
insilmaril@364
    52
	QLayout *bottomLayout;
insilmaril@149
    53
	QPushButton *okbutton;
insilmaril@149
    54
	
insilmaril@149
    55
};
insilmaril@149
    56
insilmaril@460
    57
/*! \brief Overloaded QTextBrowser which is used in AboutDialog
insilmaril@460
    58
*/
jhilmer@153
    59
class AboutTextBrowser : public QTextBrowser
jhilmer@153
    60
{
jhilmer@153
    61
  Q_OBJECT;
jhilmer@153
    62
 public:
jhilmer@153
    63
  AboutTextBrowser(QWidget *parent, const char *name = 0);
jhilmer@153
    64
 public slots:
insilmaril@364
    65
	virtual void setSource(const QUrl &url);
jhilmer@153
    66
};
jhilmer@153
    67
insilmaril@149
    68
#endif