Rev 838 | Rev 924 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3 | paul | 1 | /**************************************************************************** |
2 | ** Form interface generated from reading ui file 'Muster.ui' |
||
3 | ** |
||
4 | ** Created: Thu Nov 1 09:45:36 2001 |
||
5 | ** by: The User Interface Compiler (uic) |
||
6 | ** |
||
7 | ** WARNING! All changes made in this file will be lost! |
||
8 | ****************************************************************************/ |
||
923 | cbradney | 9 | #ifndef MUSTERPages_H |
10 | #define MUSTERPages_H |
||
3 | paul | 11 | |
12 | #include <qdialog.h> |
||
923 | cbradney | 13 | class QListBox; |
14 | class QListBoxItem; |
||
15 | class QPushButton; |
||
16 | class QHBoxLayout; |
||
17 | class QVBoxLayout; |
||
18 | |||
838 | cbradney | 19 | class ScribusDoc; |
923 | cbradney | 20 | class ScribusView; |
3 | paul | 21 | |
923 | cbradney | 22 | class MusterPages : public QDialog |
3 | paul | 23 | { |
24 | Q_OBJECT |
||
25 | |||
26 | public: |
||
923 | cbradney | 27 | MusterPages( QWidget* parent, ScribusDoc *pCurrentDoc, ScribusView *pCurrentView, QString temp); |
28 | ~MusterPages() {}; |
||
29 | void closeEvent(QCloseEvent *closeEvent); |
||
3 | paul | 30 | |
31 | private: |
||
923 | cbradney | 32 | void updateTemplateList(QString templateName); |
33 | QListBox* templateData; |
||
34 | QPushButton* appendButton; |
||
35 | QPushButton* newButton; |
||
36 | QPushButton* duplicateButton; |
||
37 | QPushButton* deleteButton; |
||
38 | QPushButton* closeButton; |
||
39 | ScribusDoc *currentDoc; |
||
40 | ScribusView *currentView; |
||
3 | paul | 41 | QString sMuster; |
923 | cbradney | 42 | QHBoxLayout* musterPagesLayout; |
43 | QVBoxLayout* buttonLayout; |
||
3 | paul | 44 | |
45 | private slots: |
||
923 | cbradney | 46 | void exitEditor(); |
47 | void duplicateTemplate(); |
||
48 | void deleteTemplate(); |
||
49 | void newTemplate(); |
||
50 | void appendPage(); |
||
51 | void selectTemplate(QListBoxItem *item); |
||
168 | Franz | 52 | |
3 | paul | 53 | signals: |
923 | cbradney | 54 | void createNew(int); |
55 | void loadPage(QString, int, bool); |
||
56 | void finished(); |
||
3 | paul | 57 | |
58 | }; |
||
59 | |||
923 | cbradney | 60 | #endif // MUSTERPages_H |