You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

419 lines
12 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>guiAddSourceDialog</class>
  4. <widget class="QDialog" name="guiAddSourceDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>700</width>
  10. <height>480</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Add Video Source</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <widget class="QTabWidget" name="tabWidget">
  19. <property name="currentIndex">
  20. <number>0</number>
  21. </property>
  22. <widget class="QWidget" name="video_source_type_tab">
  23. <attribute name="title">
  24. <string>Video Source Type</string>
  25. </attribute>
  26. <layout class="QVBoxLayout" name="verticalLayout_3">
  27. <item>
  28. <widget class="QFrame" name="frame">
  29. <property name="frameShape">
  30. <enum>QFrame::StyledPanel</enum>
  31. </property>
  32. <property name="frameShadow">
  33. <enum>QFrame::Raised</enum>
  34. </property>
  35. </widget>
  36. </item>
  37. <item>
  38. <widget class="QComboBox" name="m_pDeviceTypeCombo">
  39. <item>
  40. <property name="text">
  41. <string>Static Camera</string>
  42. </property>
  43. </item>
  44. <item>
  45. <property name="text">
  46. <string>Extended Static Camera</string>
  47. </property>
  48. </item>
  49. <item>
  50. <property name="text">
  51. <string>Extended Static Camera + Zoom</string>
  52. </property>
  53. </item>
  54. <item>
  55. <property name="text">
  56. <string>PTZ Camera</string>
  57. </property>
  58. </item>
  59. </widget>
  60. </item>
  61. <item>
  62. <widget class="QFrame" name="frame_2">
  63. <property name="frameShape">
  64. <enum>QFrame::StyledPanel</enum>
  65. </property>
  66. <property name="frameShadow">
  67. <enum>QFrame::Raised</enum>
  68. </property>
  69. </widget>
  70. </item>
  71. <item>
  72. <widget class="QComboBox" name="m_pSourceTypeCombo">
  73. <item>
  74. <property name="text">
  75. <string>Local Source</string>
  76. </property>
  77. </item>
  78. <item>
  79. <property name="text">
  80. <string>IP Stream</string>
  81. </property>
  82. </item>
  83. <item>
  84. <property name="text">
  85. <string>File</string>
  86. </property>
  87. </item>
  88. </widget>
  89. </item>
  90. <item>
  91. <widget class="QFrame" name="frame_3">
  92. <property name="frameShape">
  93. <enum>QFrame::StyledPanel</enum>
  94. </property>
  95. <property name="frameShadow">
  96. <enum>QFrame::Raised</enum>
  97. </property>
  98. </widget>
  99. </item>
  100. </layout>
  101. </widget>
  102. <widget class="QWidget" name="video_source_location_tab">
  103. <attribute name="title">
  104. <string>Location</string>
  105. </attribute>
  106. </widget>
  107. <widget class="QWidget" name="video_local_source_tab">
  108. <attribute name="title">
  109. <string>Local Source</string>
  110. </attribute>
  111. <layout class="QHBoxLayout" name="horizontalLayout_3">
  112. <item>
  113. <layout class="QVBoxLayout" name="verticalLayout_4">
  114. <item>
  115. <widget class="VideoThumbWidget" name="m_pSourcePreview" native="true">
  116. <property name="sizePolicy">
  117. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  118. <horstretch>0</horstretch>
  119. <verstretch>0</verstretch>
  120. </sizepolicy>
  121. </property>
  122. <property name="minimumSize">
  123. <size>
  124. <width>240</width>
  125. <height>180</height>
  126. </size>
  127. </property>
  128. </widget>
  129. </item>
  130. <item>
  131. <spacer name="verticalSpacer">
  132. <property name="orientation">
  133. <enum>Qt::Vertical</enum>
  134. </property>
  135. <property name="sizeHint" stdset="0">
  136. <size>
  137. <width>20</width>
  138. <height>40</height>
  139. </size>
  140. </property>
  141. </spacer>
  142. </item>
  143. </layout>
  144. </item>
  145. <item>
  146. <layout class="QVBoxLayout" name="verticalLayout_2">
  147. <item>
  148. <layout class="QFormLayout" name="formLayout">
  149. <item row="0" column="0">
  150. <widget class="QLabel" name="label">
  151. <property name="text">
  152. <string>Source Name:</string>
  153. </property>
  154. </widget>
  155. </item>
  156. <item row="0" column="1">
  157. <widget class="QComboBox" name="m_pLocalDevicesCombo"/>
  158. </item>
  159. <item row="1" column="0">
  160. <widget class="QCheckBox" name="m_pScalePicture">
  161. <property name="text">
  162. <string notr="true"/>
  163. </property>
  164. </widget>
  165. </item>
  166. <item row="1" column="1">
  167. <widget class="QLabel" name="label_2">
  168. <property name="text">
  169. <string>Strech Output Video</string>
  170. </property>
  171. </widget>
  172. </item>
  173. <item row="2" column="0">
  174. <widget class="QCheckBox" name="m_p16x9resolution">
  175. <property name="text">
  176. <string notr="true"/>
  177. </property>
  178. </widget>
  179. </item>
  180. <item row="2" column="1">
  181. <widget class="QLabel" name="label_3">
  182. <property name="text">
  183. <string notr="true">16x9</string>
  184. </property>
  185. </widget>
  186. </item>
  187. <item row="3" column="0">
  188. <widget class="QCheckBox" name="m_p4x3resolution">
  189. <property name="text">
  190. <string notr="true"/>
  191. </property>
  192. </widget>
  193. </item>
  194. <item row="3" column="1">
  195. <widget class="QLabel" name="label_4">
  196. <property name="text">
  197. <string notr="true">4x3</string>
  198. </property>
  199. </widget>
  200. </item>
  201. <item row="4" column="1">
  202. <widget class="QComboBox" name="m_pScaledResolutionCombo"/>
  203. </item>
  204. <item row="5" column="1">
  205. <widget class="QComboBox" name="m_pDeviceResolutionCombo"/>
  206. </item>
  207. <item row="6" column="1">
  208. <widget class="QComboBox" name="m_pInputPinCombo">
  209. <item>
  210. <property name="text">
  211. <string>Video Tuner</string>
  212. </property>
  213. </item>
  214. <item>
  215. <property name="text">
  216. <string>Video Composite</string>
  217. </property>
  218. </item>
  219. <item>
  220. <property name="text">
  221. <string>S-Video</string>
  222. </property>
  223. </item>
  224. <item>
  225. <property name="text">
  226. <string>Video RGB</string>
  227. </property>
  228. </item>
  229. <item>
  230. <property name="text">
  231. <string>Video YRYBY</string>
  232. </property>
  233. </item>
  234. <item>
  235. <property name="text">
  236. <string>Video Serial Digital</string>
  237. </property>
  238. </item>
  239. <item>
  240. <property name="text">
  241. <string>Video Parallel Digital</string>
  242. </property>
  243. </item>
  244. <item>
  245. <property name="text">
  246. <string>Video SCSI</string>
  247. </property>
  248. </item>
  249. <item>
  250. <property name="text">
  251. <string>Video AUX</string>
  252. </property>
  253. </item>
  254. <item>
  255. <property name="text">
  256. <string>Video 1394</string>
  257. </property>
  258. </item>
  259. <item>
  260. <property name="text">
  261. <string>Video USB</string>
  262. </property>
  263. </item>
  264. <item>
  265. <property name="text">
  266. <string>Video Decoder</string>
  267. </property>
  268. </item>
  269. <item>
  270. <property name="text">
  271. <string>Video Encoder</string>
  272. </property>
  273. </item>
  274. </widget>
  275. </item>
  276. </layout>
  277. </item>
  278. </layout>
  279. </item>
  280. </layout>
  281. </widget>
  282. <widget class="QWidget" name="network_source_tab">
  283. <attribute name="title">
  284. <string>Network Source</string>
  285. </attribute>
  286. </widget>
  287. <widget class="QWidget" name="video_source_image_tab">
  288. <attribute name="title">
  289. <string>Image/Optics</string>
  290. </attribute>
  291. </widget>
  292. <widget class="QWidget" name="video_source_ptz_tab">
  293. <attribute name="title">
  294. <string>PTZ Control</string>
  295. </attribute>
  296. </widget>
  297. </widget>
  298. </item>
  299. <item>
  300. <layout class="QHBoxLayout" name="horizontalLayout">
  301. <item>
  302. <widget class="QPushButton" name="btn_cancel">
  303. <property name="text">
  304. <string>Cancel</string>
  305. </property>
  306. </widget>
  307. </item>
  308. <item>
  309. <widget class="QPushButton" name="btn_add">
  310. <property name="text">
  311. <string>Add Video Source</string>
  312. </property>
  313. </widget>
  314. </item>
  315. </layout>
  316. </item>
  317. </layout>
  318. </widget>
  319. <customwidgets>
  320. <customwidget>
  321. <class>VideoThumbWidget</class>
  322. <extends>QWidget</extends>
  323. <header>../../lib/gui/controls/VideoThumbWidget.h</header>
  324. <container>1</container>
  325. </customwidget>
  326. </customwidgets>
  327. <resources>
  328. <include location="../../resources/resources.qrc"/>
  329. </resources>
  330. <connections>
  331. <connection>
  332. <sender>m_pScalePicture</sender>
  333. <signal>clicked(bool)</signal>
  334. <receiver>guiAddSourceDialog</receiver>
  335. <slot>setStrechMode(bool)</slot>
  336. <hints>
  337. <hint type="sourcelabel">
  338. <x>364</x>
  339. <y>94</y>
  340. </hint>
  341. <hint type="destinationlabel">
  342. <x>349</x>
  343. <y>239</y>
  344. </hint>
  345. </hints>
  346. </connection>
  347. <connection>
  348. <sender>m_pDeviceTypeCombo</sender>
  349. <signal>currentIndexChanged(int)</signal>
  350. <receiver>guiAddSourceDialog</receiver>
  351. <slot>setCameraType(int)</slot>
  352. <hints>
  353. <hint type="sourcelabel">
  354. <x>349</x>
  355. <y>167</y>
  356. </hint>
  357. <hint type="destinationlabel">
  358. <x>349</x>
  359. <y>239</y>
  360. </hint>
  361. </hints>
  362. </connection>
  363. <connection>
  364. <sender>m_pSourceTypeCombo</sender>
  365. <signal>currentIndexChanged(int)</signal>
  366. <receiver>guiAddSourceDialog</receiver>
  367. <slot>setSourceType(int)</slot>
  368. <hints>
  369. <hint type="sourcelabel">
  370. <x>349</x>
  371. <y>306</y>
  372. </hint>
  373. <hint type="destinationlabel">
  374. <x>349</x>
  375. <y>239</y>
  376. </hint>
  377. </hints>
  378. </connection>
  379. <connection>
  380. <sender>btn_add</sender>
  381. <signal>clicked()</signal>
  382. <receiver>guiAddSourceDialog</receiver>
  383. <slot>addSource()</slot>
  384. <hints>
  385. <hint type="sourcelabel">
  386. <x>521</x>
  387. <y>456</y>
  388. </hint>
  389. <hint type="destinationlabel">
  390. <x>349</x>
  391. <y>239</y>
  392. </hint>
  393. </hints>
  394. </connection>
  395. <connection>
  396. <sender>btn_cancel</sender>
  397. <signal>clicked()</signal>
  398. <receiver>guiAddSourceDialog</receiver>
  399. <slot>cancelDialog()</slot>
  400. <hints>
  401. <hint type="sourcelabel">
  402. <x>178</x>
  403. <y>456</y>
  404. </hint>
  405. <hint type="destinationlabel">
  406. <x>349</x>
  407. <y>239</y>
  408. </hint>
  409. </hints>
  410. </connection>
  411. </connections>
  412. <slots>
  413. <slot>setStrechMode(bool)</slot>
  414. <slot>setCameraType(int)</slot>
  415. <slot>setSourceType(int)</slot>
  416. <slot>addSource()</slot>
  417. <slot>cancelDialog()</slot>
  418. </slots>
  419. </ui>