aboutdialog.h
author insilmaril
Tue Apr 10 13:22:54 2007 +0000 (2007-04-10)
changeset 448 2ddab62389ec
parent 364 7b74fa3772bf
child 460 12e763c3e486
permissions -rw-r--r--
1.8.71 Basic support for 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