panowindow1.ui 11.1 KB
Newer Older
Luis Peñaranda's avatar
Luis Peñaranda committed
1 2 3 4 5 6 7 8 9 10 11 12 13
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>PanoWindow1</class>
 <widget class="QWidget" name="PanoWindow1">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>650</width>
    <height>500</height>
   </rect>
  </property>
  <property name="windowTitle">
Luis Peñaranda's avatar
Luis Peñaranda committed
14 15 16
   <string notr="true">Panoramic</string>
  </property>
  <property name="windowIcon">
17 18 19
   <iconset theme="view-fullscreen">
    <normaloff/>
   </iconset>
Luis Peñaranda's avatar
Luis Peñaranda committed
20 21
  </property>
  <layout class="QGridLayout" name="gridLayout">
Luis Peñaranda's avatar
Luis Peñaranda committed
22 23 24 25 26 27 28
   <item row="2" column="1" colspan="2">
    <widget class="QLabel" name="label_3">
     <property name="text">
      <string>Visualization</string>
     </property>
    </widget>
   </item>
29
   <item row="15" column="1" colspan="2">
Luis Peñaranda's avatar
Luis Peñaranda committed
30
    <widget class="QPushButton" name="reCenter">
31
     <property name="text">
Luis Peñaranda's avatar
Luis Peñaranda committed
32 33 34 35 36 37 38 39 40 41 42
      <string>Re-center</string>
     </property>
    </widget>
   </item>
   <item row="0" column="1" colspan="2">
    <widget class="QLabel" name="label">
     <property name="text">
      <string>FOV-Scale Relation</string>
     </property>
    </widget>
   </item>
43
   <item row="0" column="0" rowspan="18">
Luis Peñaranda's avatar
Luis Peñaranda committed
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
    <widget class="OpenGLCanvas" name="GLCanvas" native="true">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="baseSize">
      <size>
       <width>0</width>
       <height>0</height>
      </size>
     </property>
    </widget>
   </item>
Luis Peñaranda's avatar
Luis Peñaranda committed
59 60 61 62
   <item row="1" column="1" colspan="2">
    <widget class="QComboBox" name="comboBox">
     <property name="editable">
      <bool>false</bool>
63
     </property>
Luis Peñaranda's avatar
Luis Peñaranda committed
64 65
     <property name="modelColumn">
      <number>0</number>
66
     </property>
Luis Peñaranda's avatar
Luis Peñaranda committed
67 68
     <item>
      <property name="text">
69
       <string>Naive</string>
Luis Peñaranda's avatar
Luis Peñaranda committed
70 71 72 73
      </property>
     </item>
     <item>
      <property name="text">
74
       <string>Square Root</string>
Luis Peñaranda's avatar
Luis Peñaranda committed
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
      </property>
     </item>
     <item>
      <property name="text">
       <string>Linear</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>Square Power</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>Cubic Power</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>Logarithm</string>
      </property>
     </item>
97 98
    </widget>
   </item>
99
   <item row="14" column="1" alignment="Qt::AlignHCenter">
Luis Peñaranda's avatar
Luis Peñaranda committed
100 101 102
    <widget class="QSlider" name="changefovmax">
     <property name="minimum">
      <number>1</number>
Luis Peñaranda's avatar
Luis Peñaranda committed
103
     </property>
Luis Peñaranda's avatar
Luis Peñaranda committed
104 105 106 107 108 109 110 111 112 113 114 115 116 117
     <property name="maximum">
      <number>359</number>
     </property>
     <property name="sliderPosition">
      <number>60</number>
     </property>
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="tickPosition">
      <enum>QSlider::NoTicks</enum>
     </property>
     <property name="tickInterval">
      <number>10</number>
118 119 120
     </property>
    </widget>
   </item>
121
   <item row="16" column="1" colspan="2">
Luis Peñaranda's avatar
Luis Peñaranda committed
122 123 124
    <widget class="QPushButton" name="chooseFile">
     <property name="text">
      <string>Input Image</string>
125
     </property>
Luis Peñaranda's avatar
Luis Peñaranda committed
126 127
    </widget>
   </item>
128
   <item row="13" column="1" alignment="Qt::AlignHCenter">
Luis Peñaranda's avatar
Luis Peñaranda committed
129 130 131
    <widget class="QLCDNumber" name="fovmaxled">
     <property name="frameShape">
      <enum>QFrame::NoFrame</enum>
132
     </property>
Luis Peñaranda's avatar
Luis Peñaranda committed
133 134
     <property name="numDigits">
      <number>3</number>
Luis Peñaranda's avatar
Luis Peñaranda committed
135 136 137
     </property>
    </widget>
   </item>
138
   <item row="17" column="1" colspan="2">
Luis Peñaranda's avatar
Luis Peñaranda committed
139
    <widget class="QPushButton" name="pushButton">
140
     <property name="text">
Luis Peñaranda's avatar
Luis Peñaranda committed
141
      <string>Close</string>
142 143 144
     </property>
    </widget>
   </item>
145
   <item row="14" column="2" alignment="Qt::AlignHCenter">
