aboutdialog.h
author insilmaril
Mon Apr 10 11:21:35 2006 +0000 (2006-04-10)
changeset 288 24a51ea91118
parent 153 47cd4ae30000
child 364 7b74fa3772bf
permissions -rw-r--r--
switching to KDE icons
     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