<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>GeometryDialog</class>
 <widget class="QDialog" name="GeometryDialog">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>398</width>
    <height>321</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Geometry</string>
  </property>
  <layout class="QGridLayout" name="gridLayout_3">
   <item row="0" column="0">
    <layout class="QVBoxLayout" name="verticalLayout">
     <item>
      <widget class="QGroupBox" name="groupBox">
       <property name="title">
        <string>Detector Geometry</string>
       </property>
       <layout class="QGridLayout" name="gridLayout_2">
        <item row="0" column="0">
         <layout class="QGridLayout" name="gridLayout">
          <item row="0" column="0">
           <widget class="QLabel" name="centerxLabel">
            <property name="toolTip">
             <string>x-coordinate of the center of the image in pixels</string>
            </property>
            <property name="text">
             <string>Center X [pixels]:</string>
            </property>
            <property name="buddy">
             <cstring>centerxLineEdit</cstring>
            </property>
           </widget>
          </item>
          <item row="0" column="1">
           <widget class="QLineEdit" name="centerxLineEdit">
            <property name="toolTip">
             <string>x-coordinate of the center of the image in pixels</string>
            </property>
           </widget>
          </item>
          <item row="1" column="0">
           <widget class="QLabel" name="centeryLabel">
            <property name="toolTip">
             <string>y-coordinate of the center of the image in pixels</string>
            </property>
            <property name="text">
             <string>Center Y [pixels]:</string>
            </property>
            <property name="buddy">
             <cstring>centeryLineEdit</cstring>
            </property>
           </widget>
          </item>
          <item row="1" column="1">
           <widget class="QLineEdit" name="centeryLineEdit">
            <property name="toolTip">
             <string>y-coordinate of the center of the image in pixels</string>
            </property>
           </widget>
          </item>
          <item row="2" column="1">
           <widget class="QLineEdit" name="pixelsizexLineEdit"/>
          </item>
          <item row="3" column="1">
           <widget class="QLineEdit" name="pixelsizeyLineEdit"/>
          </item>
          <item row="4" column="1">
           <widget class="QLineEdit" name="detdistanceLineEdit">
            <property name="toolTip">
             <string>Detector distance in mm</string>
            </property>
           </widget>
          </item>
          <item row="5" column="1">
           <widget class="QLineEdit" name="energyLineEdit">
            <property name="toolTip">
             <string>photon energy in eV</string>
            </property>
           </widget>
          </item>
          <item row="2" column="0">
           <widget class="QLabel" name="pixelsizexLabel">
            <property name="text">
             <string>Pixel x-size [µm]:</string>
            </property>
            <property name="buddy">
             <cstring>pixelsizexLineEdit</cstring>
            </property>
           </widget>
          </item>
          <item row="3" column="0">
           <widget class="QLabel" name="pixelsizeyLabel">
            <property name="text">
             <string>Pixel y-size [µm]:</string>
            </property>
            <property name="buddy">
             <cstring>pixelsizeyLineEdit</cstring>
            </property>
           </widget>
          </item>
          <item row="4" column="0">
           <widget class="QLabel" name="detdistanceLabel">
            <property name="toolTip">
             <string>Detector distance in mm</string>
            </property>
            <property name="text">
             <string>Detector distance [mm]:</string>
            </property>
            <property name="buddy">
             <cstring>detdistanceLineEdit</cstring>
            </property>
           </widget>
          </item>
          <item row="5" column="0">
           <widget class="QLabel" name="energyLabel">
            <property name="toolTip">
             <string>photon energy in eV</string>
            </property>
            <property name="text">
             <string>Energy [eV]:</string>
            </property>
            <property name="buddy">
             <cstring>energyLineEdit</cstring>
            </property>
           </widget>
          </item>
         </layout>
        </item>
       </layout>
      </widget>
     </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>
     <item>
      <widget class="QDialogButtonBox" name="buttonBox">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="standardButtons">
        <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
       </property>
      </widget>
     </item>
    </layout>
   </item>
  </layout>
 </widget>
 <resources/>
 <connections>
  <connection>
   <sender>buttonBox</sender>
   <signal>accepted()</signal>
   <receiver>GeometryDialog</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>248</x>
     <y>254</y>
    </hint>
    <hint type="destinationlabel">
     <x>157</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>buttonBox</sender>
   <signal>rejected()</signal>
   <receiver>GeometryDialog</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>316</x>
     <y>260</y>
    </hint>
    <hint type="destinationlabel">
     <x>286</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>
