OBSBasic.ui 17 KB

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