Subversion Repositories Scribus

Rev

Rev 1194 | Rev 1235 | 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;
3 paul 28
 
838 cbradney 29
 
693 fschmid 30
class ReformDoc : public PrefsDialogBase
31
{
32
        Q_OBJECT
3 paul 33
 
34
public:
1194 fschmid 35
        ReformDoc( QWidget* parent, ScribusDoc* doc );
693 fschmid 36
        ~ReformDoc() {};
37
        QWidget* tabPage;
788 fschmid 38
        QGroupBox* groupBox7;
39
        QGroupBox* groupBox7a;
693 fschmid 40
        QGroupBox* dsGroupBox7;
734 fschmid 41
        QGroupBox* groupScratch;
693 fschmid 42
        QLabel* TextLabel5;
43
        QLabel* TextLabel7;
734 fschmid 44
        QLabel* TextLabel5s;
45
        QLabel* TextLabel7s;
693 fschmid 46
        QLabel* TextLabel1_3;
726 fschmid 47
        QSpinBox* pageNumber;
48
        MSpinBox* topR;
49
        MSpinBox* bottomR;
50
        MSpinBox* leftR;
51
        MSpinBox* rightR;
693 fschmid 52
        MSpinBox* widthMSpinBox;
53
        MSpinBox* heightMSpinBox;
734 fschmid 54
        MSpinBox* topScratch;
55
        MSpinBox* bottomScratch;
56
        MSpinBox* leftScratch;
57
        MSpinBox* rightScratch;
726 fschmid 58
        QCheckBox* facingPages;
59
        QCheckBox* firstPage;
693 fschmid 60
        QLabel* Links;
61
        QLabel* Rechts;
734 fschmid 62
        QLabel* Linkss;
63
        QLabel* Rechtss;
519 cbradney 64
        QLabel* widthQLabel;
65
        QLabel* heightQLabel;
800 fschmid 66
        QLabel* unitQLabel;
519 cbradney 67
        QLabel* sizeQLabel;
68
        QLabel* orientationQLabel;
69
        QComboBox*      sizeQComboBox;
70
        QComboBox*      orientationQComboBox;
1195 fschmid 71
        QCheckBox* checkLink;
72
        QCheckBox* checkFrame;
73
        QCheckBox* checkPictures;
693 fschmid 74
 
879 fschmid 75
        TabGuides* tabGuides;
693 fschmid 76
        QWidget* tabView;
788 fschmid 77
        TabTypograpy* tabTypo;
1194 fschmid 78
        TabTools* tabTools;
795 fschmid 79
        HySettings* tabHyphenator;
80
        CMSPrefs* tabColorManagement;
705 fschmid 81
        QLabel* textLabel9;
82
        QPushButton* backColor;
83
        QButtonGroup* pageBackground;
84
        QCheckBox* checkUnprintable;
734 fschmid 85
        QGroupBox* groupAutoSave;
86
        QLabel* textLabel1m;
87
        QSpinBox* autoSaveTime;
88
        QComboBox* unitCombo;
726 fschmid 89
 
795 fschmid 90
        ScribusApp *ap;
734 fschmid 91
        ScribusDoc* docc;
168 Franz 92
        int einheit;
734 fschmid 93
        int decimals;
94
        double Umrech;
726 fschmid 95
        double pageWidth;
96
        double pageHeight;
705 fschmid 97
        QColor colorPaper;
3 paul 98
 
99
protected:
788 fschmid 100
        QVBoxLayout* reformDocLayout;
693 fschmid 101
        QHBoxLayout* dsGroupBox7Layout;
788 fschmid 102
        QHBoxLayout* groupBox7Layout;
103
        QHBoxLayout* groupBox7aLayout;
734 fschmid 104
        QHBoxLayout* groupScratchLayout;
693 fschmid 105
        QGridLayout* dsLayout4;
788 fschmid 106
        QGridLayout* layout4;
107
        QGridLayout* layout4a;
108
        QGridLayout* layout4s;
693 fschmid 109
        QHBoxLayout* Layout3;
110
        QVBoxLayout* tabViewLayout;
705 fschmid 111
        QVBoxLayout* buttonGroup1Layout;
112
        QHBoxLayout* layout7;
113
        QVBoxLayout* pageBackgroundLayout;
114
        QHBoxLayout* layout10;
734 fschmid 115
        QHBoxLayout* groupAutoSaveLayout;
3 paul 116
 
117
protected slots:
734 fschmid 118
        virtual void unitChange();
705 fschmid 119
        virtual void changePaperColor();
693 fschmid 120
        virtual void setDS();
168 Franz 121
        virtual void setTop(int v);
122
        virtual void setBottom(int v);
123
        virtual void setLeft(int v);
124
        virtual void setRight(int v);
3 paul 125
};
126
 
127
#endif // REFORMDOC_H