1
0

OBSBasicTransform.ui 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874
  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="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>564</width>
  10. <height>320</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Basic.TransformWindow</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout" stretch="0,5,0">
  17. <item>
  18. <widget class="QWidget" name="container" native="true">
  19. <layout class="QFormLayout" name="formLayout">
  20. <property name="fieldGrowthPolicy">
  21. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  22. </property>
  23. <property name="labelAlignment">
  24. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  25. </property>
  26. <property name="horizontalSpacing">
  27. <number>4</number>
  28. </property>
  29. <property name="verticalSpacing">
  30. <number>4</number>
  31. </property>
  32. <property name="leftMargin">
  33. <number>0</number>
  34. </property>
  35. <property name="topMargin">
  36. <number>0</number>
  37. </property>
  38. <property name="rightMargin">
  39. <number>0</number>
  40. </property>
  41. <property name="bottomMargin">
  42. <number>0</number>
  43. </property>
  44. <item row="0" column="0">
  45. <widget class="QLabel" name="label">
  46. <property name="sizePolicy">
  47. <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
  48. <horstretch>0</horstretch>
  49. <verstretch>0</verstretch>
  50. </sizepolicy>
  51. </property>
  52. <property name="minimumSize">
  53. <size>
  54. <width>170</width>
  55. <height>0</height>
  56. </size>
  57. </property>
  58. <property name="accessibleName">
  59. <string>Basic.TransformWindow.Position</string>
  60. </property>
  61. <property name="text">
  62. <string>Basic.TransformWindow.Position</string>
  63. </property>
  64. <property name="alignment">
  65. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  66. </property>
  67. </widget>
  68. </item>
  69. <item row="0" column="1">
  70. <widget class="QFrame" name="widget">
  71. <property name="sizePolicy">
  72. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  73. <horstretch>0</horstretch>
  74. <verstretch>0</verstretch>
  75. </sizepolicy>
  76. </property>
  77. <layout class="QHBoxLayout" name="horizontalLayout">
  78. <property name="leftMargin">
  79. <number>0</number>
  80. </property>
  81. <property name="topMargin">
  82. <number>0</number>
  83. </property>
  84. <property name="rightMargin">
  85. <number>0</number>
  86. </property>
  87. <property name="bottomMargin">
  88. <number>0</number>
  89. </property>
  90. <item>
  91. <widget class="QDoubleSpinBox" name="positionX">
  92. <property name="minimumSize">
  93. <size>
  94. <width>120</width>
  95. <height>0</height>
  96. </size>
  97. </property>
  98. <property name="maximumSize">
  99. <size>
  100. <width>100</width>
  101. <height>16777215</height>
  102. </size>
  103. </property>
  104. <property name="accessibleName">
  105. <string>Basic.TransformWindow.PositionX</string>
  106. </property>
  107. <property name="suffix">
  108. <string> px</string>
  109. </property>
  110. <property name="decimals">
  111. <number>4</number>
  112. </property>
  113. <property name="minimum">
  114. <double>-90001.000000000000000</double>
  115. </property>
  116. <property name="maximum">
  117. <double>90001.000000000000000</double>
  118. </property>
  119. </widget>
  120. </item>
  121. <item>
  122. <widget class="QDoubleSpinBox" name="positionY">
  123. <property name="minimumSize">
  124. <size>
  125. <width>120</width>
  126. <height>0</height>
  127. </size>
  128. </property>
  129. <property name="maximumSize">
  130. <size>
  131. <width>100</width>
  132. <height>16777215</height>
  133. </size>
  134. </property>
  135. <property name="accessibleName">
  136. <string>Basic.TransformWindow.PositionY</string>
  137. </property>
  138. <property name="suffix">
  139. <string> px</string>
  140. </property>
  141. <property name="decimals">
  142. <number>4</number>
  143. </property>
  144. <property name="minimum">
  145. <double>-90001.000000000000000</double>
  146. </property>
  147. <property name="maximum">
  148. <double>90001.000000000000000</double>
  149. </property>
  150. </widget>
  151. </item>
  152. </layout>
  153. </widget>
  154. </item>
  155. <item row="1" column="0">
  156. <widget class="QLabel" name="label_2">
  157. <property name="accessibleName">
  158. <string>Basic.TransformWindow.Rotation</string>
  159. </property>
  160. <property name="text">
  161. <string>Basic.TransformWindow.Rotation</string>
  162. </property>
  163. </widget>
  164. </item>
  165. <item row="1" column="1">
  166. <widget class="QDoubleSpinBox" name="rotation">
  167. <property name="sizePolicy">
  168. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  169. <horstretch>0</horstretch>
  170. <verstretch>0</verstretch>
  171. </sizepolicy>
  172. </property>
  173. <property name="minimumSize">
  174. <size>
  175. <width>120</width>
  176. <height>0</height>
  177. </size>
  178. </property>
  179. <property name="maximumSize">
  180. <size>
  181. <width>100</width>
  182. <height>16777215</height>
  183. </size>
  184. </property>
  185. <property name="accessibleName">
  186. <string>Basic.TransformWindow.Rotation</string>
  187. </property>
  188. <property name="suffix">
  189. <string>°</string>
  190. </property>
  191. <property name="minimum">
  192. <double>-360.000000000000000</double>
  193. </property>
  194. <property name="maximum">
  195. <double>360.000000000000000</double>
  196. </property>
  197. <property name="singleStep">
  198. <double>0.100000000000000</double>
  199. </property>
  200. </widget>
  201. </item>
  202. <item row="2" column="0">
  203. <widget class="QLabel" name="label_3">
  204. <property name="accessibleName">
  205. <string>Basic.TransformWindow.Size</string>
  206. </property>
  207. <property name="text">
  208. <string>Basic.TransformWindow.Size</string>
  209. </property>
  210. </widget>
  211. </item>
  212. <item row="2" column="1">
  213. <widget class="QFrame" name="widget_2">
  214. <property name="sizePolicy">
  215. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  216. <horstretch>0</horstretch>
  217. <verstretch>0</verstretch>
  218. </sizepolicy>
  219. </property>
  220. <layout class="QHBoxLayout" name="horizontalLayout_2">
  221. <property name="leftMargin">
  222. <number>0</number>
  223. </property>
  224. <property name="topMargin">
  225. <number>0</number>
  226. </property>
  227. <property name="rightMargin">
  228. <number>0</number>
  229. </property>
  230. <property name="bottomMargin">
  231. <number>0</number>
  232. </property>
  233. <item>
  234. <widget class="QDoubleSpinBox" name="sizeX">
  235. <property name="minimumSize">
  236. <size>
  237. <width>120</width>
  238. <height>0</height>
  239. </size>
  240. </property>
  241. <property name="maximumSize">
  242. <size>
  243. <width>100</width>
  244. <height>16777215</height>
  245. </size>
  246. </property>
  247. <property name="accessibleName">
  248. <string>Basic.TransformWindow.Width</string>
  249. </property>
  250. <property name="suffix">
  251. <string> px</string>
  252. </property>
  253. <property name="decimals">
  254. <number>4</number>
  255. </property>
  256. <property name="minimum">
  257. <double>-90001.000000000000000</double>
  258. </property>
  259. <property name="maximum">
  260. <double>90001.000000000000000</double>
  261. </property>
  262. <property name="singleStep">
  263. <double>1.000000000000000</double>
  264. </property>
  265. </widget>
  266. </item>
  267. <item>
  268. <widget class="QDoubleSpinBox" name="sizeY">
  269. <property name="minimumSize">
  270. <size>
  271. <width>120</width>
  272. <height>0</height>
  273. </size>
  274. </property>
  275. <property name="maximumSize">
  276. <size>
  277. <width>100</width>
  278. <height>16777215</height>
  279. </size>
  280. </property>
  281. <property name="accessibleName">
  282. <string>Basic.TransformWindow.Height</string>
  283. </property>
  284. <property name="suffix">
  285. <string> px</string>
  286. </property>
  287. <property name="decimals">
  288. <number>4</number>
  289. </property>
  290. <property name="minimum">
  291. <double>-90001.000000000000000</double>
  292. </property>
  293. <property name="maximum">
  294. <double>90001.000000000000000</double>
  295. </property>
  296. <property name="singleStep">
  297. <double>1.000000000000000</double>
  298. </property>
  299. </widget>
  300. </item>
  301. </layout>
  302. </widget>
  303. </item>
  304. <item row="3" column="0">
  305. <widget class="QLabel" name="label_4">
  306. <property name="accessibleName">
  307. <string>Basic.TransformWindow.Alignment</string>
  308. </property>
  309. <property name="text">
  310. <string>Basic.TransformWindow.Alignment</string>
  311. </property>
  312. </widget>
  313. </item>
  314. <item row="3" column="1">
  315. <widget class="QComboBox" name="align">
  316. <property name="accessibleName">
  317. <string>Basic.TransformWindow.Alignment</string>
  318. </property>
  319. <property name="currentText">
  320. <string>Basic.TransformWindow.Alignment.TopLeft</string>
  321. </property>
  322. <item>
  323. <property name="text">
  324. <string>Basic.TransformWindow.Alignment.TopLeft</string>
  325. </property>
  326. </item>
  327. <item>
  328. <property name="text">
  329. <string>Basic.TransformWindow.Alignment.TopCenter</string>
  330. </property>
  331. </item>
  332. <item>
  333. <property name="text">
  334. <string>Basic.TransformWindow.Alignment.TopRight</string>
  335. </property>
  336. </item>
  337. <item>
  338. <property name="text">
  339. <string>Basic.TransformWindow.Alignment.CenterLeft</string>
  340. </property>
  341. </item>
  342. <item>
  343. <property name="text">
  344. <string>Basic.TransformWindow.Alignment.Center</string>
  345. </property>
  346. </item>
  347. <item>
  348. <property name="text">
  349. <string>Basic.TransformWindow.Alignment.CenterRight</string>
  350. </property>
  351. </item>
  352. <item>
  353. <property name="text">
  354. <string>Basic.TransformWindow.Alignment.BottomLeft</string>
  355. </property>
  356. </item>
  357. <item>
  358. <property name="text">
  359. <string>Basic.TransformWindow.Alignment.BottomCenter</string>
  360. </property>
  361. </item>
  362. <item>
  363. <property name="text">
  364. <string>Basic.TransformWindow.Alignment.BottomRight</string>
  365. </property>
  366. </item>
  367. </widget>
  368. </item>
  369. <item row="4" column="1">
  370. <spacer name="verticalSpacer">
  371. <property name="orientation">
  372. <enum>Qt::Vertical</enum>
  373. </property>
  374. <property name="sizeHint" stdset="0">
  375. <size>
  376. <width>10</width>
  377. <height>10</height>
  378. </size>
  379. </property>
  380. </spacer>
  381. </item>
  382. <item row="5" column="0">
  383. <widget class="QLabel" name="label_5">
  384. <property name="accessibleName">
  385. <string>Basic.TransformWindow.BoundsType</string>
  386. </property>
  387. <property name="text">
  388. <string>Basic.TransformWindow.BoundsType</string>
  389. </property>
  390. </widget>
  391. </item>
  392. <item row="5" column="1">
  393. <widget class="QComboBox" name="boundsType">
  394. <property name="accessibleName">
  395. <string>Basic.TransformWindow.BoundsType</string>
  396. </property>
  397. <item>
  398. <property name="text">
  399. <string>Basic.TransformWindow.BoundsType.None</string>
  400. </property>
  401. </item>
  402. <item>
  403. <property name="text">
  404. <string>Basic.TransformWindow.BoundsType.Stretch</string>
  405. </property>
  406. </item>
  407. <item>
  408. <property name="text">
  409. <string>Basic.TransformWindow.BoundsType.ScaleInner</string>
  410. </property>
  411. </item>
  412. <item>
  413. <property name="text">
  414. <string>Basic.TransformWindow.BoundsType.ScaleOuter</string>
  415. </property>
  416. </item>
  417. <item>
  418. <property name="text">
  419. <string>Basic.TransformWindow.BoundsType.ScaleToWidth</string>
  420. </property>
  421. </item>
  422. <item>
  423. <property name="text">
  424. <string>Basic.TransformWindow.BoundsType.ScaleToHeight</string>
  425. </property>
  426. </item>
  427. <item>
  428. <property name="text">
  429. <string>Basic.TransformWindow.BoundsType.MaxOnly</string>
  430. </property>
  431. </item>
  432. </widget>
  433. </item>
  434. <item row="6" column="0">
  435. <widget class="QLabel" name="label_6">
  436. <property name="accessibleName">
  437. <string>Basic.TransformWindow.BoundsAlignment</string>
  438. </property>
  439. <property name="text">
  440. <string>Basic.TransformWindow.BoundsAlignment</string>
  441. </property>
  442. </widget>
  443. </item>
  444. <item row="6" column="1">
  445. <widget class="QComboBox" name="boundsAlign">
  446. <property name="enabled">
  447. <bool>false</bool>
  448. </property>
  449. <property name="accessibleName">
  450. <string>Basic.TransformWindow.BoundsAlignment</string>
  451. </property>
  452. <property name="currentText">
  453. <string>Basic.TransformWindow.Alignment.TopLeft</string>
  454. </property>
  455. <item>
  456. <property name="text">
  457. <string>Basic.TransformWindow.Alignment.TopLeft</string>
  458. </property>
  459. </item>
  460. <item>
  461. <property name="text">
  462. <string>Basic.TransformWindow.Alignment.TopCenter</string>
  463. </property>
  464. </item>
  465. <item>
  466. <property name="text">
  467. <string>Basic.TransformWindow.Alignment.TopRight</string>
  468. </property>
  469. </item>
  470. <item>
  471. <property name="text">
  472. <string>Basic.TransformWindow.Alignment.CenterLeft</string>
  473. </property>
  474. </item>
  475. <item>
  476. <property name="text">
  477. <string>Basic.TransformWindow.Alignment.Center</string>
  478. </property>
  479. </item>
  480. <item>
  481. <property name="text">
  482. <string>Basic.TransformWindow.Alignment.CenterRight</string>
  483. </property>
  484. </item>
  485. <item>
  486. <property name="text">
  487. <string>Basic.TransformWindow.Alignment.BottomLeft</string>
  488. </property>
  489. </item>
  490. <item>
  491. <property name="text">
  492. <string>Basic.TransformWindow.Alignment.BottomCenter</string>
  493. </property>
  494. </item>
  495. <item>
  496. <property name="text">
  497. <string>Basic.TransformWindow.Alignment.BottomRight</string>
  498. </property>
  499. </item>
  500. </widget>
  501. </item>
  502. <item row="7" column="0">
  503. <widget class="QLabel" name="label_7">
  504. <property name="accessibleName">
  505. <string>Basic.TransformWindow.Bounds</string>
  506. </property>
  507. <property name="text">
  508. <string>Basic.TransformWindow.Bounds</string>
  509. </property>
  510. </widget>
  511. </item>
  512. <item row="7" column="1">
  513. <widget class="QFrame" name="widget_3">
  514. <property name="sizePolicy">
  515. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  516. <horstretch>0</horstretch>
  517. <verstretch>0</verstretch>
  518. </sizepolicy>
  519. </property>
  520. <layout class="QHBoxLayout" name="horizontalLayout_3">
  521. <property name="leftMargin">
  522. <number>0</number>
  523. </property>
  524. <property name="topMargin">
  525. <number>0</number>
  526. </property>
  527. <property name="rightMargin">
  528. <number>0</number>
  529. </property>
  530. <property name="bottomMargin">
  531. <number>0</number>
  532. </property>
  533. <item>
  534. <widget class="QDoubleSpinBox" name="boundsWidth">
  535. <property name="enabled">
  536. <bool>false</bool>
  537. </property>
  538. <property name="minimumSize">
  539. <size>
  540. <width>120</width>
  541. <height>0</height>
  542. </size>
  543. </property>
  544. <property name="maximumSize">
  545. <size>
  546. <width>100</width>
  547. <height>16777215</height>
  548. </size>
  549. </property>
  550. <property name="accessibleName">
  551. <string>Basic.TransformWindow.BoundsWidth</string>
  552. </property>
  553. <property name="suffix">
  554. <string> px</string>
  555. </property>
  556. <property name="decimals">
  557. <number>4</number>
  558. </property>
  559. <property name="minimum">
  560. <double>1.000000000000000</double>
  561. </property>
  562. <property name="maximum">
  563. <double>90001.000000000000000</double>
  564. </property>
  565. </widget>
  566. </item>
  567. <item>
  568. <widget class="QDoubleSpinBox" name="boundsHeight">
  569. <property name="enabled">
  570. <bool>false</bool>
  571. </property>
  572. <property name="minimumSize">
  573. <size>
  574. <width>120</width>
  575. <height>0</height>
  576. </size>
  577. </property>
  578. <property name="maximumSize">
  579. <size>
  580. <width>100</width>
  581. <height>16777215</height>
  582. </size>
  583. </property>
  584. <property name="accessibleName">
  585. <string>Basic.TransformWindow.BoundsHeight</string>
  586. </property>
  587. <property name="suffix">
  588. <string> px</string>
  589. </property>
  590. <property name="decimals">
  591. <number>4</number>
  592. </property>
  593. <property name="minimum">
  594. <double>1.000000000000000</double>
  595. </property>
  596. <property name="maximum">
  597. <double>90001.000000000000000</double>
  598. </property>
  599. </widget>
  600. </item>
  601. </layout>
  602. </widget>
  603. </item>
  604. <item row="8" column="1">
  605. <widget class="QCheckBox" name="cropToBounds">
  606. <property name="accessibleName">
  607. <string>Basic.TransformWindow.BoundsAlignment</string>
  608. </property>
  609. <property name="text">
  610. <string>Basic.TransformWindow.CropToBounds</string>
  611. </property>
  612. </widget>
  613. </item>
  614. <item row="9" column="1">
  615. <spacer name="verticalSpacer_2">
  616. <property name="orientation">
  617. <enum>Qt::Vertical</enum>
  618. </property>
  619. <property name="sizeHint" stdset="0">
  620. <size>
  621. <width>10</width>
  622. <height>10</height>
  623. </size>
  624. </property>
  625. </spacer>
  626. </item>
  627. <item row="10" column="0">
  628. <widget class="QLabel" name="label_8">
  629. <property name="accessibleName">
  630. <string>Basic.TransformWindow.Crop</string>
  631. </property>
  632. <property name="text">
  633. <string>Basic.TransformWindow.Crop</string>
  634. </property>
  635. </widget>
  636. </item>
  637. <item row="10" column="1">
  638. <layout class="QGridLayout" name="gridLayout">
  639. <item row="0" column="1">
  640. <widget class="QSpinBox" name="cropLeft">
  641. <property name="sizePolicy">
  642. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  643. <horstretch>0</horstretch>
  644. <verstretch>0</verstretch>
  645. </sizepolicy>
  646. </property>
  647. <property name="minimumSize">
  648. <size>
  649. <width>100</width>
  650. <height>0</height>
  651. </size>
  652. </property>
  653. <property name="maximumSize">
  654. <size>
  655. <width>100</width>
  656. <height>16777215</height>
  657. </size>
  658. </property>
  659. <property name="accessibleName">
  660. <string>Basic.TransformWindow.CropLeft</string>
  661. </property>
  662. <property name="suffix">
  663. <string> px</string>
  664. </property>
  665. <property name="maximum">
  666. <number>100000</number>
  667. </property>
  668. </widget>
  669. </item>
  670. <item row="0" column="3">
  671. <widget class="QSpinBox" name="cropRight">
  672. <property name="sizePolicy">
  673. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  674. <horstretch>0</horstretch>
  675. <verstretch>0</verstretch>
  676. </sizepolicy>
  677. </property>
  678. <property name="minimumSize">
  679. <size>
  680. <width>100</width>
  681. <height>0</height>
  682. </size>
  683. </property>
  684. <property name="maximumSize">
  685. <size>
  686. <width>100</width>
  687. <height>16777215</height>
  688. </size>
  689. </property>
  690. <property name="accessibleName">
  691. <string>Basic.TransformWindow.CropRight</string>
  692. </property>
  693. <property name="suffix">
  694. <string> px</string>
  695. </property>
  696. <property name="maximum">
  697. <number>100000</number>
  698. </property>
  699. </widget>
  700. </item>
  701. <item row="0" column="0">
  702. <widget class="QLabel" name="label_9">
  703. <property name="text">
  704. <string>Left</string>
  705. </property>
  706. <property name="alignment">
  707. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  708. </property>
  709. <property name="buddy">
  710. <cstring>cropLeft</cstring>
  711. </property>
  712. </widget>
  713. </item>
  714. <item row="1" column="2">
  715. <widget class="QLabel" name="label_12">
  716. <property name="text">
  717. <string>Bottom</string>
  718. </property>
  719. <property name="alignment">
  720. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  721. </property>
  722. <property name="buddy">
  723. <cstring>cropBottom</cstring>
  724. </property>
  725. </widget>
  726. </item>
  727. <item row="1" column="1">
  728. <widget class="QSpinBox" name="cropTop">
  729. <property name="sizePolicy">
  730. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  731. <horstretch>0</horstretch>
  732. <verstretch>0</verstretch>
  733. </sizepolicy>
  734. </property>
  735. <property name="minimumSize">
  736. <size>
  737. <width>100</width>
  738. <height>0</height>
  739. </size>
  740. </property>
  741. <property name="maximumSize">
  742. <size>
  743. <width>100</width>
  744. <height>16777215</height>
  745. </size>
  746. </property>
  747. <property name="accessibleName">
  748. <string>Basic.TransformWindow.CropTop</string>
  749. </property>
  750. <property name="suffix">
  751. <string> px</string>
  752. </property>
  753. <property name="maximum">
  754. <number>100000</number>
  755. </property>
  756. </widget>
  757. </item>
  758. <item row="1" column="3">
  759. <widget class="QSpinBox" name="cropBottom">
  760. <property name="sizePolicy">
  761. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  762. <horstretch>0</horstretch>
  763. <verstretch>0</verstretch>
  764. </sizepolicy>
  765. </property>
  766. <property name="minimumSize">
  767. <size>
  768. <width>100</width>
  769. <height>0</height>
  770. </size>
  771. </property>
  772. <property name="maximumSize">
  773. <size>
  774. <width>100</width>
  775. <height>16777215</height>
  776. </size>
  777. </property>
  778. <property name="accessibleName">
  779. <string>Basic.TransformWindow.CropBottom</string>
  780. </property>
  781. <property name="suffix">
  782. <string> px</string>
  783. </property>
  784. <property name="maximum">
  785. <number>100000</number>
  786. </property>
  787. </widget>
  788. </item>
  789. <item row="1" column="0">
  790. <widget class="QLabel" name="label_11">
  791. <property name="text">
  792. <string>Top</string>
  793. </property>
  794. <property name="alignment">
  795. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  796. </property>
  797. <property name="buddy">
  798. <cstring>cropTop</cstring>
  799. </property>
  800. </widget>
  801. </item>
  802. <item row="0" column="2">
  803. <widget class="QLabel" name="label_10">
  804. <property name="text">
  805. <string>Right</string>
  806. </property>
  807. <property name="alignment">
  808. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  809. </property>
  810. <property name="buddy">
  811. <cstring>cropRight</cstring>
  812. </property>
  813. </widget>
  814. </item>
  815. <item row="0" column="4">
  816. <spacer name="horizontalSpacer">
  817. <property name="orientation">
  818. <enum>Qt::Horizontal</enum>
  819. </property>
  820. <property name="sizeHint" stdset="0">
  821. <size>
  822. <width>0</width>
  823. <height>0</height>
  824. </size>
  825. </property>
  826. </spacer>
  827. </item>
  828. </layout>
  829. </item>
  830. </layout>
  831. </widget>
  832. </item>
  833. <item>
  834. <spacer name="transformSpacer">
  835. <property name="orientation">
  836. <enum>Qt::Vertical</enum>
  837. </property>
  838. <property name="sizeHint" stdset="0">
  839. <size>
  840. <width>0</width>
  841. <height>10</height>
  842. </size>
  843. </property>
  844. </spacer>
  845. </item>
  846. <item>
  847. <widget class="QDialogButtonBox" name="buttonBox">
  848. <property name="standardButtons">
  849. <set>QDialogButtonBox::Close|QDialogButtonBox::Reset</set>
  850. </property>
  851. </widget>
  852. </item>
  853. </layout>
  854. </widget>
  855. <resources/>
  856. <connections>
  857. <connection>
  858. <sender>buttonBox</sender>
  859. <signal>rejected()</signal>
  860. <receiver>OBSBasicTransform</receiver>
  861. <slot>reject()</slot>
  862. <hints>
  863. <hint type="sourcelabel">
  864. <x>20</x>
  865. <y>20</y>
  866. </hint>
  867. <hint type="destinationlabel">
  868. <x>20</x>
  869. <y>20</y>
  870. </hint>
  871. </hints>
  872. </connection>
  873. </connections>
  874. </ui>