Skip to content
panowindow1.ui 7.07 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">
   <item row="0" column="0" rowspan="10">
    <widget class="OpenGLCanvas" name="GLCanvas" native="true"/>
   </item>
   <item row="0" column="1" colspan="2">
    <widget class="QLabel" name="label">
     <property name="text">
      <string>FOV-Scale Relation</string>
     </property>
    </widget>
   </item>
   <item row="1" column="1" colspan="2">
    <widget class="QComboBox" name="comboBox">
     <property name="editable">
      <bool>false</bool>
     </property>
     <property name="modelColumn">
      <number>0</number>
     </property>
     <item>
      <property name="text">
       <string>Square Root</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>
   <item row="2" column="1" colspan="2">
    <widget class="QLabel" name="label_3">
     <property name="text">
      <string>Visualization</string>
     </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>
   <item row="4" column="1" colspan="2">
    <widget class="QLabel" name="label_2">
     <property name="text">
      <string>Field of View</string>
     </property>
    </widget>
   </item>
   <item row="5" column="1" colspan="2">
    <widget class="QDoubleSpinBox" name="doubleSpinBox">
     <property name="minimum">
      <double>1.000000000000000</double>
     </property>
     <property name="maximum">
      <double>360.000000000000000</double>
     </property>
     <property name="singleStep">
      <double>2.000000000000000</double>
     </property>
     <property name="value">
      <double>60.000000000000000</double>
     </property>
    </widget>
   </item>
   <item row="6" column="1" colspan="2">
    <widget class="QLabel" name="label_4">
     <property name="text">
      <string>Center Point</string>
     </property>
    </widget>
   </item>
   <item row="7" column="1">
    <widget class="QDoubleSpinBox" name="doubleSpinBox_3">
     <property name="maximumSize">
      <size>
       <width>61</width>
       <height>25</height>
      </size>
     </property>
     <property name="minimum">
      <double>-3.140000000000000</double>
     </property>
     <property name="maximum">
      <double>3.140000000000000</double>
     </property>
     <property name="singleStep">
      <double>0.010000000000000</double>
     </property>
    </widget>
   </item>
   <item row="7" column="2">
    <widget class="QDoubleSpinBox" name="doubleSpinBox_4">
     <property name="maximumSize">
      <size>
       <width>61</width>
       <height>25</height>
      </size>
     </property>
     <property name="minimum">
      <double>-1.570000000000000</double>
     </property>
     <property name="maximum">
      <double>1.570000000000000</double>
     </property>
     <property name="singleStep">
      <double>0.010000000000000</double>
     </property>
    </widget>
   </item>
   <item row="8" column="2">
    <spacer name="verticalSpacer">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>20</width>
       <height>145</height>
      </size>
     </property>
    </spacer>
   </item>
   <item row="9" column="1" colspan="2">
    <widget class="QPushButton" name="pushButton">
     <property name="text">
      <string>Close</string>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <customwidgets>
  <customwidget>
   <class>OpenGLCanvas</class>
   <extends>QWidget</extends>
   <header>openglcanvas.h</header>
   <container>1</container>
   <slots>
    <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>
   </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>doubleSpinBox</sender>
   <signal>valueChanged(double)</signal>
   <receiver>GLCanvas</receiver>
   <slot>change_fov(double)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>592</x>
     <y>174</y>
    </hint>
    <hint type="destinationlabel">
     <x>507</x>
     <y>252</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>doubleSpinBox_3</sender>
   <signal>valueChanged(double)</signal>
   <receiver>GLCanvas</receiver>
   <slot>change_center_lambda(double)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>536</x>
     <y>230</y>
    </hint>
    <hint type="destinationlabel">
     <x>506</x>
     <y>297</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>doubleSpinBox_4</sender>
   <signal>valueChanged(double)</signal>
   <receiver>GLCanvas</receiver>
   <slot>change_center_phi(double)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>605</x>
     <y>227</y>
    </hint>
    <hint type="destinationlabel">
     <x>506</x>
     <y>320</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>
 </connections>
</ui>