aboutdialog.h
branchqt4-port
changeset 2 608f976aa7bb
child 8 21379539d952
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/aboutdialog.h	Tue Jun 06 14:58:11 2006 +0000
     1.3 @@ -0,0 +1,41 @@
     1.4 +#ifndef ABOUTDIALOG_H
     1.5 +#define ABOUTDIALOG_H
     1.6 +
     1.7 +#include <qtabwidget.h>
     1.8 +#include <q3textbrowser.h>
     1.9 +#include <qlayout.h>
    1.10 +#include <qdialog.h>
    1.11 +#include <qpushbutton.h>
    1.12 +#include <qstring.h>
    1.13 +
    1.14 +class AboutTextBrowser;
    1.15 +/////////////////////////////////////////////////////////////////////////////
    1.16 +class AboutDialog :public QDialog
    1.17 +{
    1.18 +	Q_OBJECT
    1.19 +
    1.20 +public:
    1.21 +	AboutDialog(QWidget* parent = 0, const char* name = 0);
    1.22 +
    1.23 +private:
    1.24 +	QTabWidget *tabs;
    1.25 +	AboutTextBrowser *credits;
    1.26 +	AboutTextBrowser *license;
    1.27 +
    1.28 +	QLayout *mainLayout;
    1.29 +	QLayout *topLayout;
    1.30 +	QLayout *bottomLayout;
    1.31 +	QPushButton *okbutton;
    1.32 +	
    1.33 +};
    1.34 +
    1.35 +class AboutTextBrowser : public Q3TextBrowser
    1.36 +{
    1.37 +  Q_OBJECT;
    1.38 + public:
    1.39 +  AboutTextBrowser(QWidget *parent, const char *name = 0);
    1.40 + public slots:
    1.41 +   void setSource(const QString &name);
    1.42 +};
    1.43 +
    1.44 +#endif