OBSBasicTransform.ui 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>OBSBasicTransform</class>
  4. <widget class="QDialog" name="OBSBasicTransform">
  5. <property name="enabled">
  6. <bool>false</bool>
  7. </property>
  8. <property name="geometry">
  9. <rect>
  10. <x>0</x>
  11. <y>0</y>
  12. <width>564</width>
  13. <height>241</height>
  14. </rect>
  15. </property>
  16. <property name="windowTitle">
  17. <string>Basic.TransformWindow</string>
  18. </property>
  19. <layout class="QVBoxLayout" name="verticalLayout">
  20. <item>
  21. <layout class="QFormLayout" name="formLayout">
  22. <property name="fieldGrowthPolicy">
  23. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  24. </property>
  25. <property name="labelAlignment">
  26. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  27. </property>
  28. <item row="0" column="0">
  29. <widget class="QLabel" name="label">
  30. <property name="sizePolicy">
  31. <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
  32. <horstretch>0</horstretch>
  33. <verstretch>0</verstretch>
  34. </sizepolicy>
  35. </property>
  36. <property name="minimumSize">
  37. <size>
  38. <width>170</width>
  39. <height>0</height>
  40. </size>
  41. </property>
  42. <property name="text">
  43. <string>Basic.TransformWindow.Position</string>
  44. </property>
  45. <property name="alignment">
  46. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  47. </property>
  48. </widget>
  49. </item>
  50. <item row="0" column="1">
  51. <widget class="QWidget" name="widget" native="true">
  52. <property name="sizePolicy">
  53. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  54. <horstretch>0</horstretch>
  55. <verstretch>0</verstretch>
  56. </sizepolicy>
  57. </property>
  58. <layout class="QHBoxLayout" name="horizontalLayout">
  59. <property name="leftMargin">
  60. <number>0</number>
  61. </property>
  62. <property name="topMargin">
  63. <number>0</number>
  64. </property>
  65. <property name="rightMargin">
  66. <number>0</number>
  67. </property>
  68. <property name="bottomMargin">
  69. <number>0</number>
  70. </property>
  71. <item>
  72. <widget class="QDoubleSpinBox" name="positionX">
  73. <property name="minimumSize">
  74. <size>
  75. <width>100</width>
  76. <height>0</height>
  77. </size>
  78. </property>
  79. <property name="decimals">
  80. <number>4</number>
  81. </property>
  82. <property name="minimum">
  83. <double>-90001.000000000000000</double>
  84. </property>
  85. <property name="maximum">
  86. <double>90001.000000000000000</double>
  87. </property>
  88. </widget>
  89. </item>
  90. <item>
  91. <widget class="QDoubleSpinBox" name="positionY">
  92. <property name="minimumSize">
  93. <size>
  94. <width>100</width>
  95. <height>0</height>
  96. </size>
  97. </property>
  98. <property name="decimals">
  99. <number>4</number>
  100. </property>
  101. <property name="minimum">
  102. <double>-90001.000000000000000</double>
  103. </property>
  104. <property name="maximum">
  105. <double>90001.000000000000000</double>
  106. </property>
  107. </widget>
  108. </item>
  109. </layout>
  110. </widget>
  111. </item>
  112. <item row="1" column="0">
  113. <widget class="QLabel" name="label_2">
  114. <property name="text">
  115. <string>Basic.TransformWindow.Rotation</string>
  116. </property>
  117. </widget>
  118. </item>
  119. <item row="1" column="1">
  120. <widget class="QDoubleSpinBox" name="rotation">
  121. <property name="sizePolicy">
  122. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  123. <horstretch>0</horstretch>
  124. <verstretch>0</verstretch>
  125. </sizepolicy>
  126. </property>
  127. <property name="minimumSize">
  128. <size>
  129. <width>100</width>
  130. <height>0</height>
  131. </size>
  132. </property>
  133. <property name="minimum">
  134. <double>-360.000000000000000</double>
  135. </property>
  136. <property name="maximum">
  137. <double>360.000000000000000</double>
  138. </property>
  139. <property name="singleStep">
  140. <double>0.100000000000000</double>
  141. </property>
  142. </widget>
  143. </item>
  144. <item row="2" column="0">
  145. <widget class="QLabel" name="label_3">
  146. <property name="text">
  147. <string>Basic.TransformWindow.Size</string>
  148. </property>
  149. </widget>
  150. </item>
  151. <item row="2" column="1">
  152. <widget class="QWidget" name="widget_2" native="true">
  153. <property name="sizePolicy">
  154. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  155. <horstretch>0</horstretch>
  156. <verstretch>0</verstretch>
  157. </sizepolicy>
  158. </property>
  159. <layout class="QHBoxLayout" name="horizontalLayout_2">
  160. <property name="leftMargin">
  161. <number>0</number>
  162. </property>
  163. <property name="topMargin">
  164. <number>0</number>
  165. </property>
  166. <property name="rightMargin">
  167. <number>0</number>
  168. </property>
  169. <property name="bottomMargin">
  170. <number>0</number>
  171. </property>
  172. <item>
  173. <widget class="QDoubleSpinBox" name="sizeX">
  174. <property name="minimumSize">
  175. <size>
  176. <width>100</width>
  177. <height>0</height>
  178. </size>
  179. </property>
  180. <property name="decimals">
  181. <number>4</number>
  182. </property>
  183. <property name="minimum">
  184. <double>-90001.000000000000000</double>
  185. </property>
  186. <property name="maximum">
  187. <double>90001.000000000000000</double>
  188. </property>
  189. <property name="singleStep">
  190. <double>1.000000000000000</double>
  191. </property>
  192. </widget>
  193. </item>
  194. <item>
  195. <widget class="QDoubleSpinBox" name="sizeY">
  196. <property name="minimumSize">
  197. <size>
  198. <width>100</width>
  199. <height>0</height>
  200. </size>
  201. </property>
  202. <property name="decimals">
  203. <number>4</number>
  204. </property>
  205. <property name="minimum">
  206. <double>-90001.000000000000000</double>
  207. </property>
  208. <property name="maximum">
  209. <double>90001.000000000000000</double>
  210. </property>
  211. <property name="singleStep">
  212. <double>1.000000000000000</double>
  213. </property>
  214. </widget>
  215. </item>
  216. </layout>
  217. </widget>
  218. </item>
  219. <item row="3" column="0">
  220. <widget class="QLabel" name="label_4">
  221. <property name="text">
  222. <string>Basic.TransformWindow.Alignment</string>
  223. </property>
  224. </widget>
  225. </item>
  226. <item row="3" column="1">
  227. <widget class="QComboBox" name="align">
  228. <property name="currentText">
  229. <string>Basic.TransformWindow.Alignment.TopLeft</string>
  230. </property>
  231. <item>
  232. <property name="text">
  233. <string>Basic.TransformWindow.Alignment.TopLeft</string>
  234. </property>
  235. </item>
  236. <item>
  237. <property name="text">
  238. <string>Basic.TransformWindow.Alignment.TopCenter</string>
  239. </property>
  240. </item>
  241. <item>
  242. <property name="text">
  243. <string>Basic.TransformWindow.Alignment.TopRight</string>
  244. </property>
  245. </item>
  246. <item>
  247. <property name="text">
  248. <string>Basic.TransformWindow.Alignment.CenterLeft</string>
  249. </property>
  250. </item>
  251. <item>
  252. <property name="text">
  253. <string>Basic.TransformWindow.Alignment.Center</string>
  254. </property>
  255. </item>
  256. <item>
  257. <property name="text">
  258. <string>Basic.TransformWindow.Alignment.CenterRight</string>
  259. </property>
  260. </item>
  261. <item>
  262. <property name="text">
  263. <string>Basic.TransformWindow.Alignment.BottomLeft</string>
  264. </property>
  265. </item>
  266. <item>
  267. <property name="text">
  268. <string>Basic.TransformWindow.Alignment.BottomCenter</string>
  269. </property>
  270. </item>
  271. <item>
  272. <property name="text">
  273. <string>Basic.TransformWindow.Alignment.BottomRight</string>
  274. </property>
  275. </item>
  276. </widget>
  277. </item>
  278. <item row="4" column="1">
  279. <spacer name="verticalSpacer">
  280. <property name="orientation">
  281. <enum>Qt::Vertical</enum>
  282. </property>
  283. <property name="sizeHint" stdset="0">
  284. <size>
  285. <width>10</width>
  286. <height>10</height>
  287. </size>
  288. </property>
  289. </spacer>
  290. </item>
  291. <item row="5" column="0">
  292. <widget class="QLabel" name="label_5">
  293. <property name="text">
  294. <string>Basic.TransformWindow.BoundsType</string>
  295. </property>
  296. </widget>
  297. </item>
  298. <item row="5" column="1">
  299. <widget class="QComboBox" name="boundsType">
  300. <item>
  301. <property name="text">
  302. <string>Basic.TransformWindow.BoundsType.None</string>
  303. </property>
  304. </item>
  305. <item>
  306. <property name="text">
  307. <string>Basic.TransformWindow.BoundsType.Stretch</string>
  308. </property>
  309. </item>
  310. <item>
  311. <property name="text">
  312. <string>Basic.TransformWindow.BoundsType.ScaleInner</string>
  313. </property>
  314. </item>
  315. <item>
  316. <property name="text">
  317. <string>Basic.TransformWindow.BoundsType.ScaleOuter</string>
  318. </property>
  319. </item>
  320. <item>
  321. <property name="text">
  322. <string>Basic.TransformWindow.BoundsType.ScaleToWidth</string>
  323. </property>
  324. </item>
  325. <item>
  326. <property name="text">
  327. <string>Basic.TransformWindow.BoundsType.ScaleToHeight</string>
  328. </property>
  329. </item>
  330. <item>
  331. <property name="text">
  332. <string>Basic.TransformWindow.BoundsType.MaxOnly</string>
  333. </property>
  334. </item>
  335. </widget>
  336. </item>
  337. <item row="6" column="0">
  338. <widget class="QLabel" name="label_6">
  339. <property name="text">
  340. <string>Basic.TransformWindow.BoundsAlignment</string>
  341. </property>
  342. </widget>
  343. </item>
  344. <item row="6" column="1">
  345. <widget class="QComboBox" name="boundsAlign">
  346. <property name="enabled">
  347. <bool>false</bool>
  348. </property>
  349. <property name="currentText">
  350. <string>Basic.TransformWindow.Alignment.TopLeft</string>
  351. </property>
  352. <item>
  353. <property name="text">
  354. <string>Basic.TransformWindow.Alignment.TopLeft</string>
  355. </property>
  356. </item>
  357. <item>
  358. <property name="text">
  359. <string>Basic.TransformWindow.Alignment.TopCenter</string>
  360. </property>
  361. </item>
  362. <item>
  363. <property name="text">
  364. <string>Basic.TransformWindow.Alignment.TopRight</string>
  365. </property>
  366. </item>
  367. <item>
  368. <property name="text">
  369. <string>Basic.TransformWindow.Alignment.CenterLeft</string>
  370. </property>
  371. </item>
  372. <item>
  373. <property name="text">
  374. <string>Basic.TransformWindow.Alignment.Center</string>
  375. </property>
  376. </item>
  377. <item>
  378. <property name="text">
  379. <string>Basic.TransformWindow.Alignment.CenterRight</string>
  380. </property>
  381. </item>
  382. <item>
  383. <property name="text">
  384. <string>Basic.TransformWindow.Alignment.BottomLeft</string>
  385. </property>
  386. </item>
  387. <item>
  388. <property name="text">
  389. <string>Basic.TransformWindow.Alignment.BottomCenter</string>
  390. </property>
  391. </item>
  392. <item>
  393. <property name="text">
  394. <string>Basic.TransformWindow.Alignment.BottomRight</string>
  395. </property>
  396. </item>
  397. </widget>
  398. </item>
  399. <item row="7" column="0">
  400. <widget class="QLabel" name="label_7">
  401. <property name="text">
  402. <string>Basic.TransformWindow.Bounds</string>
  403. </property>
  404. </widget>
  405. </item>
  406. <item row="7" column="1">
  407. <widget class="QWidget" name="widget_3" native="true">
  408. <property name="sizePolicy">
  409. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  410. <horstretch>0</horstretch>
  411. <verstretch>0</verstretch>
  412. </sizepolicy>
  413. </property>
  414. <layout class="QHBoxLayout" name="horizontalLayout_3">
  415. <property name="leftMargin">
  416. <number>0</number>
  417. </property>
  418. <property name="topMargin">
  419. <number>0</number>
  420. </property>
  421. <property name="rightMargin">
  422. <number>0</number>
  423. </property>
  424. <property name="bottomMargin">
  425. <number>0</number>
  426. </property>
  427. <item>
  428. <widget class="QDoubleSpinBox" name="boundsWidth">
  429. <property name="enabled">
  430. <bool>false</bool>
  431. </property>
  432. <property name="minimumSize">
  433. <size>
  434. <width>100</width>
  435. <height>0</height>
  436. </size>
  437. </property>
  438. <property name="decimals">
  439. <number>4</number>
  440. </property>
  441. <property name="minimum">
  442. <double>1.000000000000000</double>
  443. </property>
  444. <property name="maximum">
  445. <double>90001.000000000000000</double>
  446. </property>
  447. </widget>
  448. </item>
  449. <item>
  450. <widget class="QDoubleSpinBox" name="boundsHeight">
  451. <property name="enabled">
  452. <bool>false</bool>
  453. </property>
  454. <property name="minimumSize">
  455. <size>
  456. <width>100</width>
  457. <height>0</height>
  458. </size>
  459. </property>
  460. <property name="decimals">
  461. <number>4</number>
  462. </property>
  463. <property name="minimum">
  464. <double>1.000000000000000</double>
  465. </property>
  466. <property name="maximum">
  467. <double>90001.000000000000000</double>
  468. </property>
  469. </widget>
  470. </item>
  471. </layout>
  472. </widget>
  473. </item>
  474. <item row="8" column="1">
  475. <spacer name="verticalSpacer_2">
  476. <property name="orientation">
  477. <enum>Qt::Vertical</enum>
  478. </property>
  479. <property name="sizeHint" stdset="0">
  480. <size>
  481. <width>10</width>
  482. <height>10</height>
  483. </size>
  484. </property>
  485. </spacer>
  486. </item>
  487. <item row="9" column="0">
  488. <widget class="QLabel" name="label_8">
  489. <property name="text">
  490. <string>Basic.TransformWindow.Crop</string>
  491. </property>
  492. </widget>
  493. </item>
  494. <item row="9" column="1">
  495. <layout class="QGridLayout" name="gridLayout">
  496. <item row="0" column="1">
  497. <widget class="QSpinBox" name="cropLeft">
  498. <property name="sizePolicy">
  499. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  500. <horstretch>0</horstretch>
  501. <verstretch>0</verstretch>
  502. </sizepolicy>
  503. </property>
  504. <property name="minimumSize">
  505. <size>
  506. <width>70</width>
  507. <height>0</height>
  508. </size>
  509. </property>
  510. <property name="maximum">
  511. <number>100000</number>
  512. </property>
  513. </widget>
  514. </item>
  515. <item row="0" column="3">
  516. <widget class="QSpinBox" name="cropRight">
  517. <property name="sizePolicy">
  518. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  519. <horstretch>0</horstretch>
  520. <verstretch>0</verstretch>
  521. </sizepolicy>
  522. </property>
  523. <property name="minimumSize">
  524. <size>
  525. <width>70</width>
  526. <height>0</height>
  527. </size>
  528. </property>
  529. <property name="maximum">
  530. <number>100000</number>
  531. </property>
  532. </widget>
  533. </item>
  534. <item row="0" column="0">
  535. <widget class="QLabel" name="label_9">
  536. <property name="text">
  537. <string>Left</string>
  538. </property>
  539. <property name="alignment">
  540. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  541. </property>
  542. <property name="buddy">
  543. <cstring>cropLeft</cstring>
  544. </property>
  545. </widget>
  546. </item>
  547. <item row="1" column="2">
  548. <widget class="QLabel" name="label_12">
  549. <property name="text">
  550. <string>Bottom</string>
  551. </property>
  552. <property name="alignment">
  553. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  554. </property>
  555. <property name="buddy">
  556. <cstring>cropBottom</cstring>
  557. </property>
  558. </widget>
  559. </item>
  560. <item row="1" column="1">
  561. <widget class="QSpinBox" name="cropTop">
  562. <property name="sizePolicy">
  563. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  564. <horstretch>0</horstretch>
  565. <verstretch>0</verstretch>
  566. </sizepolicy>
  567. </property>
  568. <property name="minimumSize">
  569. <size>
  570. <width>70</width>
  571. <height>0</height>
  572. </size>
  573. </property>
  574. <property name="maximum">
  575. <number>100000</number>
  576. </property>
  577. </widget>
  578. </item>
  579. <item row="1" column="3">
  580. <widget class="QSpinBox" name="cropBottom">
  581. <property name="sizePolicy">
  582. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  583. <horstretch>0</horstretch>
  584. <verstretch>0</verstretch>
  585. </sizepolicy>
  586. </property>
  587. <property name="minimumSize">
  588. <size>
  589. <width>70</width>
  590. <height>0</height>
  591. </size>
  592. </property>
  593. <property name="maximum">
  594. <number>100000</number>
  595. </property>
  596. </widget>
  597. </item>
  598. <item row="1" column="0">
  599. <widget class="QLabel" name="label_11">
  600. <property name="text">
  601. <string>Top</string>
  602. </property>
  603. <property name="alignment">
  604. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  605. </property>
  606. <property name="buddy">
  607. <cstring>cropTop</cstring>
  608. </property>
  609. </widget>
  610. </item>
  611. <item row="0" column="2">
  612. <widget class="QLabel" name="label_10">
  613. <property name="text">
  614. <string>Right</string>
  615. </property>
  616. <property name="alignment">
  617. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  618. </property>
  619. <property name="buddy">
  620. <cstring>cropRight</cstring>
  621. </property>
  622. </widget>
  623. </item>
  624. <item row="0" column="4">
  625. <spacer name="horizontalSpacer">
  626. <property name="orientation">
  627. <enum>Qt::Horizontal</enum>
  628. </property>
  629. <property name="sizeHint" stdset="0">
  630. <size>
  631. <width>0</width>
  632. <height>0</height>
  633. </size>
  634. </property>
  635. </spacer>
  636. </item>
  637. </layout>
  638. </item>
  639. </layout>
  640. </item>
  641. <item>
  642. <widget class="QDialogButtonBox" name="buttonBox">
  643. <property name="standardButtons">
  644. <set>QDialogButtonBox::Reset|QDialogButtonBox::Close</set>
  645. </property>
  646. </widget>
  647. </item>
  648. </layout>
  649. </widget>
  650. <resources/>
  651. <connections>
  652. <connection>
  653. <sender>buttonBox</sender>
  654. <signal>rejected()</signal>
  655. <receiver>OBSBasicTransform</receiver>
  656. <slot>reject()</slot>
  657. </connection>
  658. </connections>
  659. </ui>