aboutdialog.h
author insilmaril
Tue, 03 Jan 2006 09:44:41 +0000
changeset 174 3674e9236634
parent 153 47cd4ae30000
child 204 657078664946
permissions -rw-r--r--
1.7.6 New features for floatimages and fixes
     1 /* emacs: -*- Mode: C; c-style: "bsd"; c-basic-offset: 4; c-recognize-knr-p: nil; -*- */
     2 #ifndef ABOUTDIALOG_H
     3 #define ABOUTDIALOG_H
     4 
     5 #include <qtabwidget.h>
     6 #include <qtextbrowser.h>
     7 #include <qlayout.h>
     8 #include <qdialog.h>
     9 #include <qpushbutton.h>
    10 #include <qstring.h>
    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 	QBoxLayout *mainLayout;
    27 	QBoxLayout *topLayout;
    28 	QBoxLayout *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    void setSource(const QString &name);
    40 };
    41 
    42 #endif