author | insilmaril |
Tue Mar 06 19:37:39 2007 +0000 (2007-03-06) | |
changeset 434 | c585be63ec69 |
parent 364 | 7b74fa3772bf |
child 460 | 12e763c3e486 |
permissions | -rw-r--r-- |
insilmaril@149 | 1 |
#ifndef ABOUTDIALOG_H |
insilmaril@149 | 2 |
#define ABOUTDIALOG_H |
insilmaril@149 | 3 |
|
insilmaril@364 | 4 |
#include <QTabWidget> |
insilmaril@364 | 5 |
#include <QTextBrowser> |
insilmaril@364 | 6 |
#include <QLayout> |
insilmaril@364 | 7 |
#include <QDialog> |
insilmaril@364 | 8 |
#include <QPushButton> |
insilmaril@364 | 9 |
#include <QString> |
insilmaril@390 | 10 |
#include <QMessageBox> |
insilmaril@149 | 11 |
|
jhilmer@153 | 12 |
class AboutTextBrowser; |
insilmaril@149 | 13 |
///////////////////////////////////////////////////////////////////////////// |
insilmaril@149 | 14 |
class AboutDialog :public QDialog |
insilmaril@149 | 15 |
{ |
insilmaril@150 | 16 |
Q_OBJECT |
insilmaril@150 | 17 |
|
insilmaril@149 | 18 |
public: |
insilmaril@150 | 19 |
AboutDialog(QWidget* parent = 0, const char* name = 0); |
insilmaril@150 | 20 |
|
insilmaril@149 | 21 |
private: |
insilmaril@149 | 22 |
QTabWidget *tabs; |
jhilmer@153 | 23 |
AboutTextBrowser *credits; |
jhilmer@153 | 24 |
AboutTextBrowser *license; |
insilmaril@149 | 25 |
|
insilmaril@364 | 26 |
QLayout *mainLayout; |
insilmaril@364 | 27 |
QLayout *topLayout; |
insilmaril@364 | 28 |
QLayout *bottomLayout; |
insilmaril@149 | 29 |
QPushButton *okbutton; |
insilmaril@149 | 30 |
|
insilmaril@149 | 31 |
}; |
insilmaril@149 | 32 |
|
jhilmer@153 | 33 |
class AboutTextBrowser : public QTextBrowser |
jhilmer@153 | 34 |
{ |
jhilmer@153 | 35 |
Q_OBJECT; |
jhilmer@153 | 36 |
public: |
jhilmer@153 | 37 |
AboutTextBrowser(QWidget *parent, const char *name = 0); |
jhilmer@153 | 38 |
public slots: |
insilmaril@364 | 39 |
virtual void setSource(const QUrl &url); |
jhilmer@153 | 40 |
}; |
jhilmer@153 | 41 |
|
insilmaril@149 | 42 |
#endif |