aboutdialog.h
author insilmaril
Mon Oct 10 11:20:25 2005 +0000 (2005-10-10)
changeset 166 325958acb69b
parent 150 85eab6b8120b
child 204 657078664946
permissions -rw-r--r--
New mechanism for clipboard
jhilmer@153
     1
/* emacs: -*- Mode: C; c-style: "bsd"; c-basic-offset: 4; c-recognize-knr-p: nil; -*- */
insilmaril@149
     2
#ifndef ABOUTDIALOG_H
insilmaril@149
     3
#define ABOUTDIALOG_H
insilmaril@149
     4
insilmaril@149
     5
#include <qtabwidget.h>
insilmaril@149
     6
#include <qtextbrowser.h>
insilmaril@149
     7
#include <qlayout.h>
insilmaril@149
     8
#include <qdialog.h>
insilmaril@149
     9
#include <qpushbutton.h>
insilmaril@149
    10
#include <qstring.h>
insilmaril@149
    11
jhilmer@153
    12
class AboutTextBrowser;
insilmaril@149
    13
/////////////////////////////////////////////////////////////////////////////
insilmaril@149
    14
class AboutDialog :public QDialog
insilmaril@149
    15
{
insilmaril@150
    16
	Q_OBJECT
insilmaril@150
    17
insilmaril@149
    18
public:
insilmaril@150
    19
	AboutDialog(QWidget* parent = 0, const char* name = 0);
insilmaril@150
    20
insilmaril@149
    21
private:
insilmaril@149
    22
	QTabWidget *tabs;
jhilmer@153
    23
	AboutTextBrowser *credits;
jhilmer@153
    24
	AboutTextBrowser *license;
insilmaril@149
    25
insilmaril@149
    26
	QBoxLayout *mainLayout;
insilmaril@149
    27
	QBoxLayout *topLayout;
insilmaril@149
    28
	QBoxLayout *bottomLayout;
insilmaril@149
    29
	QPushButton *okbutton;
insilmaril@149
    30
	
insilmaril@149
    31
};
insilmaril@149
    32
jhilmer@153
    33
class AboutTextBrowser : public QTextBrowser
jhilmer@153
    34
{
jhilmer@153
    35
  Q_OBJECT;
jhilmer@153
    36
 public:
jhilmer@153
    37
  AboutTextBrowser(QWidget *parent, const char *name = 0);
jhilmer@153
    38
 public slots:
jhilmer@153
    39
   void setSource(const QString &name);
jhilmer@153
    40
};
jhilmer@153
    41
insilmaril@149
    42
#endif