~ubuntu-branches/ubuntu/hardy/qgis/hardy

« back to all changes in this revision

Viewing changes to src/plugins/north_arrow/pluginguibase.ui

  • Committer: Bazaar Package Importer
  • Author(s): William Grant
  • Date: 2007-05-06 13:42:32 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070506134232-pyli6t388w5asd8x
Tags: 0.8.0-3ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - debian/rules, debian/qgis.install, debian/qgis.dirs debian/qgis.desktop:
    Add and install .desktop.
* debian/qgis.desktop: Remove Applications category; it's not real.
* Modify Maintainer value to match Debian-Maintainer-Field Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<ui version="4.0" >
 
2
 <author></author>
 
3
 <comment></comment>
 
4
 <exportmacro></exportmacro>
 
5
 <class>QgsNorthArrowPluginGuiBase</class>
 
6
 <widget class="QDialog" name="QgsNorthArrowPluginGuiBase" >
 
7
  <property name="geometry" >
 
8
   <rect>
 
9
    <x>0</x>
 
10
    <y>0</y>
 
11
    <width>457</width>
 
12
    <height>422</height>
 
13
   </rect>
 
14
  </property>
 
15
  <property name="windowTitle" >
 
16
   <string>North Arrow Plugin</string>
 
17
  </property>
 
18
  <property name="windowIcon" >
 
19
   <iconset/>
 
20
  </property>
 
21
  <layout class="QGridLayout" >
 
22
   <property name="margin" >
 
23
    <number>9</number>
 
24
   </property>
 
25
   <property name="spacing" >
 
26
    <number>6</number>
 
27
   </property>
 
28
   <item row="1" column="2" >
 
29
    <widget class="QTabWidget" name="tabNorthArrowOptions" >
 
30
     <property name="enabled" >
 
31
      <bool>true</bool>
 
32
     </property>
 
33
     <property name="tabShape" >
 
34
      <enum>QTabWidget::Rounded</enum>
 
35
     </property>
 
36
     <widget class="QWidget" name="tabProperties" >
 
37
      <attribute name="title" >
 
38
       <string>Properties</string>
 
39
      </attribute>
 
40
      <layout class="QVBoxLayout" >
 
41
       <property name="margin" >
 
42
        <number>0</number>
 
43
       </property>
 
44
       <property name="spacing" >
 
45
        <number>6</number>
 
46
       </property>
 
47
       <item>
 
48
        <layout class="QGridLayout" >
 
49
         <property name="margin" >
 
50
          <number>0</number>
 
51
         </property>
 
52
         <property name="spacing" >
 
53
          <number>6</number>
 
54
         </property>
 
55
         <item row="1" column="0" >
 
56
          <widget class="QLabel" name="textLabel6" >
 
57
           <property name="text" >
 
58
            <string>Angle</string>
 
59
           </property>
 
60
          </widget>
 
61
         </item>
 
62
         <item row="2" column="0" >
 
63
          <widget class="QLabel" name="textLabel8" >
 
64
           <property name="text" >
 
65
            <string>Placement</string>
 
66
           </property>
 
67
          </widget>
 
68
         </item>
 
69
         <item row="4" column="1" >
 
70
          <widget class="QCheckBox" name="cboxAutomatic" >
 
71
           <property name="toolTip" >
 
72
            <string/>
 
73
           </property>
 
74
           <property name="whatsThis" >
 
75
            <string/>
 
76
           </property>
 
77
           <property name="text" >
 
78
            <string>Set direction automatically</string>
 
79
           </property>
 
80
           <property name="checked" >
 
81
            <bool>true</bool>
 
82
           </property>
 
83
          </widget>
 
84
         </item>
 
85
         <item row="3" column="1" >
 
86
          <widget class="QCheckBox" name="cboxShow" >
 
87
           <property name="text" >
 
88
            <string>Enable North Arrow</string>
 
89
           </property>
 
90
           <property name="checked" >
 
91
            <bool>true</bool>
 
92
           </property>
 
93
          </widget>
 
94
         </item>
 
95
         <item row="1" column="1" >
 
96
          <layout class="QGridLayout" >
 
97
           <property name="margin" >
 
98
            <number>0</number>
 
99
           </property>
 
100
           <property name="spacing" >
 
101
            <number>6</number>
 
102
           </property>
 
103
           <item row="0" column="0" >
 
104
            <widget class="QSlider" name="sliderRotation" >
 
105
             <property name="toolTip" >
 
106
              <string/>
 
107
             </property>
 
108
             <property name="maximum" >
 
109
              <number>360</number>
 
110
             </property>
 
