Warning, /pim/libkgapi/examples/staticmaps/mainwindow.ui is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8"?> 0002 <ui version="4.0"> 0003 <class>MainWindow</class> 0004 <widget class="QMainWindow" name="MainWindow"> 0005 <property name="geometry"> 0006 <rect> 0007 <x>0</x> 0008 <y>0</y> 0009 <width>1034</width> 0010 <height>761</height> 0011 </rect> 0012 </property> 0013 <property name="windowTitle"> 0014 <string>MainWindow</string> 0015 </property> 0016 <widget class="QWidget" name="centralwidget"> 0017 <widget class="QLabel" name="label"> 0018 <property name="geometry"> 0019 <rect> 0020 <x>20</x> 0021 <y>10</y> 0022 <width>640</width> 0023 <height>640</height> 0024 </rect> 0025 </property> 0026 <property name="text"> 0027 <string/> 0028 </property> 0029 </widget> 0030 <widget class="Line" name="line"> 0031 <property name="geometry"> 0032 <rect> 0033 <x>690</x> 0034 <y>0</y> 0035 <width>16</width> 0036 <height>671</height> 0037 </rect> 0038 </property> 0039 <property name="orientation"> 0040 <enum>Qt::Vertical</enum> 0041 </property> 0042 </widget> 0043 <widget class="QPushButton" name="get"> 0044 <property name="geometry"> 0045 <rect> 0046 <x>710</x> 0047 <y>680</y> 0048 <width>309</width> 0049 <height>24</height> 0050 </rect> 0051 </property> 0052 <property name="text"> 0053 <string>Get image</string> 0054 </property> 0055 </widget> 0056 <widget class="QWidget" name=""> 0057 <property name="geometry"> 0058 <rect> 0059 <x>710</x> 0060 <y>0</y> 0061 <width>311</width> 0062 <height>451</height> 0063 </rect> 0064 </property> 0065 <layout class="QVBoxLayout" name="verticalLayout"> 0066 <item> 0067 <layout class="QHBoxLayout" name="horizontalLayout_4"> 0068 <item> 0069 <widget class="QLabel" name="label_2"> 0070 <property name="text"> 0071 <string>Center (required)</string> 0072 </property> 0073 </widget> 0074 </item> 0075 <item> 0076 <widget class="QComboBox" name="locationType"> 0077 <item> 0078 <property name="text"> 0079 <string>Classic string</string> 0080 </property> 0081 </item> 0082 <item> 0083 <property name="text"> 0084 <string>KABC Address</string> 0085 </property> 0086 </item> 0087 <item> 0088 <property name="text"> 0089 <string>KABC Geo</string> 0090 </property> 0091 </item> 0092 </widget> 0093 </item> 0094 </layout> 0095 </item> 0096 <item> 0097 <widget class="QLineEdit" name="locationString"> 0098 <property name="inputMask"> 0099 <string/> 0100 </property> 0101 <property name="text"> 0102 <string/> 0103 </property> 0104 </widget> 0105 </item> 0106 <item> 0107 <layout class="QHBoxLayout" name="horizontalLayout_3"> 0108 <item> 0109 <widget class="QLineEdit" name="locationCity"/> 0110 </item> 0111 <item> 0112 <widget class="QLineEdit" name="locationStreet"/> 0113 </item> 0114 <item> 0115 <widget class="QSpinBox" name="locationNumber"/> 0116 </item> 0117 </layout> 0118 </item> 0119 <item> 0120 <layout class="QHBoxLayout" name="horizontalLayout"> 0121 <item> 0122 <widget class="QDoubleSpinBox" name="locationLatitude"> 0123 <property name="minimum"> 0124 <double>-90.000000000000000</double> 0125 </property> 0126 <property name="maximum"> 0127 <double>90.000000000000000</double> 0128 </property> 0129 </widget> 0130 </item> 0131 <item> 0132 <widget class="QDoubleSpinBox" name="locationLongitude"> 0133 <property name="minimum"> 0134 <double>-180.000000000000000</double> 0135 </property> 0136 <property name="maximum"> 0137 <double>180.000000000000000</double> 0138 </property> 0139 </widget> 0140 </item> 0141 </layout> 0142 </item> 0143 <item> 0144 <widget class="QLabel" name="label_3"> 0145 <property name="text"> 0146 <string>Zoom (required)</string> 0147 </property> 0148 </widget> 0149 </item> 0150 <item> 0151 <widget class="QSpinBox" name="zoom"> 0152 <property name="maximum"> 0153 <number>21</number> 0154 </property> 0155 </widget> 0156 </item> 0157 <item> 0158 <widget class="QLabel" name="label_4"> 0159 <property name="text"> 0160 <string>Size (required)</string> 0161 </property> 0162 </widget> 0163 </item> 0164 <item> 0165 <layout class="QHBoxLayout" name="horizontalLayout_2"> 0166 <item> 0167 <widget class="QSpinBox" name="width"> 0168 <property name="maximum"> 0169 <number>640</number> 0170 </property> 0171 <property name="value"> 0172 <number>640</number> 0173 </property> 0174 </widget> 0175 </item> 0176 <item> 0177 <widget class="QLabel" name="label_5"> 0178 <property name="maximumSize"> 0179 <size> 0180 <width>20</width> 0181 <height>16777215</height> 0182 </size> 0183 </property> 0184 <property name="text"> 0185 <string comment="X axis">x</string> 0186 </property> 0187 <property name="alignment"> 0188 <set>Qt::AlignCenter</set> 0189 </property> 0190 </widget> 0191 </item> 0192 <item> 0193 <widget class="QSpinBox" name="height"> 0194 <property name="maximum"> 0195 <number>640</number> 0196 </property> 0197 <property name="value"> 0198 <number>640</number> 0199 </property> 0200 </widget> 0201 </item> 0202 </layout> 0203 </item> 0204 <item> 0205 <widget class="QLabel" name="label_6"> 0206 <property name="text"> 0207 <string>Scale (optional)</string> 0208 </property> 0209 </widget> 0210 </item> 0211 <item> 0212 <widget class="QComboBox" name="scale"> 0213 <item> 0214 <property name="text"> 0215 <string>1</string> 0216 </property> 0217 </item> 0218 <item> 0219 <property name="text"> 0220 <string>2</string> 0221 </property> 0222 </item> 0223 </widget> 0224 </item> 0225 <item> 0226 <widget class="QLabel" name="label_7"> 0227 <property name="text"> 0228 <string>Format (optional)</string> 0229 </property> 0230 </widget> 0231 </item> 0232 <item> 0233 <widget class="QComboBox" name="format"> 0234 <item> 0235 <property name="text"> 0236 <string>png</string> 0237 </property> 0238 </item> 0239 <item> 0240 <property name="text"> 0241 <string>png32</string> 0242 </property> 0243 </item> 0244 <item> 0245 <property name="text"> 0246 <string>gif</string> 0247 </property> 0248 </item> 0249 <item> 0250 <property name="text"> 0251 <string>jpg</string> 0252 </property> 0253 </item> 0254 <item> 0255 <property name="text"> 0256 <string>jpg-baseline</string> 0257 </property> 0258 </item> 0259 </widget> 0260 </item> 0261 <item> 0262 <widget class="QLabel" name="label_8"> 0263 <property name="text"> 0264 <string>Map type (optional)</string> 0265 </property> 0266 </widget> 0267 </item> 0268 <item> 0269 <widget class="QComboBox" name="map"> 0270 <item> 0271 <property name="text"> 0272 <string>roadmap</string> 0273 </property> 0274 </item> 0275 <item> 0276 <property name="text"> 0277 <string>satellite</string> 0278 </property> 0279 </item> 0280 <item> 0281 <property name="text"> 0282 <string>terrain</string> 0283 </property> 0284 </item> 0285 <item> 0286 <property name="text"> 0287 <string>hybrid</string> 0288 </property> 0289 </item> 0290 </widget> 0291 </item> 0292 <item> 0293 <widget class="QLabel" name="label_9"> 0294 <property name="text"> 0295 <string>Sensor (required)</string> 0296 </property> 0297 </widget> 0298 </item> 0299 <item> 0300 <widget class="QComboBox" name="sensor"> 0301 <property name="currentIndex"> 0302 <number>0</number> 0303 </property> 0304 <item> 0305 <property name="text"> 0306 <string comment="A boolean value">false</string> 0307 </property> 0308 </item> 0309 <item> 0310 <property name="text"> 0311 <string comment="A boolean value">true</string> 0312 </property> 0313 </item> 0314 </widget> 0315 </item> 0316 </layout> 0317 </widget> 0318 <widget class="QWidget" name=""> 0319 <property name="geometry"> 0320 <rect> 0321 <x>710</x> 0322 <y>460</y> 0323 <width>311</width> 0324 <height>211</height> 0325 </rect> 0326 </property> 0327 <layout class="QVBoxLayout" name="verticalLayout_2"> 0328 <item> 0329 <widget class="QLabel" name="label_10"> 0330 <property name="text"> 0331 <string>Marker (optional)</string> 0332 </property> 0333 </widget> 0334 </item> 0335 <item> 0336 <layout class="QHBoxLayout" name="horizontalLayout_5"> 0337 <item> 0338 <widget class="QLineEdit" name="markerLabel"> 0339 <property name="maximumSize"> 0340 <size> 0341 <width>30</width> 0342 <height>16777215</height> 0343 </size> 0344 </property> 0345 <property name="maxLength"> 0346 <number>1</number> 0347 </property> 0348 </widget> 0349 </item> 0350 <item> 0351 <widget class="QComboBox" name="markerSize"> 0352 <property name="currentIndex"> 0353 <number>3</number> 0354 </property> 0355 <item> 0356 <property name="text"> 0357 <string comment="Marker size">Tiny</string> 0358 </property> 0359 </item> 0360 <item> 0361 <property name="text"> 0362 <string comment="Marker size">Small</string> 0363 </property> 0364 </item> 0365 <item> 0366 <property name="text"> 0367 <string comment="Marker size">Middle</string> 0368 </property> 0369 </item> 0370 <item> 0371 <property name="text"> 0372 <string comment="Marker size">Normal</string> 0373 </property> 0374 </item> 0375 </widget> 0376 </item> 0377 <item> 0378 <widget class="KColorButton" name="markerColor"> 0379 <property name="color"> 0380 <color> 0381 <red>0</red> 0382 <green>0</green> 0383 <blue>192</blue> 0384 </color> 0385 </property> 0386 </widget> 0387 </item> 0388 </layout> 0389 </item> 0390 <item> 0391 <widget class="QLineEdit" name="markerLocation"/> 0392 </item> 0393 <item> 0394 <widget class="QPushButton" name="addMarker"> 0395 <property name="text"> 0396 <string>Add marker</string> 0397 </property> 0398 </widget> 0399 </item> 0400 <item> 0401 <widget class="QListWidget" name="markers"/> 0402 </item> 0403 </layout> 0404 </widget> 0405 </widget> 0406 <widget class="QMenuBar" name="menubar"> 0407 <property name="geometry"> 0408 <rect> 0409 <x>0</x> 0410 <y>0</y> 0411 <width>1034</width> 0412 <height>21</height> 0413 </rect> 0414 </property> 0415 <widget class="QMenu" name="menuFile"> 0416 <property name="title"> 0417 <string>File</string> 0418 </property> 0419 <addaction name="actionQuit"/> 0420 </widget> 0421 <addaction name="menuFile"/> 0422 </widget> 0423 <widget class="QStatusBar" name="statusbar"/> 0424 <action name="actionQuit"> 0425 <property name="text"> 0426 <string comment="Action that quits the application">Quit</string> 0427 </property> 0428 </action> 0429 </widget> 0430 <customwidgets> 0431 <customwidget> 0432 <class>KColorButton</class> 0433 <extends>QPushButton</extends> 0434 <header>kcolorbutton.h</header> 0435 </customwidget> 0436 </customwidgets> 0437 <resources/> 0438 <connections> 0439 <connection> 0440 <sender>actionQuit</sender> 0441 <signal>triggered()</signal> 0442 <receiver>MainWindow</receiver> 0443 <slot>close()</slot> 0444 <hints> 0445 <hint type="sourcelabel"> 0446 <x>-1</x> 0447 <y>-1</y> 0448 </hint> 0449 <hint type="destinationlabel"> 0450 <x>319</x> 0451 <y>206</y> 0452 </hint> 0453 </hints> 0454 </connection> 0455 </connections> 0456 </ui>