aboutdialog.h
author insilmaril
Mon, 30 Jul 2007 09:47:07 +0000
changeset 569 df32d920b04e
parent 567 70b500879182
permissions -rw-r--r--
1.9.4 New base class for XML based file parsing (vym & Freemind)
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@567
    24
  
insilmaril@567
    25
  \section install_sec Installation
insilmaril@567
    26
insilmaril@567
    27
  Please look at the INSTALL.TXT file 
insilmaril@460
    28
 
insilmaril@567
    29
  \section doc_sec Documentation
insilmaril@567
    30
insilmaril@567
    31
  The complete documentation is available as a PDF file. Please look
insilmaril@567
    32
  into the doc subdirectory.
insilmaril@567
    33
insilmaril@460
    34
*/
insilmaril@460
    35
insilmaril@460
    36
insilmaril@460
    37
insilmaril@460
    38
/*! \brief Dialog showing authors, version and license
insilmaril@460
    39
*/
insilmaril@460
    40
insilmaril@460
    41
insilmaril@149
    42
class AboutDialog :public QDialog
insilmaril@149
    43
{
insilmaril@150
    44
	Q_OBJECT
insilmaril@150
    45
insilmaril@149
    46
public:
insilmaril@150
    47
	AboutDialog(QWidget* parent = 0, const char* name = 0);
insilmaril@150
    48
insilmaril@149
    49
private:
insilmaril@149
    50
	QTabWidget *tabs;
jhilmer@153
    51
	AboutTextBrowser *credits;
jhilmer@153
    52
	AboutTextBrowser *license;
insilmaril@149
    53
insilmaril@364
    54
	QLayout *mainLayout;
insilmaril@364
    55
	QLayout *topLayout;
insilmaril@364
    56
	QLayout *bottomLayout;
insilmaril@149
    57
	QPushButton *okbutton;
insilmaril@149
    58
	
insilmaril@149
    59
};
insilmaril@149
    60
insilmaril@460
    61
/*! \brief Overloaded QTextBrowser which is used in AboutDialog
insilmaril@460
    62
*/
jhilmer@153
    63
class AboutTextBrowser : public QTextBrowser
jhilmer@153
    64
{
jhilmer@153
    65
  Q_OBJECT;
jhilmer@153
    66
 public:
jhilmer@153
    67
  AboutTextBrowser(QWidget *parent, const char *name = 0);
jhilmer@153
    68
 public slots:
insilmaril@364
    69
	virtual void setSource(const QUrl &url);
jhilmer@153
    70
};
jhilmer@153
    71
insilmaril@149
    72
#endif