Subversion Repositories Scribus

Rev

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

Rev Author Line No. Line
879 fschmid 1
#ifndef TABGUIDES_H
2
#define TABGUIDES_H
3
 
4
#include <qvariant.h>
5
#include <qwidget.h>
6
class QGridLayout;
7
class QVBoxLayout;
8
class QHBoxLayout;
9
class QGroupBox;
1187 fschmid 10
class QButtonGroup;
11
class QRadioButton;
879 fschmid 12
class QLabel;
13
class MSpinBox;
14
class QSpinBox;
15
class QPushButton;
16
class QCheckBox;
17
class QColor;
18
 
19
class TabGuides : public QWidget
20
{
21
        Q_OBJECT
22
 
23
public:
1065 cbradney 24
        TabGuides( QWidget* parent, struct guidesPrefs *prefsData, double unitBase, QString unit);
879 fschmid 25
        ~TabGuides() {};
26
 
27
        MSpinBox* majorSpace;
28
        MSpinBox* minorSpace;
29
        MSpinBox* snapDistance;
30
        QCheckBox* checkLink;
31
        QCheckBox* checkFrame;
32
        QCheckBox* checkPictures;
33
        QCheckBox* checkMargin;
34
        QCheckBox* checkGuides;
35
        QCheckBox* checkBaseline;
36
        QColor colorGuides;
37
        QColor colorMargin;
38
        QColor colorMajorGrid;
39
        QColor colorMinorGrid;
40
        QColor colorBaselineGrid;
41
        QGroupBox* checkGrid;
42
        QGroupBox* groupBox1;
43
        QGroupBox* groupBox2;
1187 fschmid 44
        QButtonGroup* buttonGroup1;
45
        QRadioButton* inBackground;
46
        QRadioButton* inForeground;
879 fschmid 47
        QLabel* textLabel1;
48
        QLabel* textLabel2;
49
        QLabel* textLabel3;
50
        QLabel* textLabel4;
51
        QLabel* textLabel5;
52
        QLabel* textLabel6;
53
        QLabel* textLabel7;
54
        QLabel* textLabel8;
55
        QLabel* textLabel82;
56
        QPushButton* majorGridColor;
57
        QPushButton* minorGridColor;
58
        QPushButton* baselineColor;
59
        QPushButton* guideColor;
60
        QPushButton* marginColor;
61
        QSpinBox* grabDistance;
62
 
63
protected slots:
64
        virtual void changeMajorColor();
65
        virtual void changeMinorColor();
66
        virtual void changeBaselineColor();
67
        virtual void changeGuideColor();
68
        virtual void changeMarginColor();
69
 
70
protected:
71
        QVBoxLayout* tabGuidesLayout;
72
        QGridLayout* checkGridLayout;
73
        QGridLayout* groupBox1Layout;
74
        QGridLayout* groupBox2Layout;
1187 fschmid 75
        QHBoxLayout* buttonGroup1Layout;
879 fschmid 76
        QGridLayout* layout11;
77
        QHBoxLayout* layout2;
78
        QHBoxLayout* layout3;
79
        QHBoxLayout* layout9;
80
        QGridLayout* layout12;
81
};
82
#endif