111
             <property name="singleStep" >
 
112
              <number>1</number>
 
113
             </property>
 
114
             <property name="pageStep" >
 
115
              <number>10</number>
 
116
             </property>
 
117
             <property name="orientation" >
 
118
              <enum>Qt::Horizontal</enum>
 
119
             </property>
 
120
            </widget>
 
121
           </item>
 
122
           <item row="0" column="1" >
 
123
            <widget class="QSpinBox" name="spinAngle" >
 
124
             <property name="maximum" >
 
125
              <number>360</number>
 
126
             </property>
 
127
             <property name="singleStep" >
 
128
              <number>1</number>
 
129
             </property>
 
130
             <property name="value" >
 
131
              <number>0</number>
 
132
             </property>
 
133
            </widget>
 
134
           </item>
 
135
          </layout>
 
136
         </item>
 
137
         <item row="2" column="1" >
 
138
          <widget class="QComboBox" name="cboPlacement" >
 
139
           <property name="toolTip" >
 
140
            <string>Placement on screen</string>
 
141
           </property>
 
142
           <item>
 
143
            <property name="text" >
 
144
             <string>Top Left</string>
 
145
            </property>
 
146
           </item>
 
147
           <item>
 
148
            <property name="text" >
 
149
             <string>Top Right</string>
 
150
            </property>
 
151
           </item>
 
152
           <item>
 
153
            <property name="text" >
 
154
             <string>Bottom Left</string>
 
155
            </property>
 
156
           </item>
 
157
           <item>
 
158
            <property name="text" >
 
159
             <string>Bottom Right</string>
 
160
            </property>
 
161
           </item>
 
162
          </widget>
 
163
         </item>
 
164
         <item row="0" column="0" colspan="2" >
 
165
          <widget class="QLabel" name="pixmapLabel" >
 
166
           <property name="toolTip" >
 
167
            <string>Preview of north arrow</string>
 
168
           </property>
 
169
           <property name="frameShape" >
 
170
            <enum>QFrame::Box</enum>
 
171
           </property>
 
172
           <property name="scaledContents" >
 
173
            <bool>false</bool>
 
174
           </property>
 
175
           <property name="alignment" >
 
176
            <set>Qt::AlignCenter</set>
 
177
           </property>
 
178
          </widget>
 
179
         </item>
 
180
        </layout>
 
181
       </item>
 
182
      </layout>
 
183
     </widget>
 
184
     <widget class="QWidget" name="tabIcon" >
 
185
      <attribute name="title" >
 
186
       <string>Icon</string>
 
187
      </attribute>
 
188
      <layout class="QGridLayout" >
 
189
       <property name="margin" >
 
190
        <number>0</number>
 
191
       </property>
 
192
       <property name="spacing" >
 
193
        <number>6</number>
 
194
       </property>
 
195
       <item row="0" column="0" >
 
196
        <widget class="QLineEdit" name="txtDirectory" />
 
197
       </item>
 
198
       <item row="0" column="1" >
 
199
        <widget class="QPushButton" name="btnBrowse" >
 
200
         <property name="text" >
 
201
          <string>...</string>
 
202
         </property>
 
203
        </widget>
 
204
       </item>
 
205
       <item row="1" column="0" colspan="2" >
 
206
        <widget class="Q3IconView" name="iconView" >
 
207
         <item>
 
208
          <property name="text" >
 
209
           <string>New Item</string>
 
210
          </property>
 
211
         </item>
 
212
        </widget>
 
213
       </item>
 
214
      </layout>
 
215
     </widget>
 
216
    </widget>
 
217
   </item>
 
218
   <item row="2" column="0" colspan="3" >
 
219
    <layout class="QHBoxLayout" >
 
220
     <property name="margin" >
 
221
      <number>0</number>
 
222
     </property>
 
223
     <property name="spacing" >
 
224
      <number>6</number>
 
225
     </property>
 
226
     <item>
 
227
      <spacer>
 
228
       <property name="orientation" >
 
229
        <enum>Qt::Horizontal</enum>
 
230
       </property>
 
231
       <property name="sizeType" >
 
232
        <enum>QSizePolicy::Expanding</enum>
 
233
       </property>
 
234
       <property name="sizeHint" >
 
235
        <size>
 
236
         <width>351</width>
 
237
         <height>31</height>
 
238
        </size>
 
239
       </property>
 
240
      </spacer>
 
241
     </item>
 
242
     <item>
 
243
      <widget class="QPushButton" name="pbnOK" >
 
244
       <property name="text" >
 
245
        <string>&amp;OK</string>
 
246
       </property>
 
