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