NewLevelDialog.ui 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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>471</width>
  10. <height>371</height>
  11. </rect>
  12. </property>
  13. <layout class="QVBoxLayout" name="verticalLayout">
  14. <item>
  15. <widget class="QListWidget" name="listTemplates">
  16. <property name="movement">
  17. <enum>QListView::Static</enum>
  18. </property>
  19. <property name="resizeMode">
  20. <enum>QListView::Adjust</enum>
  21. </property>
  22. <property name="spacing">
  23. <number>4</number>
  24. </property>
  25. <property name="viewMode">
  26. <enum>QListView::IconMode</enum>
  27. </property>
  28. <property name="uniformItemSizes">
  29. <bool>true</bool>
  30. </property>
  31. <property name="selectionRectVisible">
  32. <bool>false</bool>
  33. </property>
  34. </widget>
  35. </item>
  36. <item>
  37. <widget class="QGroupBox" name="STATIC_GROUP1">
  38. <layout class="QFormLayout" name="formLayout">
  39. <item row="0" column="0">
  40. <widget class="QLabel" name="STATIC2">
  41. <property name="text">
  42. <string>Name</string>
  43. </property>
  44. <property name="alignment">
  45. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  46. </property>
  47. <property name="buddy">
  48. <cstring>LEVEL</cstring>
  49. </property>
  50. </widget>
  51. </item>
  52. <item row="0" column="1">
  53. <widget class="QLineEdit" name="LEVEL">
  54. <property name="alignment">
  55. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
  56. </property>
  57. </widget>
  58. </item>
  59. <item row="1" column="0">
  60. <widget class="QLabel" name="STATIC1">
  61. <property name="minimumSize">
  62. <size>
  63. <width>100</width>
  64. <height>0</height>
  65. </size>
  66. </property>
  67. <property name="text">
  68. <string>Location</string>
  69. </property>
  70. <property name="alignment">
  71. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  72. </property>
  73. <property name="buddy">
  74. <cstring>LEVEL_FOLDERS</cstring>
  75. </property>
  76. </widget>
  77. </item>
  78. <item row="1" column="1">
  79. <widget class="AzQtComponents::BrowseEdit" name="LEVEL_FOLDERS" native="true">
  80. <property name="sizePolicy">
  81. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  82. <horstretch>0</horstretch>
  83. <verstretch>0</verstretch>
  84. </sizepolicy>
  85. </property>
  86. </widget>
  87. </item>
  88. </layout>
  89. </widget>
  90. </item>
  91. <item>
  92. <widget class="QDialogButtonBox" name="buttonBox">
  93. <property name="standardButtons">
  94. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  95. </property>
  96. </widget>
  97. </item>
  98. </layout>
  99. </widget>
  100. <customwidgets>
  101. <customwidget>
  102. <class>AzQtComponents::BrowseEdit</class>
  103. <extends>QWidget</extends>
  104. <header location="global">AzQtComponents/Components/Widgets/BrowseEdit.h</header>
  105. <container>1</container>
  106. </customwidget>
  107. </customwidgets>
  108. <tabstops>
  109. <tabstop>LEVEL</tabstop>
  110. </tabstops>
  111. <resources>
  112. <include location="NewLevelDialog.qrc"/>
  113. </resources>
  114. <connections>
  115. <connection>
  116. <sender>buttonBox</sender>
  117. <signal>accepted()</signal>
  118. <receiver>CNewLevelDialog</receiver>
  119. <slot>accept()</slot>
  120. <hints>
  121. <hint type="sourcelabel">
  122. <x>155</x>
  123. <y>301</y>
  124. </hint>
  125. <hint type="destinationlabel">
  126. <x>5</x>
  127. <y>251</y>
  128. </hint>
  129. </hints>
  130. </connection>
  131. <connection>
  132. <sender>buttonBox</sender>
  133. <signal>rejected()</signal>
  134. <receiver>CNewLevelDialog</receiver>
  135. <slot>reject()</slot>
  136. <hints>
  137. <hint type="sourcelabel">
  138. <x>118</x>
  139. <y>301</y>
  140. </hint>
  141. <hint type="destinationlabel">
  142. <x>7</x>
  143. <y>284</y>
  144. </hint>
  145. </hints>
  146. </connection>
  147. </connections>
  148. </ui>