Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

about.h

Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #ifndef ABOUT_H
00008 #define ABOUT_H
00009 
00010 #include <QDialog>
00011 #include <QVBoxLayout>
00012 #include <QHBoxLayout>
00013 
00014 #include "scribusapi.h"
00015 
00016 class ScTextBrowser;
00017 class QLabel;
00018 class QWidget;
00019 class QTabWidget;
00020 class QPushButton;
00021 class QShowEvent;
00022 
00023 
00024 class SCRIBUS_API About : public QDialog
00025 { 
00026         Q_OBJECT
00027 
00028 public:
00029 
00030     typedef enum
00031     {
00032         Default = 0,
00033         CheckUpdates = 1
00034     } AboutMode;
00035 
00036     About( QWidget* parent, AboutMode mode = About::Default );
00037     ~About() {};
00038     
00039 protected:
00040     QLabel* pixmapLabel1;
00041     QLabel* buildID;
00042     QPushButton* okButton;
00043     QPushButton* checkForUpdateButton;
00044     QTabWidget* tabWidget2;
00045     QWidget* tab;
00046     QWidget* tab_2;
00047     QWidget* tab_3;
00048     QWidget* tab_4;
00049     QWidget* tab_5;
00050     ScTextBrowser* textView1;
00051     ScTextBrowser* textView2;
00052     ScTextBrowser* textView4;
00053     ScTextBrowser* textView5;
00054     QVBoxLayout* aboutLayout;
00055     QVBoxLayout* updateLayout;
00056     QHBoxLayout* tabLayout;
00057     QVBoxLayout* tabLayout1;
00058     QHBoxLayout* tabLayout_2;
00059     QHBoxLayout* tabLayout_4;
00060     QHBoxLayout* layout2;
00061 
00062     bool         m_firstShow;
00063     AboutMode    m_mode;
00064     virtual void showEvent ( QShowEvent * event ); 
00065 
00066 protected slots:
00067     void runUpdateCheck();
00068 
00069 public slots:
00070     virtual void setVisible (bool visible); 
00071 };
00072 
00073 #endif // ABOUT_H
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.