Skip to content
panowindow1.ui 8.33 KiB
Newer Older
Luis Peñaranda's avatar
Luis Peñaranda committed
<?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">
   <string>PanoWindow1</string>
  </property>
  <layout class="QGridLayout" name="gridLayout">
Luis Peñaranda's avatar
Luis Peñaranda committed
   <item row="14" column="1" colspan="2">
    <widget class="QPushButton" name="pushButton">
     <property name="text">
Luis Peñaranda's avatar
Luis Peñaranda committed
      <string>Close</string>
     </property>
    </widget>
   </item>
Luis Peñaranda's avatar
Luis Peñaranda committed
   <item row="1" column="1" colspan="2">
    <widget class="QComboBox" name="comboBox">
     <property name="editable">
      <bool>false</bool>
Luis Peñaranda's avatar
Luis Peñaranda committed
     <property name="modelColumn">
      <number>0</number>
Luis Peñaranda's avatar
Luis Peñaranda committed
     <item>
      <property name="text">
       <string>Square Root</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>Naive</string>
      </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>
    </widget>
   </item>
Luis Peñaranda's avatar
Luis Peñaranda committed
   <item row="0" column="0" rowspan="15">
    <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>
   <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>
Luis Peñaranda's avatar
Luis Peñaranda committed
   <item row="13" column="1" colspan="2">
    <widget class="QPushButton" name="chooseFile">
     <property name="text">
      <string>Input Image</string>
Luis Peñaranda's avatar
Luis Peñaranda committed
    </widget>
   </item>
   <item row="2" column="1" colspan="2">
    <widget class="QLabel" name="label_3">
     <property name="text">
      <string>Visualization</string>
     </property>
    </widget>
Luis Peñaranda's avatar
Luis Peñaranda committed
   </item>
   <item row="0" column="1" colspan="2">
    <widget class="QLabel" name="label">
     <property name="text">
      <string>FOV-Scale Relation</string>
     </property>
    </widget>
   </item>
Luis Peñaranda's avatar
Luis Peñaranda committed
   <item row="12" column="1" colspan="2">
    <widget class="QPushButton" name="reCenter">
     <property name="text">
Luis Peñaranda's avatar
Luis Peñaranda committed
      <string>Re-center</string>
     </property>
    </widget>
   </item>
Luis Peñaranda's avatar
Luis Peñaranda committed
   <item row="11" column="1" alignment="Qt::AlignHCenter">
    <widget class="QLabel" name="label_5">
     <property name="text">
      <string>FOV max</string>
     </property>
    </widget>
   </item>
Luis Peñaranda's avatar
Luis Peñaranda committed
   <item row="11" column="2" alignment="Qt::AlignHCenter">
    <widget class="QLabel" name="label_6">
     <property name="text">
      <string>FOV</string>
     </property>
    </widget>
   </item>
Luis Peñaranda's avatar
Luis Peñaranda committed
   <item row="9" column="2" rowspan="2" alignment="Qt::AlignHCenter">
    <widget class="QSlider" name="changefov">
     <property name="minimum">
      <number>1</number>
Luis Peñaranda's avatar
Luis Peñaranda committed
     </property>
Luis Peñaranda's avatar
Luis Peñaranda committed
     <property name="maximum">
      <number>359</number>
Luis Peñaranda's avatar
Luis Peñaranda committed
     </property>
Luis Peñaranda's avatar
Luis Peñaranda committed
     <property name="value">
      <number>60</number>
     </property>
     <property name="orientation">
      <enum>Qt::Vertical</enum>
Luis Peñaranda's avatar
Luis Peñaranda committed
     </property>
    </widget>
   </item>
Luis Peñaranda's avatar
Luis Peñaranda committed
   <item row="10" column="1" alignment="Qt::AlignHCenter">
    <widget class="QSlider" name="changefovmax">
Luis Peñaranda's avatar
Luis Peñaranda committed
     <property name="minimum">
      <number>1</number>
Luis Peñaranda's avatar
Luis Peñaranda committed
     </property>
     <property name="maximum">
      <number>359</number>
Luis Peñaranda's avatar
Luis Peñaranda committed
     </property>
     <property name="sliderPosition">
      <number>60</number>
Luis Peñaranda's avatar
Luis Peñaranda committed
     </property>
Luis Peñaranda's avatar
Luis Peñaranda committed
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="tickPosition">
      <enum>QSlider::NoTicks</enum>
     </property>
     <property name="tickInterval">
      <number>10</number>
Luis Peñaranda's avatar
Luis Peñaranda committed
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <customwidgets>
  <customwidget>
   <class>OpenGLCanvas</class>
   <extends>QWidget</extends>
   <header location="global">openglcanvas.h</header>
Luis Peñaranda's avatar
Luis Peñaranda committed
   <container>1</container>
   <slots>
    <signal>fov_changed(int)</signal>
    <signal>max_fov_changed(int)</signal>
Luis Peñaranda's avatar
Luis Peñaranda committed
    <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>
    <slot>change_input_image()</slot>
    <slot>change_fov_max(int)</slot>
    <slot>change_fov(int)</slot>
Luis Peñaranda's avatar
Luis Peñaranda committed
    <slot>re_center()</slot>
Luis Peñaranda's avatar
Luis Peñaranda committed
   </slots>
  </customwidget>
 </customwidgets>
 <resources/>
 <connections>
  <connection>
   <sender>pushButton</sender>
   <signal>clicked()</signal>
   <receiver>PanoWindow1</receiver>
   <slot>close()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>596</x>
     <y>409</y>
    </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">
     <x>496</x>
     <y>123</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>chooseFile</sender>
   <signal>clicked()</signal>
   <receiver>GLCanvas</receiver>
   <slot>change_input_image()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>566</x>
     <y>258</y>
    </hint>
    <hint type="destinationlabel">
     <x>247</x>
     <y>249</y>
    </hint>
   </hints>
  </connection>
  <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
  <connection>
   <sender>reCenter</sender>
   <signal>clicked()</signal>
   <receiver>GLCanvas</receiver>
   <slot>re_center()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>569</x>
     <y>444</y>
    </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">
     <x>512</x>
     <y>363</y>
    </hint>
    <hint type="destinationlabel">
     <x>250</x>
     <y>249</y>
    </hint>
   </hints>
  </connection>
  <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
 </connections>
</ui>