aboutdialog.h
author insilmaril
Thu Jul 13 08:40:58 2006 +0000 (2006-07-13)
changeset 357 64819498efbf
parent 153 47cd4ae30000
child 364 7b74fa3772bf
permissions -rw-r--r--
Fixed broken check for non-existen OO-export configuration
     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