adjustZoomDlg.ui 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>AdjustZoomDialog</class>
  4. <widget class="QDialog" name="AdjustZoomDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>350</width>
  10. <height>130</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Adjust zoom</string>
  15. </property>
  16. <layout class="QFormLayout" name="formLayout">
  17. <item row="0" column="0">
  18. <widget class="QLabel" name="label">
  19. <property name="text">
  20. <string>Window</string>
  21. </property>
  22. </widget>
  23. </item>
  24. <item row="0" column="1">
  25. <layout class="QHBoxLayout" name="horizontalLayout_2">
  26. <item>
  27. <widget class="QLabel" name="windowLabel">
  28. <property name="text">
  29. <string notr="true">1 (800 x 600)</string>
  30. </property>
  31. </widget>
  32. </item>
  33. <item>
  34. <spacer name="horizontalSpacer_2">
  35. <property name="orientation">
  36. <enum>Qt::Horizontal</enum>
  37. </property>
  38. <property name="sizeHint" stdset="0">
  39. <size>
  40. <width>40</width>
  41. <height>20</height>
  42. </size>
  43. </property>
  44. </spacer>
  45. </item>
  46. <item>
  47. <widget class="QLabel" name="label_2">
  48. <property name="text">
  49. <string>focal</string>
  50. </property>
  51. </widget>
  52. </item>
  53. <item>
  54. <widget class="QDoubleSpinBox" name="focalDoubleSpinBox">
  55. <property name="decimals">
  56. <number>6</number>
  57. </property>
  58. <property name="minimum">
  59. <double>0.000001000000000</double>
  60. </property>
  61. <property name="maximum">
  62. <double>1000000.000000000000000</double>
  63. </property>
  64. <property name="singleStep">
  65. <double>0.010000000000000</double>
  66. </property>
  67. <property name="value">
  68. <double>1.000000000000000</double>
  69. </property>
  70. </widget>
  71. </item>
  72. </layout>
  73. </item>
  74. <item row="2" column="0">
  75. <widget class="QLabel" name="label_3">
  76. <property name="text">
  77. <string>pixel size</string>
  78. </property>
  79. </widget>
  80. </item>
  81. <item row="2" column="1">
  82. <layout class="QHBoxLayout" name="horizontalLayout">
  83. <item>
  84. <widget class="QDoubleSpinBox" name="pixelSizeDoubleSpinBox">
  85. <property name="suffix">
  86. <string> units</string>
  87. </property>
  88. <property name="decimals">
  89. <number>6</number>
  90. </property>
  91. <property name="minimum">
  92. <double>0.000001000000000</double>
  93. </property>
  94. <property name="maximum">
  95. <double>1000000000.000000000000000</double>
  96. </property>
  97. <property name="singleStep">
  98. <double>0.001000000000000</double>
  99. </property>
  100. <property name="value">
  101. <double>1.000000000000000</double>
  102. </property>
  103. </widget>
  104. </item>
  105. <item>
  106. <widget class="QLabel" name="label_4">
  107. <property name="text">
  108. <string notr="true">/</string>
  109. </property>
  110. </widget>
  111. </item>
  112. <item>
  113. <widget class="QSpinBox" name="pixelCountSpinBox">
  114. <property name="suffix">
  115. <string> pixel(s)</string>
  116. </property>
  117. <property name="minimum">
  118. <number>1</number>
  119. </property>
  120. <property name="maximum">
  121. <number>10000000</number>
  122. </property>
  123. </widget>
  124. </item>
  125. </layout>
  126. </item>
  127. <item row="4" column="1">
  128. <spacer name="verticalSpacer">
  129. <property name="orientation">
  130. <enum>Qt::Vertical</enum>
  131. </property>
  132. <property name="sizeHint" stdset="0">
  133. <size>
  134. <width>20</width>
  135. <height>40</height>
  136. </size>
  137. </property>
  138. </spacer>
  139. </item>
  140. <item row="5" column="1">
  141. <widget class="QDialogButtonBox" name="buttonBox">
  142. <property name="orientation">
  143. <enum>Qt::Horizontal</enum>
  144. </property>
  145. <property name="standardButtons">
  146. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  147. </property>
  148. </widget>
  149. </item>
  150. </layout>
  151. </widget>
  152. <resources/>
  153. <connections>
  154. <connection>
  155. <sender>buttonBox</sender>
  156. <signal>accepted()</signal>
  157. <receiver>AdjustZoomDialog</receiver>
  158. <slot>accept()</slot>
  159. <hints>
  160. <hint type="sourcelabel">
  161. <x>248</x>
  162. <y>254</y>
  163. </hint>
  164. <hint type="destinationlabel">
  165. <x>157</x>
  166. <y>274</y>
  167. </hint>
  168. </hints>
  169. </connection>
  170. <connection>
  171. <sender>buttonBox</sender>
  172. <signal>rejected()</signal>
  173. <receiver>AdjustZoomDialog</receiver>
  174. <slot>reject()</slot>
  175. <hints>
  176. <hint type="sourcelabel">
  177. <x>316</x>
  178. <y>260</y>
  179. </hint>
  180. <hint type="destinationlabel">
  181. <x>286</x>
  182. <y>274</y>
  183. </hint>
  184. </hints>
  185. </connection>
  186. </connections>
  187. </ui>