File: GeolocalisationConfigWidget.ui

package info (click to toggle)
tulip 6.0.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 196,224 kB
  • sloc: cpp: 571,851; ansic: 13,983; python: 4,105; sh: 1,555; yacc: 522; xml: 484; makefile: 168; pascal: 148; lex: 55
file content (356 lines) | stat: -rw-r--r-- 10,579 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>GeolocalisationConfigWidgetData</class>
 <widget class="QWidget" name="GeolocalisationConfigWidgetData">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>471</width>
    <height>757</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Geolocation</string>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout_2">
   <item>
    <widget class="QLabel" name="label">
     <property name="styleSheet">
      <string notr="true">QLabel { font: bold; }</string>
     </property>
     <property name="text">
      <string>Select geolocation method</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QRadioButton" name="addressLocRB">
     <property name="text">
      <string>By &amp;address</string>
     </property>
     <property name="checked">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QLabel" name="addressLocLabel">
     <property name="text">
      <string>Use the &lt;a href=&quot;https://nominatim.openstreetmap.org/&quot;&gt;Nominatim&lt;/a&gt; geocoding service to get the nodes locations corresponding to the values stored in the&lt;</string>
     </property>
     <property name="wordWrap">
      <bool>true</bool>
     </property>
     <property name="openExternalLinks">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout_3">
     <item>
      <widget class="QLabel" name="addressLabel">
       <property name="styleSheet">
        <string notr="true">QLabel { font: bold; }</string>
       </property>
       <property name="text">
        <string>address property</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="tlp::TulipComboBox" name="addressPropCB">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="maximumSize">
        <size>
         <width>325</width>
         <height>16777215</height>
        </size>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QCheckBox" name="automaticChoiceCB">
     <property name="toolTip">
      <string>&lt;p&gt;If checked, when multiple locations are retrieved the one whose the returned address gives the best match with the input address (i.e the one for whom the input address is found closest to its beginning) is chosen.&lt;br/&gt;If there is no possible match (the input address is not found in any of returned addresses) the first location is chosen.&lt;br/&gt;If not checked, a dialog is then displayed to allow the user to choose among the list of found locations.&lt;br/&gt;In any case, if only one location is retrieved, it is chosen.&lt;/p&gt;</string>
     </property>
     <property name="text">
      <string>Automatic choice</string>
     </property>
     <property name="checked">
      <bool>false</bool>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QCheckBox" name="createLatLngPropsCB">
     <property name="toolTip">
      <string>If checked, a &quot;latitude&quot; and &quot;longitude&quot; properties are created to store the locations retrieved from the geocoding service</string>
     </property>
     <property name="text">
      <string>Store locations in latitude/longitude properties</string>
     </property>
     <property name="checked">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QCheckBox" name="resetLatLngValuesCB">
     <property name="toolTip">
      <string>If not checked, when latitude/longitude values are already set  they are not retrieved from geocoding service.</string>
     </property>
     <property name="text">
      <string>Recompute all latitude/longitude values</string>
     </property>
     <property name="checked">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item>
    <widget class="Line" name="line">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QRadioButton" name="latLngRB">
     <property name="text">
      <string>By &amp;latitude/longitude</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QLabel" name="label_3">
     <property name="text">
      <string>Use the nodes locations stored in latitude/longitude properties</string>
     </property>
     <property name="wordWrap">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item>
    <layout class="QGridLayout" name="gridLayout">
     <item row="0" column="3">
      <widget class="tlp::TulipComboBox" name="latPropCB">
       <property name="enabled">
        <bool>false</bool>
       </property>
       <property name="sizePolicy">
        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
      </widget>
     </item>
     <item row="0" column="2">
      <widget class="QLabel" name="latitudeLabel">
       <property name="enabled">
        <bool>true</bool>
       </property>
       <property name="styleSheet">
        <string notr="true">QLabel { font: bold; }</string>
       </property>
       <property name="text">
        <string>latitude property</string>
       </property>
      </widget>
     </item>
     <item row="1" column="2">
      <widget class="QLabel" name="longitudeLabel">
       <property name="styleSheet">
        <string notr="true">QLabel { font: bold; }</string>
       </property>
       <property name="text">
        <string>longitude property</string>
       </property>
      </widget>
     </item>
     <item row="1" column="3">
      <widget class="tlp::TulipComboBox" name="lngPropCB">
       <property name="enabled">
        <bool>false</bool>
       </property>
       <property name="sizePolicy">
        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QFrame" name="edgesControlPointsGB">
     <property name="enabled">
      <bool>false</bool>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout">
      <item>
       <widget class="QCheckBox" name="edgesPathsCB">
        <property name="enabled">
         <bool>false</bool>
        </property>
        <property name="text">
         <string>edges pat&amp;hs</string>
        </property>
       </widget>
      </item>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_5">
        <item>
         <widget class="QLabel" name="pathLabel">
          <property name="enabled">
           <bool>false</bool>
          </property>
          <property name="text">
           <string>path:</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QComboBox" name="edgesPathsPropertyCB">
          <property name="enabled">
           <bool>false</bool>
          </property>
          <property name="sizePolicy">
           <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
          <property name="toolTip">
           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Select a double vector property containing lists of &lt;br/&gt;latitude/longitude (in the form [lat1, lng1, lat2, lng2, ...]) &lt;br/&gt;defining paths for edges&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout_4">
     <item>
      <spacer name="horizontalSpacer_6">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>40</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
     <item>
      <widget class="QPushButton" name="genLayoutButton">
       <property name="text">
        <string>Generate Layout</string>
       </property>
      </widget>
     </item>
     <item>
      <spacer name="horizontalSpacer_5">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>40</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
    </layout>
   </item>
   <item>
    <spacer name="verticalSpacer">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>20</width>
       <height>40</height>
      </size>
     </property>
    </spacer>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>tlp::TulipComboBox</class>
   <extends>QComboBox</extends>
   <header>tulip/TulipComboBox.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
 <resources/>
 <connections>
  <connection>
   <sender>latLngRB</sender>
   <signal>toggled(bool)</signal>
   <receiver>edgesControlPointsGB</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>235</x>
     <y>238</y>
    </hint>
    <hint type="destinationlabel">
     <x>235</x>
     <y>384</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>edgesPathsCB</sender>
   <signal>toggled(bool)</signal>
   <receiver>edgesPathsPropertyCB</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>235</x>
     <y>366</y>
    </hint>
    <hint type="destinationlabel">
     <x>255</x>
     <y>398</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>edgesPathsCB</sender>
   <signal>toggled(bool)</signal>
   <receiver>pathLabel</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>235</x>
     <y>366</y>
    </hint>
    <hint type="destinationlabel">
     <x>36</x>
     <y>398</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>