Luis Peñaranda's avatar
Luis Peñaranda committed
146 147 148
    <widget class="QSlider" name="changefov">
     <property name="minimum">
      <number>1</number>
Luis Peñaranda's avatar
Luis Peñaranda committed
149
     </property>
Luis Peñaranda's avatar
Luis Peñaranda committed
150 151
     <property name="maximum">
      <number>359</number>
Luis Peñaranda's avatar
Luis Peñaranda committed
152
     </property>
Luis Peñaranda's avatar
Luis Peñaranda committed
153 154 155 156 157
     <property name="value">
      <number>60</number>
     </property>
     <property name="orientation">
      <enum>Qt::Vertical</enum>
Luis Peñaranda's avatar
Luis Peñaranda committed
158 159 160
     </property>
    </widget>
   </item>
161
   <item row="13" column="2" alignment="Qt::AlignHCenter">
Luis Peñaranda's avatar
Luis Peñaranda committed
162 163 164
    <widget class="QLCDNumber" name="fovled">
     <property name="frameShape">
      <enum>QFrame::NoFrame</enum>
Luis Peñaranda's avatar
Luis Peñaranda committed
165
     </property>
Luis Peñaranda's avatar
Luis Peñaranda committed
166 167
     <property name="numDigits">
      <number>3</number>
Luis Peñaranda's avatar
Luis Peñaranda committed
168
     </property>
Luis Peñaranda's avatar
Luis Peñaranda committed
169 170
    </widget>
   </item>
171
   <item row="12" column="2" alignment="Qt::AlignHCenter">
Luis Peñaranda's avatar
Luis Peñaranda committed
172 173 174
    <widget class="QLabel" name="label_6">
     <property name="text">
      <string>FOV</string>
Luis Peñaranda's avatar
Luis Peñaranda committed
175 176 177
     </property>
    </widget>
   </item>
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
   <item row="3" column="1" colspan="2">
    <widget class="QComboBox" name="comboBox_2">
     <item>
      <property name="text">
       <string>Perspective</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>3D Sphere</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>Equi-Rectangular</string>
      </property>
     </item>
    </widget>
   </item>
   <item row="12" column="1">
    <widget class="QLabel" name="label_5">
     <property name="text">
      <string>FOV max</string>
     </property>
    </widget>
   </item>
   <item row="11" column="1" colspan="2">
    <widget class="QCheckBox" name="automax">
     <property name="enabled">
      <bool>true</bool>
     </property>
     <property name="sizePolicy">
      <sizepolicy hsizetype="Ignored" vsizetype="Minimum">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="text">
      <string>Auto FOV max</string>
     </property>
    </widget>
   </item>
Luis Peñaranda's avatar
Luis Peñaranda committed
220 221 222 223 224 225 226
  </layout>
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <customwidgets>
  <customwidget>
   <class>OpenGLCanvas</class>
   <extends>QWidget</extends>
227
   <header location="global">openglcanvas.h</header>
Luis Peñaranda's avatar
Luis Peñaranda committed
228 229
   <container>1</container>
   <slots>
230
    <signal>fov_changed(int)</signal>
231
    <signal>max_fov_changed(int)</signal>
Luis Peñaranda's avatar
Luis Peñaranda committed
232 233 234 235 236 237
    <slot>change_fov(double)</slot>
    <slot>change_scale(double)</slot>
    <slot>change_center_lambda(double)</slot>
    <slot>change_center_phi(double)</slot>
    <slot>change_fov_scale_relation(QString)</slot>
    <slot>change_visualization(QString)</slot>
Luis Peñaranda's avatar
Luis Peñaranda committed
238
    <slot>change_input_image()</slot>
239 240
    <slot>change_fov_max(int)</slot>
    <slot>change_fov(int)</slot>
Luis Peñaranda's avatar
Luis Peñaranda committed
241
    <slot>re_center()</slot>
242
    <slot>automaxbutton(bool)</slot>
Luis Peñaranda's avatar
Luis Peñaranda committed
243 244 245 246 247 248 249 250 251 252 253 254
   </slots>
  </customwidget>
 </customwidgets>
 <resources/>
 <connections>
  <connection>
   <sender>pushButton</sender>
   <signal>clicked()</signal>
   <receiver>PanoWindow1</receiver>
   <slot>close()</slot>
   <hints>
    <hint type="sourcelabel">
255 256
     <x>640</x>
     <y>490</y>
Luis Peñaranda's avatar
Luis Peñaranda committed
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
    </hint>
    <hint type="destinationlabel">
     <x>629</x>
     <y>364</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>comboBox</sender>
   <signal>activated(QString)</signal>
   <receiver>GLCanvas</receiver>
   <slot>change_fov_scale_relation(QString)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>603</x>
     <y>50</y>
    </hint>
    <hint type="destinationlabel">
     <x>492</x>
     <y>77</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>comboBox_2</sender>
   <signal>activated(QString)</signal>
   <receiver>GLCanvas</receiver>
   <slot>change_visualization(QString)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>554</x>
     <y>106</y>
    </hint>
    <hint type="destinationlabel">