247
       <property name="shortcut" >
 
248
        <string>Alt+O</string>
 
249
       </property>
 
250
      </widget>
 
251
     </item>
 
252
     <item>
 
253
      <widget class="QPushButton" name="pbnCancel" >
 
254
       <property name="text" >
 
255
        <string>&amp;Cancel</string>
 
256
       </property>
 
257
       <property name="shortcut" >
 
258
        <string>Alt+C</string>
 
259
       </property>
 
260
      </widget>
 
261
     </item>
 
262
    </layout>
 
263
   </item>
 
264
   <item row="0" column="2" >
 
265
    <widget class="QLabel" name="txtHeading" >
 
266
     <property name="sizePolicy" >
 
267
      <sizepolicy>
 
268
       <hsizetype>5</hsizetype>
 
269
       <vsizetype>1</vsizetype>
 
270
       <horstretch>0</horstretch>
 
271
       <verstretch>0</verstretch>
 
272
      </sizepolicy>
 
273
     </property>
 
274
     <property name="font" >
 
275
      <font>
 
276
       <family>Sans Serif</family>
 
277
       <pointsize>24</pointsize>
 
278
       <weight>50</weight>
 
279
       <italic>false</italic>
 
280
       <bold>false</bold>
 
281
       <underline>false</underline>
 
282
       <strikeout>false</strikeout>
 
283
      </font>
 
284
     </property>
 
285
     <property name="text" >
 
286
      <string>North Arrow Plugin</string>
 
287
     </property>
 
288
     <property name="alignment" >
 
289
      <set>Qt::AlignCenter</set>
 
290
     </property>
 
291
    </widget>
 
292
   </item>
 
293
   <item rowspan="2" row="0" column="1" >
 
294
    <widget class="Line" name="line1" >
 
295
     <property name="maximumSize" >
 
296
      <size>
 
297
       <width>2</width>
 
298
       <height>32767</height>
 
299
      </size>
 
300
     </property>
 
301
     <property name="frameShape" >
 
302
      <enum>QFrame::VLine</enum>
 
303
     </property>
 
304
     <property name="frameShadow" >
 
305
      <enum>QFrame::Sunken</enum>
 
306
     </property>
 
307
     <property name="orientation" >
 
308
      <enum>Qt::Vertical</enum>
 
309
     </property>
 
310
    </widget>
 
311
   </item>
 
312
   <item rowspan="2" row="0" column="0" >
 
313
    <widget class="QLabel" name="label" >
 
314
     <property name="text" >
 
315
      <string/>
 
316
     </property>
 
317
     <property name="pixmap" >
 
318
      <pixmap resource="northarrow_plugin.qrc" >:/northarrow.png</pixmap>
 
319
     </property>
 
320
    </widget>
 
321
   </item>
 
322
  </layout>
 
323
 </widget>
 
324
 <layoutdefault spacing="6" margin="11" />
 
325
 <pixmapfunction></pixmapfunction>
 
326
 <customwidgets>
 
327
  <customwidget>
 
328
   <class>Q3IconView</class>
 
329
   <extends></extends>
 
330
   <header>q3iconview.h</header>
 
331
   <container>0</container>
 
332
   <pixmap></pixmap>
 
333
  </customwidget>
 
334
 </customwidgets>
 
335
 <resources>
 
336
  <include location="northarrow_plugin.qrc" />
 
337
 </resources>
 
338
 <connections>
 
339
  <connection>
 
340
   <sender>sliderRotation</sender>
 
341
   <signal>sliderMoved(int)</signal>
 
342
   <receiver>spinAngle</receiver>
 
343
   <slot>setValue(int)</slot>
 
344
   <hints>
 
345
    <hint type="sourcelabel" >
 
346
     <x>374</x>
 
347
     <y>257</y>
 
348
    </hint>
 
349
    <hint type="destinationlabel" >
 
350
     <x>527</x>
 
351
     <y>259</y>
 
352
    </hint>
 
353
   </hints>
 
354
  </connection>
 
355
  <connection>
 
356
   <sender>spinAngle</sender>
 
357
   <signal>valueChanged(int)</signal>
 
358
   <receiver>sliderRotation</receiver>
 
359
   <slot>setValue(int)</slot>
 
360
   <hints>
 
361
    <hint type="sourcelabel" >
 
362
     <x>524</x>
 
363
     <y>244</y>
 
364
    </hint>
 
365
    <hint type="destinationlabel" >
 
366
     <x>351</x>
 
367
     <y>263</y>
 
368
    </hint>
 
369
   </hints>
 
370
  </connection>
 
371
 </connections>
 
372
</ui>