OBSBasic.ui 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <author>Jim</author>
  4. <class>OBSBasic</class>
  5. <widget class="QMainWindow" name="OBSBasic">
  6. <property name="geometry">
  7. <rect>
  8. <x>0</x>
  9. <y>0</y>
  10. <width>927</width>
  11. <height>700</height>
  12. </rect>
  13. </property>
  14. <property name="sizePolicy">
  15. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  16. <horstretch>0</horstretch>
  17. <verstretch>0</verstretch>
  18. </sizepolicy>
  19. </property>
  20. <property name="minimumSize">
  21. <size>
  22. <width>0</width>
  23. <height>0</height>
  24. </size>
  25. </property>
  26. <property name="windowTitle">
  27. <string>MainWindow</string>
  28. </property>
  29. <widget class="QWidget" name="centralwidget">
  30. <layout class="QVBoxLayout" name="verticalLayout">
  31. <item>
  32. <widget class="OBSQTDisplay" name="preview" native="true">
  33. <property name="sizePolicy">
  34. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  35. <horstretch>0</horstretch>
  36. <verstretch>0</verstretch>
  37. </sizepolicy>
  38. </property>
  39. <property name="minimumSize">
  40. <size>
  41. <width>32</width>
  42. <height>32</height>
  43. </size>
  44. </property>
  45. </widget>
  46. </item>
  47. <item alignment="Qt::AlignHCenter|Qt::AlignVCenter">
  48. <widget class="QWidget" name="widget" native="true">
  49. <property name="sizePolicy">
  50. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  51. <horstretch>0</horstretch>
  52. <verstretch>0</verstretch>
  53. </sizepolicy>
  54. </property>
  55. <property name="minimumSize">
  56. <size>
  57. <width>620</width>
  58. <height>0</height>
  59. </size>
  60. </property>
  61. <property name="maximumSize">
  62. <size>
  63. <width>16777215</width>
  64. <height>154</height>
  65. </size>
  66. </property>
  67. <layout class="QHBoxLayout" name="horizontalLayout_2">
  68. <property name="leftMargin">
  69. <number>0</number>
  70. </property>
  71. <property name="topMargin">
  72. <number>0</number>
  73. </property>
  74. <property name="rightMargin">
  75. <number>0</number>
  76. </property>
  77. <property name="bottomMargin">
  78. <number>0</number>
  79. </property>
  80. <item>
  81. <layout class="QVBoxLayout" name="verticalLayout_2">
  82. <item>
  83. <widget class="QLabel" name="label">
  84. <property name="text">
  85. <string>Scenes</string>
  86. </property>
  87. </widget>
  88. </item>
  89. <item>
  90. <widget class="QFrame" name="frame_2">
  91. <property name="sizePolicy">
  92. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  93. <horstretch>0</horstretch>
  94. <verstretch>0</verstretch>
  95. </sizepolicy>
  96. </property>
  97. <property name="frameShape">
  98. <enum>QFrame::StyledPanel</enum>
  99. </property>
  100. <property name="frameShadow">
  101. <enum>QFrame::Sunken</enum>
  102. </property>
  103. <layout class="QVBoxLayout" name="verticalLayout_3">
  104. <property name="spacing">
  105. <number>0</number>
  106. </property>
  107. <property name="leftMargin">
  108. <number>0</number>
  109. </property>
  110. <property name="topMargin">
  111. <number>0</number>
  112. </property>
  113. <property name="rightMargin">
  114. <number>0</number>
  115. </property>
  116. <property name="bottomMargin">
  117. <number>0</number>
  118. </property>
  119. <item>
  120. <widget class="QListWidget" name="scenes">
  121. <property name="enabled">
  122. <bool>true</bool>
  123. </property>
  124. <property name="sizePolicy">
  125. <sizepolicy hsizetype="Ignored" vsizetype="Expanding">
  126. <horstretch>0</horstretch>
  127. <verstretch>0</verstretch>
  128. </sizepolicy>
  129. </property>
  130. <property name="frameShape">
  131. <enum>QFrame::NoFrame</enum>
  132. </property>
  133. <property name="frameShadow">
  134. <enum>QFrame::Plain</enum>
  135. </property>
  136. </widget>
  137. </item>
  138. <item>
  139. <widget class="QToolBar" name="toolBar">
  140. <property name="iconSize">
  141. <size>
  142. <width>16</width>
  143. <height>16</height>
  144. </size>
  145. </property>
  146. <property name="floatable">
  147. <bool>false</bool>
  148. </property>
  149. <addaction name="actionAddScene"/>
  150. <addaction name="actionRemoveScene"/>
  151. <addaction name="actionSceneProperties"/>
  152. <addaction name="separator"/>
  153. <addaction name="actionSceneUp"/>
  154. <addaction name="actionSceneDown"/>
  155. </widget>
  156. </item>
  157. </layout>
  158. </widget>
  159. </item>
  160. </layout>
  161. </item>
  162. <item>
  163. <layout class="QVBoxLayout" name="verticalLayout_5">
  164. <item>
  165. <widget class="QLabel" name="label_2">
  166. <property name="text">
  167. <string>Sources</string>
  168. </property>
  169. </widget>
  170. </item>
  171. <item>
  172. <widget class="QFrame" name="frame_3">
  173. <property name="sizePolicy">
  174. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  175. <horstretch>0</horstretch>
  176. <verstretch>0</verstretch>
  177. </sizepolicy>
  178. </property>
  179. <property name="frameShape">
  180. <enum>QFrame::StyledPanel</enum>
  181. </property>
  182. <property name="frameShadow">
  183. <enum>QFrame::Sunken</enum>
  184. </property>
  185. <layout class="QVBoxLayout" name="verticalLayout_4">
  186. <property name="spacing">
  187. <number>0</number>
  188. </property>
  189. <property name="leftMargin">
  190. <number>0</number>
  191. </property>
  192. <property name="topMargin">
  193. <number>0</number>
  194. </property>
  195. <property name="rightMargin">
  196. <number>0</number>
  197. </property>
  198. <property name="bottomMargin">
  199. <number>0</number>
  200. </property>
  201. <item>
  202. <widget class="QListWidget" name="sources">
  203. <property name="sizePolicy">
  204. <sizepolicy hsizetype="Ignored" vsizetype="Expanding">
  205. <horstretch>0</horstretch>
  206. <verstretch>0</verstretch>
  207. </sizepolicy>
  208. </property>
  209. <property name="frameShape">
  210. <enum>QFrame::NoFrame</enum>
  211. </property>
  212. </widget>
  213. </item>
  214. <item>
  215. <widget class="QToolBar" name="toolBar_2">
  216. <property name="iconSize">
  217. <size>
  218. <width>16</width>
  219. <height>16</height>
  220. </size>
  221. </property>
  222. <property name="floatable">
  223. <bool>false</bool>
  224. </property>
  225. <addaction name="actionAddSource"/>
  226. <addaction name="actionRemoveSource"/>
  227. <addaction name="actionSourceProperties"/>
  228. <addaction name="separator"/>
  229. <addaction name="actionSourceUp"/>
  230. <addaction name="actionSourceDown"/>
  231. </widget>
  232. </item>
  233. </layout>
  234. </widget>
  235. </item>
  236. </layout>
  237. </item>
  238. <item>
  239. <layout class="QVBoxLayout" name="verticalLayout_9">
  240. <item>
  241. <widget class="QLabel" name="label_3">
  242. <property name="text">
  243. <string>Volume</string>
  244. </property>
  245. </widget>
  246. </item>
  247. <item>
  248. <widget class="QScrollArea" name="scrollArea">
  249. <property name="sizePolicy">
  250. <sizepolicy hsizetype="Ignored" vsizetype="Expanding">
  251. <horstretch>0</horstretch>
  252. <verstretch>0</verstretch>
  253. </sizepolicy>
  254. </property>
  255. <property name="widgetResizable">
  256. <bool>true</bool>
  257. </property>
  258. <widget class="QWidget" name="volumeWidgets">
  259. <property name="geometry">
  260. <rect>
  261. <x>0</x>
  262. <y>0</y>
  263. <width>147</width>
  264. <height>131</height>
  265. </rect>
  266. </property>
  267. <layout class="QVBoxLayout" name="verticalLayout_6">
  268. <property name="spacing">
  269. <number>6</number>
  270. </property>
  271. <property name="leftMargin">
  272. <number>2</number>
  273. </property>
  274. <property name="topMargin">
  275. <number>2</number>
  276. </property>
  277. <property name="rightMargin">
  278. <number>2</number>
  279. </property>
  280. <property name="bottomMargin">
  281. <number>2</number>
  282. </property>
  283. </layout>
  284. </widget>
  285. </widget>
  286. </item>
  287. </layout>
  288. </item>
  289. <item alignment="Qt::AlignTop">
  290. <widget class="QWidget" name="widget_2" native="true">
  291. <property name="sizePolicy">
  292. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  293. <horstretch>0</horstretch>
  294. <verstretch>0</verstretch>
  295. </sizepolicy>
  296. </property>
  297. <property name="minimumSize">
  298. <size>
  299. <width>0</width>
  300. <height>0</height>
  301. </size>
  302. </property>
  303. <layout class="QVBoxLayout" name="verticalLayout_10">
  304. <property name="spacing">
  305. <number>5</number>
  306. </property>
  307. <property name="leftMargin">
  308. <number>0</number>
  309. </property>
  310. <property name="topMargin">
  311. <number>0</number>
  312. </property>
  313. <property name="rightMargin">
  314. <number>0</number>
  315. </property>
  316. <property name="bottomMargin">
  317. <number>0</number>
  318. </property>
  319. <item>
  320. <widget class="QPushButton" name="streamButton">
  321. <property name="enabled">
  322. <bool>true</bool>
  323. </property>
  324. <property name="text">
  325. <string>Start Streaming</string>
  326. </property>
  327. <property name="checkable">
  328. <bool>false</bool>
  329. </property>
  330. </widget>
  331. </item>
  332. <item>
  333. <widget class="QPushButton" name="recordButton">
  334. <property name="enabled">
  335. <bool>false</bool>
  336. </property>
  337. <property name="text">
  338. <string>Start Recording</string>
  339. </property>
  340. </widget>
  341. </item>
  342. <item>
  343. <widget class="QPushButton" name="settingsButton">
  344. <property name="text">
  345. <string>Settings</string>
  346. </property>
  347. </widget>
  348. </item>
  349. <item>
  350. <widget class="QPushButton" name="exitButton">
  351. <property name="text">
  352. <string>Exit</string>
  353. </property>
  354. </widget>
  355. </item>
  356. </layout>
  357. </widget>
  358. </item>
  359. </layout>
  360. </widget>
  361. </item>
  362. </layout>
  363. </widget>
  364. <widget class="QMenuBar" name="menubar">
  365. <property name="geometry">
  366. <rect>
  367. <x>0</x>
  368. <y>0</y>
  369. <width>927</width>
  370. <height>24</height>
  371. </rect>
  372. </property>
  373. <widget class="QMenu" name="menu_File">
  374. <property name="title">
  375. <string>&amp;File</string>
  376. </property>
  377. <addaction name="action_New"/>
  378. <addaction name="action_Open"/>
  379. <addaction name="action_Save"/>
  380. <addaction name="separator"/>
  381. <addaction name="actionE_xit"/>
  382. </widget>
  383. <addaction name="menu_File"/>
  384. </widget>
  385. <widget class="QStatusBar" name="statusbar"/>
  386. <action name="actionAddScene">
  387. <property name="icon">
  388. <iconset resource="obs.qrc">
  389. <normaloff>:/res/images/add.ico</normaloff>:/res/images/add.ico</iconset>
  390. </property>
  391. <property name="text">
  392. <string>AddScene</string>
  393. </property>
  394. </action>
  395. <action name="actionAddSource">
  396. <property name="icon">
  397. <iconset resource="obs.qrc">
  398. <normaloff>:/res/images/add.ico</normaloff>:/res/images/add.ico</iconset>
  399. </property>
  400. <property name="text">
  401. <string>AddSource</string>
  402. </property>
  403. </action>
  404. <action name="actionRemoveScene">
  405. <property name="icon">
  406. <iconset resource="obs.qrc">
  407. <normaloff>:/res/images/list_remove.png</normaloff>:/res/images/list_remove.png</iconset>
  408. </property>
  409. <property name="text">
  410. <string>RemoveScene</string>
  411. </property>
  412. </action>
  413. <action name="actionRemoveSource">
  414. <property name="icon">
  415. <iconset resource="obs.qrc">
  416. <normaloff>:/res/images/list_remove.png</normaloff>:/res/images/list_remove.png</iconset>
  417. </property>
  418. <property name="text">
  419. <string>RemoveSource</string>
  420. </property>
  421. </action>
  422. <action name="actionSceneProperties">
  423. <property name="enabled">
  424. <bool>false</bool>
  425. </property>
  426. <property name="icon">
  427. <iconset resource="obs.qrc">
  428. <normaloff>:/res/images/properties.ico</normaloff>:/res/images/properties.ico</iconset>
  429. </property>
  430. <property name="text">
  431. <string>SceneProperties</string>
  432. </property>
  433. </action>
  434. <action name="actionSourceProperties">
  435. <property name="enabled">
  436. <bool>false</bool>
  437. </property>
  438. <property name="icon">
  439. <iconset resource="obs.qrc">
  440. <normaloff>:/res/images/properties.ico</normaloff>:/res/images/properties.ico</iconset>
  441. </property>
  442. <property name="text">
  443. <string>SourceProperties</string>
  444. </property>
  445. </action>
  446. <action name="actionSceneUp">
  447. <property name="icon">
  448. <iconset resource="obs.qrc">
  449. <normaloff>:/res/images/up.ico</normaloff>:/res/images/up.ico</iconset>
  450. </property>
  451. <property name="text">
  452. <string>SceneMoveUp</string>
  453. </property>
  454. </action>
  455. <action name="actionSourceUp">
  456. <property name="icon">
  457. <iconset resource="obs.qrc">
  458. <normaloff>:/res/images/up.ico</normaloff>:/res/images/up.ico</iconset>
  459. </property>
  460. <property name="text">
  461. <string>SourceMoveUp</string>
  462. </property>
  463. </action>
  464. <action name="actionSceneDown">
  465. <property name="icon">
  466. <iconset resource="obs.qrc">
  467. <normaloff>:/res/images/down.ico</normaloff>:/res/images/down.ico</iconset>
  468. </property>
  469. <property name="text">
  470. <string>SceneMoveDown</string>
  471. </property>
  472. </action>
  473. <action name="actionSourceDown">
  474. <property name="icon">
  475. <iconset resource="obs.qrc">
  476. <normaloff>:/res/images/down.ico</normaloff>:/res/images/down.ico</iconset>
  477. </property>
  478. <property name="text">
  479. <string>SourceMoveDown</string>
  480. </property>
  481. </action>
  482. <action name="action_New">
  483. <property name="text">
  484. <string>&amp;New</string>
  485. </property>
  486. </action>
  487. <action name="action_Open">
  488. <property name="text">
  489. <string>&amp;Open</string>
  490. </property>
  491. </action>
  492. <action name="action_Save">
  493. <property name="text">
  494. <string>&amp;Save</string>
  495. </property>
  496. </action>
  497. <action name="actionE_xit">
  498. <property name="text">
  499. <string>E&amp;xit</string>
  500. </property>
  501. </action>
  502. </widget>
  503. <customwidgets>
  504. <customwidget>
  505. <class>OBSQTDisplay</class>
  506. <extends>QWidget</extends>
  507. <header>qt-display.hpp</header>
  508. <container>1</container>
  509. </customwidget>
  510. </customwidgets>
  511. <resources>
  512. <include location="obs.qrc"/>
  513. </resources>
  514. <connections>
  515. <connection>
  516. <sender>actionE_xit</sender>
  517. <signal>triggered()</signal>
  518. <receiver>OBSBasic</receiver>
  519. <slot>close()</slot>
  520. <hints>
  521. <hint type="sourcelabel">
  522. <x>-1</x>
  523. <y>-1</y>
  524. </hint>
  525. <hint type="destinationlabel">
  526. <x>463</x>
  527. <y>351</y>
  528. </hint>
  529. </hints>
  530. </connection>
  531. <connection>
  532. <sender>exitButton</sender>
  533. <signal>clicked()</signal>
  534. <receiver>OBSBasic</receiver>
  535. <slot>close()</slot>
  536. <hints>
  537. <hint type="sourcelabel">
  538. <x>697</x>
  539. <y>615</y>
  540. </hint>
  541. <hint type="destinationlabel">
  542. <x>463</x>
  543. <y>351</y>
  544. </hint>
  545. </hints>
  546. </connection>
  547. </connections>
  548. </ui>