configure_camera.ui 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ConfigureCamera</class>
  4. <widget class="QDialog" name="ConfigureCamera">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>298</width>
  10. <height>339</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Configure Infrared Camera</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <widget class="QLabel" name="label_2">
  19. <property name="minimumSize">
  20. <size>
  21. <width>280</width>
  22. <height>0</height>
  23. </size>
  24. </property>
  25. <property name="text">
  26. <string>Select where the image of the emulated camera comes from. It may be a virtual camera or a real camera.</string>
  27. </property>
  28. <property name="wordWrap">
  29. <bool>true</bool>
  30. </property>
  31. </widget>
  32. </item>
  33. <item>
  34. <spacer name="verticalSpacer_2">
  35. <property name="orientation">
  36. <enum>Qt::Vertical</enum>
  37. </property>
  38. <property name="sizeType">
  39. <enum>QSizePolicy::Fixed</enum>
  40. </property>
  41. <property name="sizeHint" stdset="0">
  42. <size>
  43. <width>20</width>
  44. <height>20</height>
  45. </size>
  46. </property>
  47. </spacer>
  48. </item>
  49. <item>
  50. <widget class="QGroupBox" name="gridGroupBox">
  51. <property name="title">
  52. <string>Camera Image Source:</string>
  53. </property>
  54. <layout class="QGridLayout" name="gridLayout">
  55. <item row="0" column="0">
  56. <spacer name="horizontalSpacer">
  57. <property name="orientation">
  58. <enum>Qt::Horizontal</enum>
  59. </property>
  60. <property name="sizeHint" stdset="0">
  61. <size>
  62. <width>40</width>
  63. <height>20</height>
  64. </size>
  65. </property>
  66. </spacer>
  67. </item>
  68. <item row="0" column="1">
  69. <widget class="QLabel" name="label_3">
  70. <property name="text">
  71. <string>Input device:</string>
  72. </property>
  73. </widget>
  74. </item>
  75. <item row="0" column="2">
  76. <widget class="QComboBox" name="ir_sensor_combo_box"/>
  77. </item>
  78. <item row="0" column="3">
  79. <spacer name="horizontalSpacer_2">
  80. <property name="orientation">
  81. <enum>Qt::Horizontal</enum>
  82. </property>
  83. <property name="sizeHint" stdset="0">
  84. <size>
  85. <width>40</width>
  86. <height>20</height>
  87. </size>
  88. </property>
  89. </spacer>
  90. </item>
  91. </layout>
  92. </widget>
  93. </item><item>
  94. <widget class="QGroupBox" name="previewBox">
  95. <property name="title">
  96. <string>Preview</string>
  97. </property>
  98. <layout class="QVBoxLayout" name="verticalLayout_3">
  99. <item>
  100. <widget class="QLabel" name="preview_box">
  101. <property name="minimumSize">
  102. <size>
  103. <width>320</width>
  104. <height>240</height>
  105. </size>
  106. </property>
  107. <property name="toolTip">
  108. <string>Resolution: 320*240</string>
  109. </property>
  110. </widget>
  111. </item>
  112. <item>
  113. <widget class="QPushButton" name="preview_button">
  114. <property name="text">
  115. <string>Click to preview</string>
  116. </property>
  117. </widget>
  118. </item>
  119. </layout>
  120. </widget>
  121. </item>
  122. <item>
  123. <spacer name="verticalSpacer">
  124. <property name="orientation">
  125. <enum>Qt::Vertical</enum>
  126. </property>
  127. <property name="sizeHint" stdset="0">
  128. <size>
  129. <width>20</width>
  130. <height>40</height>
  131. </size>
  132. </property>
  133. </spacer>
  134. </item>
  135. <item>
  136. <layout class="QHBoxLayout" name="horizontalLayout">
  137. <item>
  138. <widget class="QPushButton" name="restore_defaults_button">
  139. <property name="text">
  140. <string>Restore Defaults</string>
  141. </property>
  142. </widget>
  143. </item>
  144. <item>
  145. <widget class="QDialogButtonBox" name="buttonBox">
  146. <property name="standardButtons">
  147. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  148. </property>
  149. </widget>
  150. </item>
  151. </layout>
  152. </item>
  153. </layout>
  154. </widget>
  155. <resources/>
  156. <connections>
  157. <connection>
  158. <sender>buttonBox</sender>
  159. <signal>accepted()</signal>
  160. <receiver>ConfigureCamera</receiver>
  161. <slot>accept()</slot>
  162. </connection>
  163. <connection>
  164. <sender>buttonBox</sender>
  165. <signal>rejected()</signal>
  166. <receiver>ConfigureCamera</receiver>
  167. <slot>reject()</slot>
  168. </connection>
  169. </connections>
  170. </ui>