aboutdialog.h
author insilmaril
Mon May 08 13:26:08 2006 +0000 (2006-05-08)
changeset 323 31c3d5f142c1
parent 153 47cd4ae30000
child 364 7b74fa3772bf
permissions -rw-r--r--
1.7.16 Small bugfixes
insilmaril@149
     1
#ifndef ABOUTDIALOG_H
insilmaril@149
     2
#define ABOUTDIALOG_H
insilmaril@149
     3
insilmaril@149
     4
#include <qtabwidget.h>
insilmaril@149
     5
#include <qtextbrowser.h>
insilmaril@149
     6
#include <qlayout.h>
insilmaril@149
     7
#include <qdialog.h>
insilmaril@149
     8
#include <qpushbutton.h>
insilmaril@149
     9
#include <qstring.h>
insilmaril@149
    10
jhilmer@153
    11
class AboutTextBrowser;
insilmaril@149
    12
/////////////////////////////////////////////////////////////////////////////
insilmaril@149
    13
class AboutDialog :public QDialog
insilmaril@149
    14
{
insilmaril@150
    15
	Q_OBJECT
insilmaril@150
    16
insilmaril@149
    17
public:
insilmaril@150
    18
	AboutDialog(QWidget* parent = 0, const char* name = 0);
insilmaril@150
    19
insilmaril@149
    20
private:
insilmaril@149
    21
	QTabWidget *tabs;
jhilmer@153
    22
	AboutTextBrowser *credits;
jhilmer@153
    23
	AboutTextBrowser *license;
insilmaril@149
    24
insilmaril@149
    25
	QBoxLayout *mainLayout;
insilmaril@149
    26
	QBoxLayout *topLayout;
insilmaril@149
    27
	QBoxLayout *bottomLayout;
insilmaril@149
    28
	QPushButton *okbutton;
insilmaril@149
    29
	
insilmaril@149
    30
};
insilmaril@149
    31
jhilmer@153
    32
class AboutTextBrowser : public QTextBrowser
jhilmer@153
    33
{
jhilmer@153
    34
  Q_OBJECT;
jhilmer@153
    35
 public:
jhilmer@153
    36
  AboutTextBrowser(QWidget *parent, const char *name = 0);
jhilmer@153
    37
 public slots:
jhilmer@153
    38
   void setSource(const QString &name);
jhilmer@153
    39
};
jhilmer@153
    40
insilmaril@149
    41
#endif