Scribus
Open source desktop publishing at your fingertips
javadocs.h
1 /*
2 For general Scribus (>=1.3.2) copyright and licensing information please refer
3 to the COPYING file provided with the program. Following this notice may exist
4 a copyright and/or license notice that predates the release of Scribus 1.3.2
5 for which a new license (GPL+exception) is in place.
6 */
7 #ifndef JAVADOCS_H
8 #define JAVADOCS_H
9 
10 #include <QDialog>
11 
12 #include "scribusapi.h"
13 class QListWidget;
14 class QPushButton;
15 class QVBoxLayout;
16 class QHBoxLayout;
17 class ScribusDoc;
18 class ScribusView;
19 
20 class SCRIBUS_API JavaDocs : public QDialog
21 {
22  Q_OBJECT
23 
24 public:
25  JavaDocs( QWidget* parent, ScribusDoc *doc, ScribusView* vie);
26  ~JavaDocs() {};
27 
28  QListWidget* Scripts;
29  QPushButton* EditScript;
30  QPushButton* AddScript;
31  QPushButton* DeleteScript;
32  QPushButton* ExitDia;
33 
34 private slots:
35  void slotAdd();
36  void slotEdit();
37  void slotDelete();
38  void slotSelectionChanged();
39 
40 signals:
41  void docChanged(bool);
42 
43 protected:
44  ScribusDoc *m_Doc;
45  ScribusView *m_View;
46 
47  QHBoxLayout* JavaDocsLayout;
48  QVBoxLayout* Layout1;
49 };
50 
51 #endif // JAVADOCS_H
the Document Class
Definition: scribusdoc.h:90
Definition: scribusview.h:87
Definition: javadocs.h:20