aboutdialog.h
author insilmaril
Tue Jan 24 15:09:48 2006 +0000 (2006-01-24)
changeset 180 60e2297bab39
parent 150 85eab6b8120b
child 204 657078664946
permissions -rw-r--r--
Introduced basic export to Open Document format
     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