author | insilmaril |
Tue Sep 05 10:03:29 2006 +0000 (2006-09-05) | |
changeset 367 | b1e3a4d88f13 |
parent 204 | 657078664946 |
child 390 | 0e1aeb21cb78 |
permissions | -rw-r--r-- |
1 #ifndef ABOUTDIALOG_H
2 #define ABOUTDIALOG_H
4 #include <QTabWidget>
5 #include <QTextBrowser>
6 #include <QLayout>
7 #include <QDialog>
8 #include <QPushButton>
9 #include <QString>
11 class AboutTextBrowser;
12 /////////////////////////////////////////////////////////////////////////////
13 class AboutDialog :public QDialog
14 {
15 Q_OBJECT
17 public:
18 AboutDialog(QWidget* parent = 0, const char* name = 0);
20 private:
21 QTabWidget *tabs;
22 AboutTextBrowser *credits;
23 AboutTextBrowser *license;
25 QLayout *mainLayout;
26 QLayout *topLayout;
27 QLayout *bottomLayout;
28 QPushButton *okbutton;
30 };
32 class AboutTextBrowser : public QTextBrowser
33 {
34 Q_OBJECT;
35 public:
36 AboutTextBrowser(QWidget *parent, const char *name = 0);
37 public slots:
38 virtual void setSource(const QUrl &url);
39 };
41 #endif