stereoModeDlg.ui 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>StereoModeDialog</class>
  4. <widget class="QDialog" name="StereoModeDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>600</width>
  10. <height>600</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Stereo mode</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout_2">
  17. <item>
  18. <layout class="QHBoxLayout" name="horizontalLayout">
  19. <item>
  20. <widget class="QLabel" name="label">
  21. <property name="text">
  22. <string>Glasses</string>
  23. </property>
  24. </widget>
  25. </item>
  26. <item>
  27. <widget class="QComboBox" name="glassTypeComboBox">
  28. <property name="currentIndex">
  29. <number>6</number>
  30. </property>
  31. <item>
  32. <property name="text">
  33. <string>Red-Blue</string>
  34. </property>
  35. <property name="icon">
  36. <iconset resource="../../qCC/icons.qrc">
  37. <normaloff>:/CC/images/ccStereo.png</normaloff>:/CC/images/ccStereo.png</iconset>
  38. </property>
  39. </item>
  40. <item>
  41. <property name="text">
  42. <string>Blue-Red</string>
  43. </property>
  44. <property name="icon">
  45. <iconset resource="../../qCC/icons.qrc">
  46. <normaloff>:/CC/images/ccStereo.png</normaloff>:/CC/images/ccStereo.png</iconset>
  47. </property>
  48. </item>
  49. <item>
  50. <property name="text">
  51. <string>Red-Cyan</string>
  52. </property>
  53. <property name="icon">
  54. <iconset resource="../../qCC/icons.qrc">
  55. <normaloff>:/CC/images/ccStereo.png</normaloff>:/CC/images/ccStereo.png</iconset>
  56. </property>
  57. </item>
  58. <item>
  59. <property name="text">
  60. <string>Cyan-Red</string>
  61. </property>
  62. <property name="icon">
  63. <iconset resource="../../qCC/icons.qrc">
  64. <normaloff>:/CC/images/ccStereo.png</normaloff>:/CC/images/ccStereo.png</iconset>
  65. </property>
  66. </item>
  67. <item>
  68. <property name="text">
  69. <string>NVidia Vision</string>
  70. </property>
  71. <property name="icon">
  72. <iconset resource="../../qCC/icons.qrc">
  73. <normaloff>:/CC/images/nvidia.png</normaloff>:/CC/images/nvidia.png</iconset>
  74. </property>
  75. </item>
  76. <item>
  77. <property name="text">
  78. <string>Oculus</string>
  79. </property>
  80. <property name="icon">
  81. <iconset resource="../../qCC/icons.qrc">
  82. <normaloff>:/CC/images/oculus.png</normaloff>:/CC/images/oculus.png</iconset>
  83. </property>
  84. </item>
  85. <item>
  86. <property name="text">
  87. <string extracomment="Generic stereo display (e.g. PluraView)">Generic stereo display</string>
  88. </property>
  89. <property name="icon">
  90. <iconset resource="../../qCC/icons.qrc">
  91. <normaloff>:/CC/images/ccStereo.png</normaloff>:/CC/images/ccStereo.png</iconset>
  92. </property>
  93. </item>
  94. </widget>
  95. </item>
  96. </layout>
  97. </item>
  98. <item>
  99. <widget class="QTextEdit" name="warningTextEdit">
  100. <property name="html">
  101. <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
  102. &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
  103. p, li { white-space: pre-wrap; }
  104. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
  105. &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;To make this mode work properly make sure that:&lt;/p&gt;
  106. &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- the NVidia Vision IR emitter is plugged and enabled (dim green light)&lt;/p&gt;
  107. &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- 3D stereo mode is activated in the NVidia Control Pannel&lt;/p&gt;
  108. &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- the screen frequency is set to 120Hz&lt;/p&gt;
  109. &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- the glasses are switched on&lt;/p&gt;
  110. &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
  111. &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Note: the current 3D view will be automatically displayed in exclusive full screen mode - press F11 to quit this mode&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  112. </property>
  113. </widget>
  114. </item>
  115. <item>
  116. <widget class="QGroupBox" name="paramsGroupBox">
  117. <property name="title">
  118. <string>Parameters</string>
  119. </property>
  120. <layout class="QVBoxLayout" name="verticalLayout">
  121. <item>
  122. <widget class="QFrame" name="frame">
  123. <property name="frameShape">
  124. <enum>QFrame::StyledPanel</enum>
  125. </property>
  126. <property name="frameShadow">
  127. <enum>QFrame::Raised</enum>
  128. </property>
  129. <layout class="QGridLayout" name="gridLayout">
  130. <item row="0" column="0">
  131. <widget class="QLabel" name="label_4">
  132. <property name="text">
  133. <string>Screen width</string>
  134. </property>
  135. </widget>
  136. </item>
  137. <item row="0" column="1">
  138. <widget class="QSpinBox" name="screenWidthSpinBox">
  139. <property name="suffix">
  140. <string> mm</string>
  141. </property>
  142. <property name="minimum">
  143. <number>10</number>
  144. </property>
  145. <property name="maximum">
  146. <number>100000</number>
  147. </property>
  148. <property name="singleStep">
  149. <number>10</number>
  150. </property>
  151. </widget>
  152. </item>
  153. <item row="1" column="0">
  154. <widget class="QLabel" name="label_5">
  155. <property name="text">
  156. <string>Screen distance</string>
  157. </property>
  158. </widget>
  159. </item>
  160. <item row="2" column="0">
  161. <widget class="QLabel" name="label_6">
  162. <property name="text">
  163. <string>Interocular distance</string>
  164. </property>
  165. </widget>
  166. </item>
  167. <item row="2" column="1">
  168. <widget class="QSpinBox" name="eyeDistanceSpinBox">
  169. <property name="suffix">
  170. <string> mm</string>
  171. </property>
  172. <property name="minimum">
  173. <number>1</number>
  174. </property>
  175. <property name="maximum">
  176. <number>1000</number>
  177. </property>
  178. <property name="value">
  179. <number>64</number>
  180. </property>
  181. </widget>
  182. </item>
  183. <item row="1" column="1">
  184. <widget class="QSpinBox" name="screenDiistanceSpinBox">
  185. <property name="suffix">
  186. <string> mm</string>
  187. </property>
  188. <property name="minimum">
  189. <number>10</number>
  190. </property>
  191. <property name="maximum">
  192. <number>1000000</number>
  193. </property>
  194. <property name="singleStep">
  195. <number>50</number>
  196. </property>
  197. <property name="value">
  198. <number>800</number>
  199. </property>
  200. </widget>
  201. </item>
  202. <item row="3" column="0">
  203. <widget class="QLabel" name="label_2">
  204. <property name="text">
  205. <string>Stereo strength</string>
  206. </property>
  207. </widget>
  208. </item>
  209. <item row="3" column="1">
  210. <widget class="QSlider" name="stereoStrengthHorizontalSlider">
  211. <property name="minimum">
  212. <number>1</number>
  213. </property>
  214. <property name="maximum">
  215. <number>100</number>
  216. </property>
  217. <property name="value">
  218. <number>50</number>
  219. </property>
  220. <property name="orientation">
  221. <enum>Qt::Horizontal</enum>
  222. </property>
  223. </widget>
  224. </item>
  225. </layout>
  226. </widget>
  227. </item>
  228. <item>
  229. <widget class="QCheckBox" name="autoFocalCheckBox">
  230. <property name="sizePolicy">
  231. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  232. <horstretch>0</horstretch>
  233. <verstretch>0</verstretch>
  234. </sizepolicy>
  235. </property>
  236. <property name="text">
  237. <string>auto set F.O.V.</string>
  238. </property>
  239. <property name="checked">
  240. <bool>true</bool>
  241. </property>
  242. </widget>
  243. </item>
  244. </layout>
  245. </widget>
  246. </item>
  247. <item>
  248. <spacer name="verticalSpacer">
  249. <property name="orientation">
  250. <enum>Qt::Vertical</enum>
  251. </property>
  252. <property name="sizeHint" stdset="0">
  253. <size>
  254. <width>20</width>
  255. <height>20</height>
  256. </size>
  257. </property>
  258. </spacer>
  259. </item>
  260. <item>
  261. <widget class="QDialogButtonBox" name="buttonBox">
  262. <property name="orientation">
  263. <enum>Qt::Horizontal</enum>
  264. </property>
  265. <property name="standardButtons">
  266. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  267. </property>
  268. </widget>
  269. </item>
  270. </layout>
  271. </widget>
  272. <resources>
  273. <include location="../../qCC/icons.qrc"/>
  274. </resources>
  275. <connections>
  276. <connection>
  277. <sender>buttonBox</sender>
  278. <signal>accepted()</signal>
  279. <receiver>StereoModeDialog</receiver>
  280. <slot>accept()</slot>
  281. <hints>
  282. <hint type="sourcelabel">
  283. <x>248</x>
  284. <y>254</y>
  285. </hint>
  286. <hint type="destinationlabel">
  287. <x>157</x>
  288. <y>274</y>
  289. </hint>
  290. </hints>
  291. </connection>
  292. <connection>
  293. <sender>buttonBox</sender>
  294. <signal>rejected()</signal>
  295. <receiver>StereoModeDialog</receiver>
  296. <slot>reject()</slot>
  297. <hints>
  298. <hint type="sourcelabel">
  299. <x>316</x>
  300. <y>260</y>
  301. </hint>
  302. <hint type="destinationlabel">
  303. <x>286</x>
  304. <y>274</y>
  305. </hint>
  306. </hints>
  307. </connection>
  308. </connections>
  309. </ui>