291 292
     <x>492</x>
     <y>132</y>
Luis Peñaranda's avatar
Luis Peñaranda committed
293 294 295
    </hint>
   </hints>
  </connection>
296 297 298 299 300 301 302
  <connection>
   <sender>chooseFile</sender>
   <signal>clicked()</signal>
   <receiver>GLCanvas</receiver>
   <slot>change_input_image()</slot>
   <hints>
    <hint type="sourcelabel">
303 304
     <x>640</x>
     <y>457</y>
305 306 307 308 309 310 311
    </hint>
    <hint type="destinationlabel">
     <x>247</x>
     <y>249</y>
    </hint>
   </hints>
  </connection>
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
  <connection>
   <sender>changefov</sender>
   <signal>sliderMoved(int)</signal>
   <receiver>GLCanvas</receiver>
   <slot>change_fov(int)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>607</x>
     <y>352</y>
    </hint>
    <hint type="destinationlabel">
     <x>250</x>
     <y>249</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>GLCanvas</sender>
   <signal>fov_changed(int)</signal>
   <receiver>changefov</receiver>
   <slot>setValue(int)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>250</x>
     <y>249</y>
    </hint>
    <hint type="destinationlabel">
     <x>607</x>
     <y>324</y>
    </hint>
   </hints>
  </connection>
Luis Peñaranda's avatar
Luis Peñaranda committed
344 345 346 347 348 349 350
  <connection>
   <sender>reCenter</sender>
   <signal>clicked()</signal>
   <receiver>GLCanvas</receiver>
   <slot>re_center()</slot>
   <hints>
    <hint type="sourcelabel">
351 352
     <x>640</x>
     <y>424</y>
Luis Peñaranda's avatar
Luis Peñaranda committed
353 354 355 356 357 358 359 360 361 362 363 364 365 366
    </hint>
    <hint type="destinationlabel">
     <x>250</x>
     <y>249</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>changefovmax</sender>
   <signal>sliderMoved(int)</signal>
   <receiver>GLCanvas</receiver>
   <slot>change_fov_max(int)</slot>
   <hints>
    <hint type="sourcelabel">
367 368
     <x>546</x>
     <y>391</y>
Luis Peñaranda's avatar
Luis Peñaranda committed
369 370 371 372 373 374 375
    </hint>
    <hint type="destinationlabel">
     <x>250</x>
     <y>249</y>
    </hint>
   </hints>
  </connection>
376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391
  <connection>
   <sender>GLCanvas</sender>
   <signal>max_fov_changed(int)</signal>
   <receiver>changefovmax</receiver>
   <slot>setValue(int)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>250</x>
     <y>249</y>
    </hint>
    <hint type="destinationlabel">
     <x>532</x>
     <y>262</y>
    </hint>
   </hints>
  </connection>
Luis Peñaranda's avatar
Luis Peñaranda committed
392 393 394 395 396 397 398 399 400 401 402
  <connection>
   <sender>changefov</sender>
   <signal>valueChanged(int)</signal>
   <receiver>fovled</receiver>
   <slot>display(int)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>606</x>
     <y>245</y>
    </hint>
    <hint type="destinationlabel">
403 404
     <x>629</x>
     <y>236</y>
Luis Peñaranda's avatar
Luis Peñaranda committed
405 406 407 408 409 410 411 412 413 414 415 416 417 418
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>changefovmax</sender>
   <signal>valueChanged(int)</signal>
   <receiver>fovmaxled</receiver>
   <slot>display(int)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>532</x>
     <y>248</y>
    </hint>
    <hint type="destinationlabel">
419 420
     <x>555</x>
     <y>236</y>
Luis Peñaranda's avatar
Luis Peñaranda committed
421 422 423 424 425 426 427 428 429 430 431 432 433 434
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>GLCanvas</sender>
   <signal>fov_changed(int)</signal>
   <receiver>fovled</receiver>
   <slot>display(int)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>250</x>
     <y>249</y>
    </hint>
    <hint type="destinationlabel">
435 436
     <x>629</x>
     <y>236</y>
Luis Peñaranda's avatar
Luis Peñaranda committed
437 438 439 440 441 442 443 444 445 446 447 448 449 450
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>GLCanvas</sender>
   <signal>max_fov_changed(int)</signal>
   <receiver>fovmaxled</receiver>
   <slot>display(int)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>250</x>
     <y>249</y>
    </hint>
    <hint type="destinationlabel">
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468
     <x>555</x>
     <y>236</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>automax</sender>
   <signal>toggled(bool)</signal>
   <receiver>GLCanvas</receiver>
   <slot>automaxbutton(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>504</x>
     <y>174</y>
    </hint>
    <hint type="destinationlabel">
     <x>454</x>
     <y>172</y>
Luis Peñaranda's avatar
Luis Peñaranda committed
469 470 471
    </hint>
   </hints>
  </connection>
Luis Peñaranda's avatar
Luis Peñaranda committed
472 473
 </connections>
</ui>