~ubuntu-branches/ubuntu/wily/qgis/wily

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

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>
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<ui version="4.0">
5
3
 <class>QgsNorthArrowPluginGuiBase</class>
6
 
 <widget class="QDialog" name="QgsNorthArrowPluginGuiBase" >
7
 
  <property name="geometry" >
 
4
 <widget class="QDialog" name="QgsNorthArrowPluginGuiBase">
 
5
  <property name="geometry">
8
6
   <rect>
9
7
    <x>0</x>
10
8
    <y>0</y>
11
 
    <width>457</width>
12
 
    <height>422</height>
 
9
    <width>382</width>
 
10
    <height>193</height>
13
11
   </rect>
14
12
  </property>
15
 
  <property name="windowTitle" >
 
13
  <property name="windowTitle">
16
14
   <string>North Arrow Plugin</string>
17
15
  </property>
18
 
  <property name="windowIcon" >
19
 
   <iconset/>
 
16
  <property name="windowIcon">
 
17
   <iconset>
 
18
    <normaloff/>
 
19
   </iconset>
20
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" >
 
21
  <layout class="QVBoxLayout" name="verticalLayout">
 
22
   <item>
 
23
    <widget class="QSplitter" name="splitter">
 
24
     <property name="orientation">
 
25
      <enum>Qt::Horizontal</enum>
 
26
     </property>
 
27
     <widget class="QLabel" name="pixmapLabel">
 
28
      <property name="sizePolicy">
 
29
       <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
 
30
        <horstretch>0</horstretch>
 
31
        <verstretch>0</verstretch>
 
32
       </sizepolicy>
 
33
      </property>
 
34
      <property name="toolTip">
 
35
       <string>Preview of north arrow</string>
 
36
      </property>
 
37
      <property name="frameShape">
 
38
       <enum>QFrame::Box</enum>
 
39
      </property>
 
40
      <property name="scaledContents">
 
41
       <bool>false</bool>
 
42
      </property>
 
43
      <property name="alignment">
 
44
       <set>Qt::AlignCenter</set>
 
45
      </property>
 
46
     </widget>
 
47
     <widget class="QWidget" name="">
 
48
      <layout class="QGridLayout" name="gridLayout">
 
49
       <item row="0" column="0">
 
50
        <widget class="QLabel" name="textLabel6">
 
51
         <property name="text">
 
52
          <string>Angle</string>
 
53
         </property>
 
54
         <property name="buddy">
 
55
          <cstring>sliderRotation</cstring>
 
56
         </property>
 
57
        </widget>
 
58
       </item>
 
59
       <item row="0" column="1">
 
60
        <widget class="QSlider" name="sliderRotation">
 
61
         <property name="toolTip">
 
62
          <string/>
 
63
         </property>
 
64
         <property name="maximum">
 
65
          <number>360</number>
 
66
         </property>
 
67
         <property name="singleStep">
 
68
          <number>1</number>
 
69
         </property>
 
70
         <property name="pageStep">
 
71
          <number>10</number>
 
72
         </property>
 
73
         <property name="orientation">
 
74
          <enum>Qt::Horizontal</enum>
 
75
         </property>
 
76
        </widget>
 
77
       </item>
 
78
       <item row="0" column="2">
 
79
        <widget class="QSpinBox" name="spinAngle">
 
80
         <property name="maximum">
 
81
          <number>360</number>
 
82
         </property>
 
83
         <property name="singleStep">
 
84
          <number>1</number>
 
85
         </property>
 
86
         <property name="value">
50
87
          <number>0</number>
51
88
         </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>
 
89
        </widget>
 
90
       </item>
 
91
       <item row="1" column="0">
 
92
        <widget class="QLabel" name="textLabel8">
 
93
         <property name="text">
 
94
          <string>Placement</string>
 
95
         </property>
 
96
         <property name="buddy">
 
97
          <cstring>cboPlacement</cstring>
 
98
         </property>
 
99
        </widget>
 
100
       </item>
 
101
       <item row="1" column="1" colspan="2">
 
102
        <widget class="QComboBox" name="cboPlacement">
 
103
         <property name="toolTip">
 
104
          <string>Placement on screen</string>
 
