Rev 19485 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4430 | cbradney | 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 | */ |
||
3 | paul | 7 | #ifndef JAVADOCS_H |
8 | #define JAVADOCS_H |
||
9 | |||
9774 | fschmid | 10 | #include <QDialog> |
3 | paul | 11 | |
2969 | craig | 12 | #include "scribusapi.h" |
9774 | fschmid | 13 | class QListWidget; |
14 | class QPushButton; |
||
15 | class QVBoxLayout; |
||
16 | class QHBoxLayout; |
||
838 | cbradney | 17 | class ScribusDoc; |
18 | class ScribusView; |
||
19 | |||
2969 | craig | 20 | class SCRIBUS_API JavaDocs : public QDialog |
4201 | fschmid | 21 | { |
22 | Q_OBJECT |
||
3 | paul | 23 | |
24 | public: |
||
4201 | fschmid | 25 | JavaDocs( QWidget* parent, ScribusDoc *doc, ScribusView* vie); |
26 | ~JavaDocs() {}; |
||
3 | paul | 27 | |
24736 | jghali | 28 | QListWidget* Scripts { nullptr }; |
29 | QPushButton* EditScript { nullptr }; |
||
30 | QPushButton* AddScript { nullptr }; |
||
31 | QPushButton* DeleteScript { nullptr }; |
||
32 | QPushButton* ExitDia { nullptr }; |
||
3 | paul | 33 | |
34 | private slots: |
||
168 | Franz | 35 | void slotAdd(); |
36 | void slotEdit(); |
||
37 | void slotDelete(); |
||
19485 | jghali | 38 | void slotSelectionChanged(); |
3 | paul | 39 | |
414 | Franz | 40 | signals: |
41 | void docChanged(bool); |
||
42 | |||
3 | paul | 43 | protected: |
24736 | jghali | 44 | ScribusDoc *m_Doc { nullptr }; |
45 | ScribusView *m_View { nullptr }; |
||
18326 | jghali | 46 | |
24736 | jghali | 47 | QHBoxLayout* JavaDocsLayout { nullptr }; |
48 | QVBoxLayout* Layout1 { nullptr }; |
||
3 | paul | 49 | }; |
50 | |||
51 | #endif // JAVADOCS_H |