Subversion Repositories Scribus

Rev

Rev 1321 | Rev 1684 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 paul 1
#ifndef REFORMDOC_H
2
#define REFORMDOC_H
3
 
4
#include <qlayout.h>
5
#include <qcheckbox.h>
519 cbradney 6
#include <qcombobox.h>
3 paul 7
#include <qgroupbox.h>
705 fschmid 8
#include <qbuttongroup.h>
9
#include <qradiobutton.h>
3 paul 10
#include <qlabel.h>
519 cbradney 11
#include <qlineedit.h>
3 paul 12
#include <qpushbutton.h>
726 fschmid 13
#include <qtoolbutton.h>
705 fschmid 14
#include <qcolor.h>
838 cbradney 15
 
16
#include "scribusstructs.h"
693 fschmid 17
#include "prefsdialogbase.h"
838 cbradney 18
 
19
class QSpinBox;
20
class ScribusDoc;
21
class ScribusApp;
788 fschmid 22
class TabTypograpy;
795 fschmid 23
class HySettings;
24
class CMSPrefs;
838 cbradney 25
class MSpinBox;
879 fschmid 26
class TabGuides;
1194 fschmid 27
class TabTools;
1235 fschmid 28
class TabCheckDoc;
1307 fschmid 29
class TabPDFOptions;
1321 fschmid 30
class FontPrefs;
1641 cbradney 31
class DocumentItemAttributes;
3 paul 32
 
693 fschmid 33
class ReformDoc : public PrefsDialogBase
34
{
35
        Q_OBJECT
3 paul 36
 
37
public:
1194 fschmid 38
        ReformDoc( QWidget* parent, ScribusDoc* doc );
693 fschmid 39
        ~ReformDoc() {};
40
        QWidget* tabPage;
788 fschmid 41
        QGroupBox* groupBox7;
42
        QGroupBox* groupBox7a;
693 fschmid 43
        QGroupBox* dsGroupBox7;
734 fschmid 44
        QGroupBox* groupScratch;
693 fschmid 45
        QLabel* TextLabel5;
46
        QLabel* TextLabel7;
734 fschmid 47
        QLabel* TextLabel5s;
48
        QLabel* TextLabel7s;
693 fschmid 49
        QLabel* TextLabel1_3;
726 fschmid 50
        QSpinBox* pageNumber;
51
        MSpinBox* topR;
52
        MSpinBox* bottomR;
53
        MSpinBox* leftR;
54
        MSpinBox* rightR;
693 fschmid 55
        MSpinBox* widthMSpinBox;
56
        MSpinBox* heightMSpinBox;
734 fschmid 57
        MSpinBox* topScratch;
58
        MSpinBox* bottomScratch;
59
        MSpinBox* leftScratch;
60
        MSpinBox* rightScratch;
726 fschmid 61
        QCheckBox* facingPages;
62
        QCheckBox* firstPage;
693 fschmid 63
        QLabel* Links;
64
        QLabel* Rechts;
734 fschmid 65
        QLabel* Linkss;
66
        QLabel* Rechtss;
519 cbradney 67
        QLabel* widthQLabel;
68
        QLabel* heightQLabel;
800 fschmid 69
        QLabel* unitQLabel;
519 cbradney 70
        QLabel* sizeQLabel;
71
        QLabel* orientationQLabel;
72
        QComboBox*      sizeQComboBox;
73
        QComboBox*      orientationQComboBox;
1195 fschmid 74
        QCheckBox* checkLink;
75
        QCheckBox* checkFrame;
76
        QCheckBox* checkPictures;
693 fschmid 77
 
879 fschmid 78
        TabGuides* tabGuides;
693 fschmid 79
        QWidget* tabView;
788 fschmid 80
        TabTypograpy* tabTypo;
1194 fschmid 81
        TabTools* tabTools;
795 fschmid 82
        HySettings* tabHyphenator;
1321 fschmid 83
        FontPrefs* tabFonts;
1235 fschmid 84
        TabCheckDoc* tabDocChecker;
795 fschmid 85
        CMSPrefs* tabColorManagement;
1307 fschmid 86
        TabPDFOptions* tabPDF;
705 fschmid 87
        QLabel* textLabel9;
88
        QPushButton* backColor;
89
        QButtonGroup* pageBackground;
90
        QCheckBox* checkUnprintable;
734 fschmid 91
        QGroupBox* groupAutoSave;
92
        QLabel* textLabel1m;
93
        QSpinBox* autoSaveTime;
94
        QComboBox* unitCombo;
1641 cbradney 95
        DocumentItemAttributes* tabDocItemAttributes;
795 fschmid 96
        ScribusApp *ap;
734 fschmid 97
        ScribusDoc* docc;
168 Franz 98
        int einheit;
734 fschmid 99
        int decimals;
100
        double Umrech;
726 fschmid 101
        double pageWidth;
102
        double pageHeight;
705 fschmid 103
        QColor colorPaper;
3 paul 104
 
105
protected:
788 fschmid 106
        QVBoxLayout* reformDocLayout;
693 fschmid 107
        QHBoxLayout* dsGroupBox7Layout;
788 fschmid 108
        QHBoxLayout* groupBox7Layout;
109
        QHBoxLayout* groupBox7aLayout;
734 fschmid 110
        QHBoxLayout* groupScratchLayout;
693 fschmid 111
        QGridLayout* dsLayout4;
788 fschmid 112
        QGridLayout* layout4;
113
        QGridLayout* layout4a;
114
        QGridLayout* layout4s;
693 fschmid 115
        QHBoxLayout* Layout3;
116
        QVBoxLayout* tabViewLayout;
705 fschmid 117
        QVBoxLayout* buttonGroup1Layout;
118
        QHBoxLayout* layout7;
119
        QVBoxLayout* pageBackgroundLayout;
120
        QHBoxLayout* layout10;
734 fschmid 121
        QHBoxLayout* groupAutoSaveLayout;
3 paul 122
 
123
protected slots:
734 fschmid 124
        virtual void unitChange();
705 fschmid 125
        virtual void changePaperColor();
693 fschmid 126
        virtual void setDS();
168 Franz 127
        virtual void setTop(int v);
128
        virtual void setBottom(int v);
129
        virtual void setLeft(int v);
130
        virtual void setRight(int v);
1307 fschmid 131
        virtual void switchCMS(bool enable);
3 paul 132
};
133
 
134
#endif // REFORMDOC_H