NewLevelDialog.ui 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>CNewLevelDialog</class>
  4. <widget class="QDialog" name="CNewLevelDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>430</width>
  10. <height>180</height>
  11. </rect>
  12. </property>
  13. <layout class="QVBoxLayout" name="verticalLayout">
  14. <item>
  15. <spacer name="topVerticalSpacer">
  16. <property name="orientation">
  17. <enum>Qt::Vertical</enum>
  18. </property>
  19. <property name="sizeHint" stdset="0">
  20. <size>
  21. <width>20</width>
  22. <height>10</height>
  23. </size>
  24. </property>
  25. </spacer>
  26. </item>
  27. <item>
  28. <widget class="QLabel" name="TITLE">
  29. <property name="text">
  30. <string>Assign a name and location to the new level.</string>
  31. </property>
  32. <property name="alignment">
  33. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  34. </property>
  35. </widget>
  36. </item>
  37. <item>
  38. <spacer name="verticalSpacer">
  39. <property name="orientation">
  40. <enum>Qt::Vertical</enum>
  41. </property>
  42. <property name="sizeHint" stdset="0">
  43. <size>
  44. <width>20</width>
  45. <height>20</height>
  46. </size>
  47. </property>
  48. </spacer>
  49. </item>
  50. <item>
  51. <layout class="QGridLayout" name="gridLayout">
  52. <item row="0" column="0" colspan="2">
  53. <widget class="QGroupBox" name="STATIC_GROUP1">
  54. <property name="styleSheet">
  55. <string notr="true">border: 0px;</string>
  56. </property>
  57. <layout class="QFormLayout" name="formLayout">
  58. <item row="0" column="0">
  59. <widget class="QLabel" name="STATIC2">
  60. <property name="text">
  61. <string>Name</string>
  62. </property>
  63. <property name="alignment">
  64. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  65. </property>
  66. <property name="buddy">
  67. <cstring>LEVEL</cstring>
  68. </property>
  69. </widget>
  70. </item>
  71. <item row="0" column="1">
  72. <widget class="QLineEdit" name="LEVEL">
  73. <property name="alignment">
  74. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
  75. </property>
  76. </widget>
  77. </item>
  78. <item row="1" column="0">
  79. <widget class="QLabel" name="STATIC1">
  80. <property name="minimumSize">
  81. <size>
  82. <width>100</width>
  83. <height>0</height>
  84. </size>
  85. </property>
  86. <property name="text">
  87. <string>Location</string>
  88. </property>
  89. <property name="alignment">
  90. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  91. </property>
  92. <property name="buddy">
  93. <cstring>LEVEL_FOLDERS</cstring>
  94. </property>
  95. </widget>
  96. </item>
  97. <item row="1" column="1">
  98. <widget class="AzQtComponents::BrowseEdit" name="LEVEL_FOLDERS" native="true">
  99. <property name="sizePolicy">
  100. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  101. <horstretch>0</horstretch>
  102. <verstretch>0</verstretch>
  103. </sizepolicy>
  104. </property>
  105. </widget>
  106. </item>
  107. </layout>
  108. </widget>
  109. </item>
  110. </layout>
  111. </item>
  112. <item>
  113. <spacer name="verticalSpacer2">
  114. <property name="orientation">
  115. <enum>Qt::Vertical</enum>
  116. </property>
  117. </spacer>
  118. </item>
  119. <item row="1" column="0" colspan="2">
  120. <widget class="QDialogButtonBox" name="buttonBox">
  121. <property name="standardButtons">
  122. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  123. </property>
  124. </widget>
  125. </item>
  126. </layout>
  127. </widget>
  128. <customwidgets>
  129. <customwidget>
  130. <class>AzQtComponents::BrowseEdit</class>
  131. <extends>QWidget</extends>
  132. <header location="global">AzQtComponents/Components/Widgets/BrowseEdit.h</header>
  133. <container>1</container>
  134. </customwidget>
  135. </customwidgets>
  136. <tabstops>
  137. <tabstop>LEVEL</tabstop>
  138. </tabstops>
  139. <resources/>
  140. <connections>
  141. <connection>
  142. <sender>buttonBox</sender>
  143. <signal>accepted()</signal>
  144. <receiver>CNewLevelDialog</receiver>
  145. <slot>accept()</slot>
  146. <hints>
  147. <hint type="sourcelabel">
  148. <x>155</x>
  149. <y>301</y>
  150. </hint>
  151. <hint type="destinationlabel">
  152. <x>5</x>
  153. <y>251</y>
  154. </hint>
  155. </hints>
  156. </connection>
  157. <connection>
  158. <sender>buttonBox</sender>
  159. <signal>rejected()</signal>
  160. <receiver>CNewLevelDialog</receiver>
  161. <slot>reject()</slot>
  162. <hints>
  163. <hint type="sourcelabel">
  164. <x>118</x>
  165. <y>301</y>
  166. </hint>
  167. <hint type="destinationlabel">
  168. <x>7</x>
  169. <y>284</y>
  170. </hint>
  171. </hints>
  172. </connection>
  173. </connections>
  174. </ui>