5
5
<rect >
6
6
<x >0</x >
7
7
<y >0</y >
8
- <width >578 </width >
8
+ <width >556 </width >
9
9
<height >489</height >
10
10
</rect >
11
11
</property >
22
22
<property name =" spacing" >
23
23
<number >6</number >
24
24
</property >
25
+ <item row =" 3" column =" 2" >
26
+ <layout class =" QHBoxLayout" >
27
+ <property name =" margin" >
28
+ <number >0</number >
29
+ </property >
30
+ <property name =" spacing" >
31
+ <number >6</number >
32
+ </property >
33
+ <item >
34
+ <widget class =" QLabel" name =" label" >
35
+ <property name =" text" >
36
+ <string >Color</string >
37
+ </property >
38
+ </widget >
39
+ </item >
40
+ <item >
41
+ <widget class =" QgsColorButton" name =" pbnColorChooser" >
42
+ <property name =" sizePolicy" >
43
+ <sizepolicy >
44
+ <hsizetype >0</hsizetype >
45
+ <vsizetype >7</vsizetype >
46
+ <horstretch >0</horstretch >
47
+ <verstretch >0</verstretch >
48
+ </sizepolicy >
49
+ </property >
50
+ <property name =" minimumSize" >
51
+ <size >
52
+ <width >100</width >
53
+ <height >0</height >
54
+ </size >
55
+ </property >
56
+ </widget >
57
+ </item >
58
+ <item >
59
+ <spacer >
60
+ <property name =" orientation" >
61
+ <enum >Qt::Horizontal</enum >
62
+ </property >
63
+ <property name =" sizeHint" >
64
+ <size >
65
+ <width >40</width >
66
+ <height >20</height >
67
+ </size >
68
+ </property >
69
+ </spacer >
70
+ </item >
71
+ </layout >
72
+ </item >
25
73
<item row =" 0" column =" 2" >
26
74
<widget class =" QTextEdit" name =" textEdit3" >
27
75
<property name =" readOnly" >
30
78
<property name =" html" >
31
79
<string >< html>< head>< meta name="qrichtext" content="1" />< style type="text/css">
32
80
p, li { white-space: pre-wrap; }
33
- < /style>< /head>< body style=" font-family:'MS Shell Dlg 2 '; font-size:8.25pt ; font-weight:400; font-style:normal; text-decoration:none;">
34
- < p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt; ">< span style=" font-size:12pt;">Description< /span>< /p>
35
- < p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt; ">< /p>
36
- < p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt; ">Enter your copyright label below. This plugin supports basic html markup tags for formatting the label. For example:< /p>
37
- < p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt; ">< span style=" font-weight:600;">& lt;B& gt; Bold text & lt;/B& gt; < /span>< /p>
38
- < p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt; font- weight:600;">< span style=" font-weight:400; font-style:italic;">& lt;I& gt; Italics & lt;/I& gt;< /span>< /p>
39
- < p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt; font- style:italic;">< span style=" font-style:normal;">(note: & amp;copy; gives a copyright symbol)< /span>< /p>< /body>< /html></string >
81
+ < /style>< /head>< body style=" font-family:'Sans Serif '; font-size:9pt ; font-weight:400; font-style:normal; text-decoration:none;">
82
+ < p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">< span style=" font-size:12pt;">Description< /span>< /p>
83
+ < p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">< /p>
84
+ < p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Enter your copyright label below. This plugin supports basic html markup tags for formatting the label. For example:< /p>
85
+ < p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">< span style=" font-weight:600;">& lt;B& gt; Bold text & lt;/B& gt; < /span>< /p>
86
+ < p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;">< span style=" font-weight:400; font-style:italic;">& lt;I& gt; Italics & lt;/I& gt;< /span>< /p>
87
+ < p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-style:italic;">< span style=" font-style:normal;">(note: & amp;copy; gives a copyright symbol)< /span>< /p>< /body>< /html></string >
40
88
</property >
41
89
</widget >
42
90
</item >
91
+ <item row =" 4" column =" 2" >
92
+ <layout class =" QHBoxLayout" >
93
+ <property name =" margin" >
94
+ <number >0</number >
95
+ </property >
96
+ <property name =" spacing" >
97
+ <number >6</number >
98
+ </property >
99
+ <item >
100
+ <spacer >
101
+ <property name =" orientation" >
102
+ <enum >Qt::Horizontal</enum >
103
+ </property >
104
+ <property name =" sizeType" >
105
+ <enum >QSizePolicy::Expanding</enum >
106
+ </property >
107
+ <property name =" sizeHint" >
108
+ <size >
109
+ <width >131</width >
110
+ <height >20</height >
111
+ </size >
112
+ </property >
113
+ </spacer >
114
+ </item >
115
+ <item >
116
+ <widget class =" QCheckBox" name =" cboxEnabled" >
117
+ <property name =" text" >
118
+ <string >Enable Copyright Label</string >
119
+ </property >
120
+ <property name =" checked" >
121
+ <bool >true</bool >
122
+ </property >
123
+ </widget >
124
+ </item >
125
+ </layout >
126
+ </item >
43
127
<item row =" 1" column =" 2" >
44
128
<widget class =" QTextEdit" name =" txtCopyrightText" >
45
129
<property name =" html" >
46
130
<string >< html>< head>< meta name="qrichtext" content="1" />< style type="text/css">
47
131
p, li { white-space: pre-wrap; }
48
- < /style>< /head>< body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">
49
- < p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;">< span style=" font-size:14pt;">© QGIS 2006< /span>< /p>< /body>< /html></string >
50
- </property >
51
- </widget >
52
- </item >
53
- <item rowspan =" 4" row =" 0" column =" 1" >
54
- <widget class =" Line" name =" line1" >
55
- <property name =" maximumSize" >
56
- <size >
57
- <width >2</width >
58
- <height >32767</height >
59
- </size >
60
- </property >
61
- <property name =" frameShape" >
62
- <enum >QFrame::VLine</enum >
63
- </property >
64
- <property name =" frameShadow" >
65
- <enum >QFrame::Sunken</enum >
66
- </property >
67
- <property name =" orientation" >
68
- <enum >Qt::Vertical</enum >
69
- </property >
70
- </widget >
71
- </item >
72
- <item rowspan =" 4" row =" 0" column =" 0" >
73
- <widget class =" QLabel" name =" pixmapLabel2" >
74
- <property name =" maximumSize" >
75
- <size >
76
- <width >150</width >
77
- <height >32767</height >
78
- </size >
79
- </property >
80
- <property name =" pixmap" >
81
- <pixmap resource =" copyright_plugin.qrc" >:/copyright.png</pixmap >
82
- </property >
83
- <property name =" scaledContents" >
84
- <bool >true</bool >
132
+ < /style>< /head>< body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
133
+ < p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">< span style=" font-size:14pt;">© QGIS 2006< /span>< /p>< /body>< /html></string >
85
134
</property >
86
135
</widget >
87
136
</item >
@@ -147,43 +196,42 @@ p, li { white-space: pre-wrap; }
147
196
</item >
148
197
</layout >
149
198
</item >
150
- <item row =" 3" column =" 2" >
151
- <layout class =" QHBoxLayout" >
152
- <property name =" margin" >
153
- <number >0</number >
199
+ <item rowspan =" 5" row =" 0" column =" 1" >
200
+ <widget class =" Line" name =" line1" >
201
+ <property name =" maximumSize" >
202
+ <size >
203
+ <width >2</width >
204
+ <height >32767</height >
205
+ </size >
154
206
</property >
155
- <property name =" spacing " >
156
- <number >6</ number >
207
+ <property name =" frameShape " >
208
+ <enum >QFrame::VLine</ enum >
157
209
</property >
158
- <item >
159
- <spacer >
160
- <property name =" orientation" >
161
- <enum >Qt::Horizontal</enum >
162
- </property >
163
- <property name =" sizeType" >
164
- <enum >QSizePolicy::Expanding</enum >
165
- </property >
166
- <property name =" sizeHint" >
167
- <size >
168
- <width >131</width >
169
- <height >20</height >
170
- </size >
171
- </property >
172
- </spacer >
173
- </item >
174
- <item >
175
- <widget class =" QCheckBox" name =" cboxEnabled" >
176
- <property name =" text" >
177
- <string >Enable Copyright Label</string >
178
- </property >
179
- <property name =" checked" >
180
- <bool >true</bool >
181
- </property >
182
- </widget >
183
- </item >
184
- </layout >
210
+ <property name =" frameShadow" >
211
+ <enum >QFrame::Sunken</enum >
212
+ </property >
213
+ <property name =" orientation" >
214
+ <enum >Qt::Vertical</enum >
215
+ </property >
216
+ </widget >
217
+ </item >
218
+ <item rowspan =" 5" row =" 0" column =" 0" >
219
+ <widget class =" QLabel" name =" pixmapLabel2" >
220
+ <property name =" maximumSize" >
221
+ <size >
222
+ <width >150</width >
223
+ <height >32767</height >
224
+ </size >
225
+ </property >
226
+ <property name =" pixmap" >
227
+ <pixmap resource =" copyright_plugin.qrc" >:/copyright.png</pixmap >
228
+ </property >
229
+ <property name =" scaledContents" >
230
+ <bool >true</bool >
231
+ </property >
232
+ </widget >
185
233
</item >
186
- <item row =" 4 " column =" 0" colspan =" 3" >
234
+ <item row =" 5 " column =" 0" colspan =" 3" >
187
235
<widget class =" QDialogButtonBox" name =" buttonBox" >
188
236
<property name =" orientation" >
189
237
<enum >Qt::Horizontal</enum >
@@ -196,6 +244,13 @@ p, li { white-space: pre-wrap; }
196
244
</layout >
197
245
</widget >
198
246
<layoutdefault spacing =" 6" margin =" 11" />
247
+ <customwidgets >
248
+ <customwidget >
249
+ <class >QgsColorButton</class >
250
+ <extends >QToolButton</extends >
251
+ <header >qgscolorbutton.h</header >
252
+ </customwidget >
253
+ </customwidgets >
199
254
<resources >
200
255
<include location =" copyright_plugin.qrc" />
201
256
</resources >
0 commit comments