aboutdialog.h
author insilmaril
Tue Sep 05 11:53:54 2006 +0000 (2006-09-05)
changeset 370 97f5d07bf47d
parent 204 657078664946
child 390 0e1aeb21cb78
permissions -rw-r--r--
fixed default shortcut in findwindow
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@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@364
    25
	QLayout *mainLayout;
insilmaril@364
    26
	QLayout *topLayout;
insilmaril@364
    27
	QLayout *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:
insilmaril@364
    38
	virtual void setSource(const QUrl &url);
jhilmer@153
    39
};
jhilmer@153
    40
insilmaril@149
    41
#endif