KinematicDescriptionDialog.ui 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>KinematicDescriptionDialog</class>
  4. <widget class="QDialog" name="KinematicDescriptionDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>641</width>
  10. <height>305</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="minimumSize">
  20. <size>
  21. <width>641</width>
  22. <height>305</height>
  23. </size>
  24. </property>
  25. <property name="maximumSize">
  26. <size>
  27. <width>641</width>
  28. <height>305</height>
  29. </size>
  30. </property>
  31. <property name="focusPolicy">
  32. <enum>Qt::StrongFocus</enum>
  33. </property>
  34. <property name="windowTitle">
  35. <string>Set Rigid Body Force</string>
  36. </property>
  37. <property name="class" stdset="0">
  38. <string>AssetImporterDialog</string>
  39. </property>
  40. <layout class="QVBoxLayout" name="verticalLayout">
  41. <property name="spacing">
  42. <number>0</number>
  43. </property>
  44. <property name="sizeConstraint">
  45. <enum>QLayout::SetDefaultConstraint</enum>
  46. </property>
  47. <property name="leftMargin">
  48. <number>16</number>
  49. </property>
  50. <property name="topMargin">
  51. <number>10</number>
  52. </property>
  53. <property name="rightMargin">
  54. <number>16</number>
  55. </property>
  56. <property name="bottomMargin">
  57. <number>0</number>
  58. </property>
  59. <item>
  60. <layout class="QVBoxLayout" name="verticalLayout_2">
  61. <item>
  62. <widget class="QLabel" name="label">
  63. <property name="maximumSize">
  64. <size>
  65. <width>16777215</width>
  66. <height>30</height>
  67. </size>
  68. </property>
  69. <property name="text">
  70. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;Choose between physics-based and kinematic movement for your object.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  71. </property>
  72. </widget>
  73. </item>
  74. <item>
  75. <layout class="QHBoxLayout" name="horizontalLayout">
  76. <item>
  77. <widget class="QGroupBox" name="groupBox">
  78. <property name="styleSheet">
  79. <string notr="true">border: none</string>
  80. </property>
  81. <property name="title">
  82. <string/>
  83. </property>
  84. <widget class="QGroupBox" name="simulatedBox">
  85. <property name="geometry">
  86. <rect>
  87. <x>0</x>
  88. <y>10</y>
  89. <width>301</width>
  90. <height>74</height>
  91. </rect>
  92. </property>
  93. <property name="maximumSize">
  94. <size>
  95. <width>16777215</width>
  96. <height>74</height>
  97. </size>
  98. </property>
  99. <property name="styleSheet">
  100. <string notr="true">background-color: rgb(51, 51, 51);</string>
  101. </property>
  102. <property name="title">
  103. <string/>
  104. </property>
  105. <widget class="QLabel" name="label_2">
  106. <property name="geometry">
  107. <rect>
  108. <x>10</x>
  109. <y>10</y>
  110. <width>71</width>
  111. <height>21</height>
  112. </rect>
  113. </property>
  114. <property name="styleSheet">
  115. <string notr="true">border: none;</string>
  116. </property>
  117. <property name="text">
  118. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:10pt; font-weight:600;&quot;&gt;Simulated&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  119. </property>
  120. </widget>
  121. <widget class="QLabel" name="label_3">
  122. <property name="geometry">
  123. <rect>
  124. <x>10</x>
  125. <y>20</y>
  126. <width>281</width>
  127. <height>51</height>
  128. </rect>
  129. </property>
  130. <property name="styleSheet">
  131. <string notr="true">border: none;</string>
  132. </property>
  133. <property name="text">
  134. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;Used when physics is applied and&lt;br/&gt; automated forces are needed to move assets.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  135. </property>
  136. <property name="alignment">
  137. <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
  138. </property>
  139. <property name="wordWrap">
  140. <bool>true</bool>
  141. </property>
  142. </widget>
  143. <zorder>label_3</zorder>
  144. <zorder>label_2</zorder>
  145. </widget>
  146. <widget class="QGroupBox" name="kinematicBox">
  147. <property name="geometry">
  148. <rect>
  149. <x>0</x>
  150. <y>90</y>
  151. <width>301</width>
  152. <height>74</height>
  153. </rect>
  154. </property>
  155. <property name="maximumSize">
  156. <size>
  157. <width>16777215</width>
  158. <height>74</height>
  159. </size>
  160. </property>
  161. <property name="styleSheet">
  162. <string notr="true">background-color: rgb(51, 51, 51);
  163. </string>
  164. </property>
  165. <property name="title">
  166. <string/>
  167. </property>
  168. <widget class="QLabel" name="label_4">
  169. <property name="geometry">
  170. <rect>
  171. <x>10</x>
  172. <y>10</y>
  173. <width>71</width>
  174. <height>21</height>
  175. </rect>
  176. </property>
  177. <property name="styleSheet">
  178. <string notr="true">border: none;</string>
  179. </property>
  180. <property name="text">
  181. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:10pt; font-weight:600;&quot;&gt;Kinematic&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  182. </property>
  183. </widget>
  184. <widget class="QLabel" name="label_5">
  185. <property name="geometry">
  186. <rect>
  187. <x>10</x>
  188. <y>20</y>
  189. <width>281</width>
  190. <height>51</height>
  191. </rect>
  192. </property>
  193. <property name="styleSheet">
  194. <string notr="true">border: none;</string>
  195. </property>
  196. <property name="text">
  197. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;Used when manually moving an object with code or Script Canvas, using Transform.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  198. </property>
  199. <property name="alignment">
  200. <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
  201. </property>
  202. <property name="wordWrap">
  203. <bool>true</bool>
  204. </property>
  205. </widget>
  206. <zorder>label_5</zorder>
  207. <zorder>label_4</zorder>
  208. </widget>
  209. <widget class="QGroupBox" name="groupBox_5">
  210. <property name="geometry">
  211. <rect>
  212. <x>250</x>
  213. <y>20</y>
  214. <width>51</width>
  215. <height>151</height>
  216. </rect>
  217. </property>
  218. <property name="title">
  219. <string/>
  220. </property>
  221. <widget class="QRadioButton" name="simulatedRadioButton">
  222. <property name="geometry">
  223. <rect>
  224. <x>20</x>
  225. <y>0</y>
  226. <width>21</width>
  227. <height>21</height>
  228. </rect>
  229. </property>
  230. <property name="styleSheet">
  231. <string notr="true">border: none;</string>
  232. </property>
  233. <property name="text">
  234. <string/>
  235. </property>
  236. </widget>
  237. <widget class="QRadioButton" name="kinematicRadioButton">
  238. <property name="geometry">
  239. <rect>
  240. <x>20</x>
  241. <y>80</y>
  242. <width>21</width>
  243. <height>21</height>
  244. </rect>
  245. </property>
  246. <property name="styleSheet">
  247. <string notr="true">border: none;</string>
  248. </property>
  249. <property name="text">
  250. <string/>
  251. </property>
  252. </widget>
  253. </widget>
  254. <zorder>kinematicBox</zorder>
  255. <zorder>simulatedBox</zorder>
  256. <zorder>groupBox_5</zorder>
  257. </widget>
  258. </item>
  259. <item>
  260. <layout class="QVBoxLayout" name="verticalLayout_3">
  261. <item>
  262. <widget class="QGroupBox" name="groupBox_2">
  263. <property name="styleSheet">
  264. <string notr="true">border: none;</string>
  265. </property>
  266. <property name="title">
  267. <string/>
  268. </property>
  269. <widget class="QLabel" name="selectedDescriptionLabel">
  270. <property name="geometry">
  271. <rect>
  272. <x>20</x>
  273. <y>20</y>
  274. <width>271</width>
  275. <height>70</height>
  276. </rect>
  277. </property>
  278. <property name="text">
  279. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;With&lt;/span&gt;&lt;span style=&quot; font-size:10pt; font-weight:600;&quot;&gt; Dynamic&lt;/span&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt; rigid bodies, you can apply forces (gravity, collisions, etc.) to control the movement and position of the object.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  280. </property>
  281. <property name="wordWrap">
  282. <bool>true</bool>
  283. </property>
  284. </widget>
  285. <widget class="QLabel" name="valid">
  286. <property name="geometry">
  287. <rect>
  288. <x>20</x>
  289. <y>90</y>
  290. <width>47</width>
  291. <height>21</height>
  292. </rect>
  293. </property>
  294. <property name="styleSheet">
  295. <string notr="true">color: #58BC61</string>
  296. </property>
  297. <property name="text">
  298. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:10pt; font-weight:600;&quot;&gt;Valid&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  299. </property>
  300. </widget>
  301. <widget class="QLabel" name="label_8">
  302. <property name="geometry">
  303. <rect>
  304. <x>170</x>
  305. <y>90</y>
  306. <width>47</width>
  307. <height>21</height>
  308. </rect>
  309. </property>
  310. <property name="styleSheet">
  311. <string notr="true">color: #FA2727</string>
  312. </property>
  313. <property name="text">
  314. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:10pt; font-weight:600;&quot;&gt;Invalid&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  315. </property>
  316. </widget>
  317. <widget class="QLabel" name="validLabel1">
  318. <property name="geometry">
  319. <rect>
  320. <x>40</x>
  321. <y>120</y>
  322. <width>111</width>
  323. <height>21</height>
  324. </rect>
  325. </property>
  326. <property name="styleSheet">
  327. <string notr="true">margin-left: 5px;</string>
  328. </property>
  329. <property name="text">
  330. <string>Move with code</string>
  331. </property>
  332. <property name="alignment">
  333. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  334. </property>
  335. <property name="margin">
  336. <number>0</number>
  337. </property>
  338. </widget>
  339. <widget class="QLabel" name="validLabel2">
  340. <property name="geometry">
  341. <rect>
  342. <x>40</x>
  343. <y>150</y>
  344. <width>111</width>
  345. <height>21</height>
  346. </rect>
  347. </property>
  348. <property name="styleSheet">
  349. <string notr="true">margin-left: 5px;</string>
  350. </property>
  351. <property name="text">
  352. <string>Move manually</string>
  353. </property>
  354. <property name="alignment">
  355. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  356. </property>
  357. <property name="margin">
  358. <number>0</number>
  359. </property>
  360. </widget>
  361. <widget class="QLabel" name="invalidLabel1">
  362. <property name="geometry">
  363. <rect>
  364. <x>180</x>
  365. <y>120</y>
  366. <width>101</width>
  367. <height>21</height>
  368. </rect>
  369. </property>
  370. <property name="styleSheet">
  371. <string notr="true">margin-left: 5px;</string>
  372. </property>
  373. <property name="text">
  374. <string>Collision</string>
  375. </property>
  376. <property name="alignment">
  377. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  378. </property>
  379. <property name="margin">
  380. <number>0</number>
  381. </property>
  382. </widget>
  383. <widget class="QLabel" name="invalidLabel2">
  384. <property name="geometry">
  385. <rect>
  386. <x>180</x>
  387. <y>150</y>
  388. <width>101</width>
  389. <height>21</height>
  390. </rect>
  391. </property>
  392. <property name="styleSheet">
  393. <string notr="true">margin-left: 5px;</string>
  394. </property>
  395. <property name="text">
  396. <string>Gravity</string>
  397. </property>
  398. <property name="alignment">
  399. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  400. </property>
  401. <property name="margin">
  402. <number>0</number>
  403. </property>
  404. </widget>
  405. <widget class="QFrame" name="frame">
  406. <property name="geometry">
  407. <rect>
  408. <x>10</x>
  409. <y>10</y>
  410. <width>291</width>
  411. <height>191</height>
  412. </rect>
  413. </property>
  414. <property name="styleSheet">
  415. <string notr="true">background-color: rgb(51, 51, 51);
  416. </string>
  417. </property>
  418. <property name="frameShape">
  419. <enum>QFrame::StyledPanel</enum>
  420. </property>
  421. <property name="frameShadow">
  422. <enum>QFrame::Raised</enum>
  423. </property>
  424. <widget class="Line" name="line">
  425. <property name="geometry">
  426. <rect>
  427. <x>120</x>
  428. <y>80</y>
  429. <width>20</width>
  430. <height>81</height>
  431. </rect>
  432. </property>
  433. <property name="styleSheet">
  434. <string notr="true">color: rgb(136, 136, 136);
  435. border-right: 1px solid rgb(136, 136, 136); </string>
  436. </property>
  437. <property name="frameShadow">
  438. <enum>QFrame::Plain</enum>
  439. </property>
  440. <property name="orientation">
  441. <enum>Qt::Vertical</enum>
  442. </property>
  443. </widget>
  444. <widget class="QLabel" name="invalidIcon2">
  445. <property name="geometry">
  446. <rect>
  447. <x>150</x>
  448. <y>140</y>
  449. <width>31</width>
  450. <height>31</height>
  451. </rect>
  452. </property>
  453. <property name="text">
  454. <string/>
  455. </property>
  456. <property name="alignment">
  457. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  458. </property>
  459. </widget>
  460. <widget class="QLabel" name="invalidIcon1">
  461. <property name="geometry">
  462. <rect>
  463. <x>150</x>
  464. <y>110</y>
  465. <width>31</width>
  466. <height>31</height>
  467. </rect>
  468. </property>
  469. <property name="text">
  470. <string/>
  471. </property>
  472. <property name="alignment">
  473. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  474. </property>
  475. </widget>
  476. <widget class="QLabel" name="validIcon1">
  477. <property name="geometry">
  478. <rect>
  479. <x>10</x>
  480. <y>110</y>
  481. <width>31</width>
  482. <height>31</height>
  483. </rect>
  484. </property>
  485. <property name="text">
  486. <string/>
  487. </property>
  488. <property name="alignment">
  489. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  490. </property>
  491. </widget>
  492. <widget class="QLabel" name="validIcon2">
  493. <property name="geometry">
  494. <rect>
  495. <x>10</x>
  496. <y>140</y>
  497. <width>31</width>
  498. <height>31</height>
  499. </rect>
  500. </property>
  501. <property name="text">
  502. <string/>
  503. </property>
  504. <property name="alignment">
  505. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  506. </property>
  507. </widget>
  508. </widget>
  509. <widget class="QPushButton" name="saveButton">
  510. <property name="geometry">
  511. <rect>
  512. <x>50</x>
  513. <y>220</y>
  514. <width>121</width>
  515. <height>23</height>
  516. </rect>
  517. </property>
  518. <property name="styleSheet">
  519. <string notr="true">background-color: rgb(30, 112, 235);</string>
  520. </property>
  521. <property name="text">
  522. <string>Save</string>
  523. </property>
  524. <property name="autoDefault">
  525. <bool>true</bool>
  526. </property>
  527. <property name="default">
  528. <bool>true</bool>
  529. </property>
  530. </widget>
  531. <widget class="QPushButton" name="cancelButton">
  532. <property name="geometry">
  533. <rect>
  534. <x>180</x>
  535. <y>220</y>
  536. <width>121</width>
  537. <height>23</height>
  538. </rect>
  539. </property>
  540. <property name="text">
  541. <string>Cancel</string>
  542. </property>
  543. <property name="autoDefault">
  544. <bool>false</bool>
  545. </property>
  546. </widget>
  547. <zorder>frame</zorder>
  548. <zorder>selectedDescriptionLabel</zorder>
  549. <zorder>valid</zorder>
  550. <zorder>label_8</zorder>
  551. <zorder>validLabel1</zorder>
  552. <zorder>validLabel2</zorder>
  553. <zorder>invalidLabel1</zorder>
  554. <zorder>invalidLabel2</zorder>
  555. <zorder>saveButton</zorder>
  556. <zorder>cancelButton</zorder>
  557. </widget>
  558. </item>
  559. </layout>
  560. </item>
  561. </layout>
  562. </item>
  563. </layout>
  564. </item>
  565. </layout>
  566. </widget>
  567. <resources>
  568. <include location="../../../../Code/Framework/AzQtComponents/AzQtComponents/Components/resources.qrc"/>
  569. </resources>
  570. <connections>
  571. <connection>
  572. <sender>saveButton</sender>
  573. <signal>clicked()</signal>
  574. <receiver>KinematicDescriptionDialog</receiver>
  575. <slot>accept()</slot>
  576. <hints>
  577. <hint type="sourcelabel">
  578. <x>435</x>
  579. <y>286</y>
  580. </hint>
  581. <hint type="destinationlabel">
  582. <x>320</x>
  583. <y>153</y>
  584. </hint>
  585. </hints>
  586. </connection>
  587. <connection>
  588. <sender>cancelButton</sender>
  589. <signal>clicked()</signal>
  590. <receiver>KinematicDescriptionDialog</receiver>
  591. <slot>reject()</slot>
  592. <hints>
  593. <hint type="sourcelabel">
  594. <x>565</x>
  595. <y>286</y>
  596. </hint>
  597. <hint type="destinationlabel">
  598. <x>320</x>
  599. <y>153</y>
  600. </hint>
  601. </hints>
  602. </connection>
  603. <connection>
  604. <sender>dynamicBox</sender>
  605. <signal>clicked()</signal>
  606. <receiver>dynamicRadioButton</receiver>
  607. <slot>click()</slot>
  608. <hints>
  609. <hint type="sourcelabel">
  610. <x>168</x>
  611. <y>94</y>
  612. </hint>
  613. <hint type="destinationlabel">
  614. <x>298</x>
  615. <y>78</y>
  616. </hint>
  617. </hints>
  618. </connection>
  619. <connection>
  620. <sender>kinematicBox</sender>
  621. <signal>clicked()</signal>
  622. <receiver>kinematicRadioButton</receiver>
  623. <slot>click()</slot>
  624. <hints>
  625. <hint type="sourcelabel">
  626. <x>168</x>
  627. <y>174</y>
  628. </hint>
  629. <hint type="destinationlabel">
  630. <x>298</x>
  631. <y>158</y>
  632. </hint>
  633. </hints>
  634. </connection>
  635. </connections>
  636. </ui>