Back to index

scribus-ng  1.3.4.dfsg+svn20071115
javadocs.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 JAVADOCS_H
00008 #define JAVADOCS_H
00009 
00010 #include <qdialog.h>
00011 #include <qlistbox.h>
00012 #include <qpushbutton.h>
00013 #include <qlayout.h>
00014 #include <qtooltip.h>
00015 
00016 #include "scribusapi.h"
00017 class ScribusDoc;
00018 class ScribusView;
00019 
00020 class SCRIBUS_API JavaDocs : public QDialog
00021 {
00022        Q_OBJECT
00023 
00024 public:
00025        JavaDocs( QWidget* parent, ScribusDoc *doc, ScribusView* vie);
00026        ~JavaDocs() {};
00027 
00028        QListBox* Scripts;
00029        QPushButton* EditScript;
00030        QPushButton* AddScript;
00031        QPushButton* DeleteScript;
00032        QPushButton* ExitDia;
00033        ScribusDoc *Doc;
00034        ScribusView *View;
00035 
00036 private slots:
00037        void slotAdd();
00038        void slotEdit();
00039        void slotDelete();
00040 
00041 signals:
00042        void docChanged(bool);
00043 
00044 protected:
00045        QHBoxLayout* JavaDocsLayout;
00046        QVBoxLayout* Layout1;
00047 };
00048 
00049 #endif // JAVADOCS_H