OBSBasic.ui 19 KB

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