Rev 1187 | Rev 1790 | 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: |
||
1195 | fschmid | 24 | TabGuides( QWidget* parent, struct guidesPrefs *prefsData, struct typoPrefs *prefsData2, double unitBase, QString unit); |
879 | fschmid | 25 | ~TabGuides() {}; |
26 | |||
27 | MSpinBox* majorSpace; |
||
28 | MSpinBox* minorSpace; |
||
29 | MSpinBox* snapDistance; |
||
30 | QCheckBox* checkMargin; |
||
31 | QCheckBox* checkGuides; |
||
32 | QCheckBox* checkBaseline; |
||
33 | QColor colorGuides; |
||
34 | QColor colorMargin; |
||
35 | QColor colorMajorGrid; |
||
36 | QColor colorMinorGrid; |
||
37 | QColor colorBaselineGrid; |
||
38 | QGroupBox* checkGrid; |
||
39 | QGroupBox* groupBox1; |
||
40 | QGroupBox* groupBox2; |
||
1195 | fschmid | 41 | QGroupBox* commonBox; |
42 | QGroupBox* snapBox; |
||
43 | QGroupBox* guideBox; |
||
44 | QGroupBox* marginBox; |
||
45 | QGroupBox* baselineBox; |
||
1187 | fschmid | 46 | QButtonGroup* buttonGroup1; |
47 | QRadioButton* inBackground; |
||
48 | QRadioButton* inForeground; |
||
879 | fschmid | 49 | QLabel* textLabel4; |
50 | QLabel* textLabel5; |
||
51 | QLabel* textLabel6; |
||
52 | QLabel* textLabel7; |
||
53 | QLabel* textLabel8; |
||
54 | QLabel* textLabel82; |
||
55 | QPushButton* majorGridColor; |
||
56 | QPushButton* minorGridColor; |
||
57 | QPushButton* baselineColor; |
||
58 | QPushButton* guideColor; |
||
59 | QPushButton* marginColor; |
||
60 | QSpinBox* grabDistance; |
||
1195 | fschmid | 61 | QLabel* textLabel6a; |
62 | QSpinBox* autoLine; |
||
63 | QLabel* textLabel7a; |
||
64 | MSpinBox* baseGrid; |
||
65 | MSpinBox* baseOffset; |
||
66 | QLabel* textLabel8a; |
||
879 | fschmid | 67 | |
68 | protected slots: |
||
69 | virtual void changeMajorColor(); |
||
70 | virtual void changeMinorColor(); |
||
71 | virtual void changeBaselineColor(); |
||
72 | virtual void changeGuideColor(); |
||
73 | virtual void changeMarginColor(); |
||
74 | |||
75 | protected: |
||
76 | QVBoxLayout* tabGuidesLayout; |
||
77 | QGridLayout* checkGridLayout; |
||
78 | QGridLayout* groupBox1Layout; |
||
79 | QGridLayout* groupBox2Layout; |
||
1195 | fschmid | 80 | QHBoxLayout* commonBoxLayout; |
81 | QGridLayout* snapBoxLayout; |
||
82 | QHBoxLayout* guideBoxLayout; |
||
83 | QHBoxLayout* marginBoxLayout; |
||
84 | QGridLayout* baselineBoxLayout; |
||
85 | QVBoxLayout* buttonGroup1Layout; |
||
879 | fschmid | 86 | QHBoxLayout* layout9; |
87 | }; |
||
88 | #endif |