aboutdialog.h
author insilmaril
Wed, 11 Apr 2007 09:21:17 +0000
changeset 456 8cc3cb71f345
parent 390 0e1aeb21cb78
child 460 12e763c3e486
permissions -rw-r--r--
Updated documentation about macros
     1 #ifndef ABOUTDIALOG_H
     2 #define ABOUTDIALOG_H
     3 
     4 #include <QTabWidget>
     5 #include <QTextBrowser>
     6 #include <QLayout>
     7 #include <QDialog>
     8 #include <QPushButton>
     9 #include <QString>
    10 #include <QMessageBox>
    11 
    12 class AboutTextBrowser;
    13 /////////////////////////////////////////////////////////////////////////////
    14 class AboutDialog :public QDialog
    15 {
    16 	Q_OBJECT
    17 
    18 public:
    19 	AboutDialog(QWidget* parent = 0, const char* name = 0);
    20 
    21 private:
    22 	QTabWidget *tabs;
    23 	AboutTextBrowser *credits;
    24 	AboutTextBrowser *license;
    25 
    26 	QLayout *mainLayout;
    27 	QLayout *topLayout;
    28 	QLayout *bottomLayout;
    29 	QPushButton *okbutton;
    30 	
    31 };
    32 
    33 class AboutTextBrowser : public QTextBrowser
    34 {
    35   Q_OBJECT;
    36  public:
    37   AboutTextBrowser(QWidget *parent, const char *name = 0);
    38  public slots:
    39 	virtual void setSource(const QUrl &url);
    40 };
    41 
    42 #endif