105
         </property>
 
106
         <item>
 
107
          <property name="text">
 
108
           <string>Top Left</string>
 
109
          </property>
 
110
         </item>
 
111
         <item>
 
112
          <property name="text">
 
113
           <string>Top Right</string>
 
114
          </property>
 
115
         </item>
 
116
         <item>
 
117
          <property name="text">
 
118
           <string>Bottom Left</string>
 
119
          </property>
 
120
         </item>
 
121
         <item>
 
122
          <property name="text">
 
123
           <string>Bottom Right</string>
 
124
          </property>
 
125
         </item>
 
126
        </widget>
 
127
       </item>
 
128
       <item row="2" column="0" colspan="3">
 
129
        <widget class="QCheckBox" name="cboxShow">
 
130
         <property name="text">
 
131
          <string>Enable North Arrow</string>
 
132
         </property>
 
133
         <property name="checked">
 
134
          <bool>true</bool>
 
135
         </property>
 
136
        </widget>
 
137
       </item>
 
138
       <item row="3" column="0" colspan="3">
 
139
        <widget class="QCheckBox" name="cboxAutomatic">
 
140
         <property name="toolTip">
 
141
          <string/>
 
142
         </property>
 
143
         <property name="whatsThis">
 
144
          <string/>
 
145
         </property>
 
146
         <property name="text">
 
147
          <string>Set direction automatically</string>
 
148
         </property>
 
149
         <property name="checked">
 
150
          <bool>true</bool>
 
151
         </property>
 
152
        </widget>
 
153
       </item>
 
154
       <item row="4" column="0">
 
155
        <spacer name="verticalSpacer">
 
156
         <property name="orientation">
 
157
          <enum>Qt::Vertical</enum>
 
158
         </property>
 
159
         <property name="sizeHint" stdset="0">
 
160
          <size>
 
161
           <width>20</width>
 
162
           <height>40</height>
 
163
          </size>
 
164
         </property>
 
165
        </spacer>
 
166
       </item>
 
167
      </layout>
 
168
     </widget>
 
169
    </widget>
 
170
   </item>
 
171
   <item>
 
172
    <widget class="QDialogButtonBox" name="buttonBox">
 
173
     <property name="orientation">
 
174
      <enum>Qt::Horizontal</enum>
 
175
     </property>
 
176
     <property name="standardButtons">
 
177
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
319
178
     </property>
320
179
    </widget>
321
180
   </item>
322
181
  </layout>
323
182
 </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>
 
183
 <layoutdefault spacing="6" margin="11"/>
 
184
 <tabstops>
 
185
  <tabstop>sliderRotation</tabstop>
 
186
  <tabstop>spinAngle</tabstop>
 
187
  <tabstop>cboPlacement</tabstop>
 
188
  <tabstop>cboxShow</tabstop>
 
189
  <tabstop>cboxAutomatic</tabstop>
 
190
  <tabstop>buttonBox</tabstop>
 
191
 </tabstops>
335
192
 <resources>
336
 
  <include location="northarrow_plugin.qrc" />
 
193
  <include location="northarrow_plugin.qrc"/>
337
194
 </resources>
338
195
 <connections>
339
196
  <connection>
342
199
   <receiver>spinAngle</receiver>
343
200
   <slot>setValue(int)</slot>
344
201
   <hints>
345
 
    <hint type="sourcelabel" >
 
202
    <hint type="sourcelabel">
346
203
     <x>374</x>
347
204
     <y>257</y>
348
205
    </hint>
349
 
    <hint type="destinationlabel" >
 
206
    <hint type="destinationlabel">
350
207
     <x>527</x>
351
208
     <y>259</y>
352
209
    </hint>
358
215
   <receiver>sliderRotation</receiver>
359
216
   <slot>setValue(int)</slot>
360
217
   <hints>
361
 
    <hint type="sourcelabel" >
 
218
    <hint type="sourcelabel">
362
219
     <x>524</x>
363
220
     <y>244</y>
364
221
    </hint>
365
 
    <hint type="destinationlabel" >
 
222
    <hint type="destinationlabel">
366
223
     <x>351</x>
367
224
     <y>263</y>
368
225
    </hint>