123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>KinematicDescriptionDialog</class>
- <widget class="QDialog" name="KinematicDescriptionDialog">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>641</width>
- <height>305</height>
- </rect>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>641</width>
- <height>305</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>641</width>
- <height>305</height>
- </size>
- </property>
- <property name="focusPolicy">
- <enum>Qt::StrongFocus</enum>
- </property>
- <property name="windowTitle">
- <string>Set Rigid Body Force</string>
- </property>
- <property name="class" stdset="0">
- <string>AssetImporterDialog</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <property name="spacing">
- <number>0</number>
- </property>
- <property name="sizeConstraint">
- <enum>QLayout::SetDefaultConstraint</enum>
- </property>
- <property name="leftMargin">
- <number>16</number>
- </property>
- <property name="topMargin">
- <number>10</number>
- </property>
- <property name="rightMargin">
- <number>16</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QLabel" name="label">
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>30</height>
- </size>
- </property>
- <property name="text">
- <string><html><head/><body><p><span style=" font-size:10pt;">Choose between physics-based and kinematic movement for your object.</span></p></body></html></string>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <widget class="QGroupBox" name="groupBox">
- <property name="styleSheet">
- <string notr="true">border: none</string>
- </property>
- <property name="title">
- <string/>
- </property>
- <widget class="QGroupBox" name="simulatedBox">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>10</y>
- <width>301</width>
- <height>74</height>
- </rect>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>74</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color: rgb(51, 51, 51);</string>
- </property>
- <property name="title">
- <string/>
- </property>
- <widget class="QLabel" name="label_2">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>10</y>
- <width>71</width>
- <height>21</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">border: none;</string>
- </property>
- <property name="text">
- <string><html><head/><body><p><span style=" font-size:10pt; font-weight:600;">Simulated</span></p></body></html></string>
- </property>
- </widget>
- <widget class="QLabel" name="label_3">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>20</y>
- <width>281</width>
- <height>51</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">border: none;</string>
- </property>
- <property name="text">
- <string><html><head/><body><p><span style=" font-size:10pt;">Used when physics is applied and<br/> automated forces are needed to move assets.</span></p></body></html></string>
- </property>
- <property name="alignment">
- <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- <zorder>label_3</zorder>
- <zorder>label_2</zorder>
- </widget>
- <widget class="QGroupBox" name="kinematicBox">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>90</y>
- <width>301</width>
- <height>74</height>
- </rect>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>74</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color: rgb(51, 51, 51);
- </string>
- </property>
- <property name="title">
- <string/>
- </property>
- <widget class="QLabel" name="label_4">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>10</y>
- <width>71</width>
- <height>21</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">border: none;</string>
- </property>
- <property name="text">
- <string><html><head/><body><p><span style=" font-size:10pt; font-weight:600;">Kinematic</span></p></body></html></string>
- </property>
- </widget>
- <widget class="QLabel" name="label_5">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>20</y>
- <width>281</width>
- <height>51</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">border: none;</string>
- </property>
- <property name="text">
- <string><html><head/><body><p><span style=" font-size:10pt;">Used when manually moving an object with code or Script Canvas, using Transform.</span></p></body></html></string>
- </property>
- <property name="alignment">
- <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- <zorder>label_5</zorder>
- <zorder>label_4</zorder>
- </widget>
- <widget class="QGroupBox" name="groupBox_5">
- <property name="geometry">
- <rect>
- <x>250</x>
- <y>20</y>
- <width>51</width>
- <height>151</height>
- </rect>
- </property>
- <property name="title">
- <string/>
- </property>
- <widget class="QRadioButton" name="simulatedRadioButton">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>0</y>
- <width>21</width>
- <height>21</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">border: none;</string>
- </property>
- <property name="text">
- <string/>
- </property>
- </widget>
- <widget class="QRadioButton" name="kinematicRadioButton">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>80</y>
- <width>21</width>
- <height>21</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">border: none;</string>
- </property>
- <property name="text">
- <string/>
- </property>
- </widget>
- </widget>
- <zorder>kinematicBox</zorder>
- <zorder>simulatedBox</zorder>
- <zorder>groupBox_5</zorder>
- </widget>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <widget class="QGroupBox" name="groupBox_2">
- <property name="styleSheet">
- <string notr="true">border: none;</string>
- </property>
- <property name="title">
- <string/>
- </property>
- <widget class="QLabel" name="selectedDescriptionLabel">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>20</y>
- <width>271</width>
- <height>70</height>
- </rect>
- </property>
- <property name="text">
- <string><html><head/><body><p><span style=" font-size:10pt;">With</span><span style=" font-size:10pt; font-weight:600;"> Dynamic</span><span style=" font-size:10pt;"> rigid bodies, you can apply forces (gravity, collisions, etc.) to control the movement and position of the object.</span></p></body></html></string>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QLabel" name="valid">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>90</y>
- <width>47</width>
- <height>21</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">color: #58BC61</string>
- </property>
- <property name="text">
- <string><html><head/><body><p><span style=" font-size:10pt; font-weight:600;">Valid</span></p></body></html></string>
- </property>
- </widget>
- <widget class="QLabel" name="label_8">
- <property name="geometry">
- <rect>
- <x>170</x>
- <y>90</y>
- <width>47</width>
- <height>21</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">color: #FA2727</string>
- </property>
- <property name="text">
- <string><html><head/><body><p><span style=" font-size:10pt; font-weight:600;">Invalid</span></p></body></html></string>
- </property>
- </widget>
- <widget class="QLabel" name="validLabel1">
- <property name="geometry">
- <rect>
- <x>40</x>
- <y>120</y>
- <width>111</width>
- <height>21</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">margin-left: 5px;</string>
- </property>
- <property name="text">
- <string>Move with code</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- </widget>
- <widget class="QLabel" name="validLabel2">
- <property name="geometry">
- <rect>
- <x>40</x>
- <y>150</y>
- <width>111</width>
- <height>21</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">margin-left: 5px;</string>
- </property>
- <property name="text">
- <string>Move manually</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- </widget>
- <widget class="QLabel" name="invalidLabel1">
- <property name="geometry">
- <rect>
- <x>180</x>
- <y>120</y>
- <width>101</width>
- <height>21</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">margin-left: 5px;</string>
- </property>
- <property name="text">
- <string>Collision</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- </widget>
- <widget class="QLabel" name="invalidLabel2">
- <property name="geometry">
- <rect>
- <x>180</x>
- <y>150</y>
- <width>101</width>
- <height>21</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">margin-left: 5px;</string>
- </property>
- <property name="text">
- <string>Gravity</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- </widget>
- <widget class="QFrame" name="frame">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>10</y>
- <width>291</width>
- <height>191</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color: rgb(51, 51, 51);
- </string>
- </property>
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <widget class="Line" name="line">
- <property name="geometry">
- <rect>
- <x>120</x>
- <y>80</y>
- <width>20</width>
- <height>81</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">color: rgb(136, 136, 136);
- border-right: 1px solid rgb(136, 136, 136); </string>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Plain</enum>
- </property>
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- </widget>
- <widget class="QLabel" name="invalidIcon2">
- <property name="geometry">
- <rect>
- <x>150</x>
- <y>140</y>
- <width>31</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="alignment">
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- </widget>
- <widget class="QLabel" name="invalidIcon1">
- <property name="geometry">
- <rect>
- <x>150</x>
- <y>110</y>
- <width>31</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="alignment">
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- </widget>
- <widget class="QLabel" name="validIcon1">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>110</y>
- <width>31</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="alignment">
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- </widget>
- <widget class="QLabel" name="validIcon2">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>140</y>
- <width>31</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="alignment">
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- </widget>
- </widget>
- <widget class="QPushButton" name="saveButton">
- <property name="geometry">
- <rect>
- <x>50</x>
- <y>220</y>
- <width>121</width>
- <height>23</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color: rgb(30, 112, 235);</string>
- </property>
- <property name="text">
- <string>Save</string>
- </property>
- <property name="autoDefault">
- <bool>true</bool>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QPushButton" name="cancelButton">
- <property name="geometry">
- <rect>
- <x>180</x>
- <y>220</y>
- <width>121</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>Cancel</string>
- </property>
- <property name="autoDefault">
- <bool>false</bool>
- </property>
- </widget>
- <zorder>frame</zorder>
- <zorder>selectedDescriptionLabel</zorder>
- <zorder>valid</zorder>
- <zorder>label_8</zorder>
- <zorder>validLabel1</zorder>
- <zorder>validLabel2</zorder>
- <zorder>invalidLabel1</zorder>
- <zorder>invalidLabel2</zorder>
- <zorder>saveButton</zorder>
- <zorder>cancelButton</zorder>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <resources>
- <include location="../../../../Code/Framework/AzQtComponents/AzQtComponents/Components/resources.qrc"/>
- </resources>
- <connections>
- <connection>
- <sender>saveButton</sender>
- <signal>clicked()</signal>
- <receiver>KinematicDescriptionDialog</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>435</x>
- <y>286</y>
- </hint>
- <hint type="destinationlabel">
- <x>320</x>
- <y>153</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>cancelButton</sender>
- <signal>clicked()</signal>
- <receiver>KinematicDescriptionDialog</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>565</x>
- <y>286</y>
- </hint>
- <hint type="destinationlabel">
- <x>320</x>
- <y>153</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>dynamicBox</sender>
- <signal>clicked()</signal>
- <receiver>dynamicRadioButton</receiver>
- <slot>click()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>168</x>
- <y>94</y>
- </hint>
- <hint type="destinationlabel">
- <x>298</x>
- <y>78</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>kinematicBox</sender>
- <signal>clicked()</signal>
- <receiver>kinematicRadioButton</receiver>
- <slot>click()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>168</x>
- <y>174</y>
- </hint>
- <hint type="destinationlabel">
- <x>298</x>
- <y>158</y>
- </hint>
- </hints>
- </connection>
- </connections>
- </ui>
|