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