heroartifactswidget.ui 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>HeroArtifactsWidget</class>
  4. <widget class="QDialog" name="HeroArtifactsWidget">
  5. <property name="windowModality">
  6. <enum>Qt::WindowModality::NonModal</enum>
  7. </property>
  8. <property name="geometry">
  9. <rect>
  10. <x>0</x>
  11. <y>0</y>
  12. <width>480</width>
  13. <height>635</height>
  14. </rect>
  15. </property>
  16. <property name="sizePolicy">
  17. <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
  18. <horstretch>0</horstretch>
  19. <verstretch>0</verstretch>
  20. </sizepolicy>
  21. </property>
  22. <property name="minimumSize">
  23. <size>
  24. <width>480</width>
  25. <height>480</height>
  26. </size>
  27. </property>
  28. <property name="windowTitle">
  29. <string>Artifacts</string>
  30. </property>
  31. <property name="modal">
  32. <bool>true</bool>
  33. </property>
  34. <layout class="QVBoxLayout" name="verticalLayout">
  35. <property name="spacing">
  36. <number>10</number>
  37. </property>
  38. <property name="topMargin">
  39. <number>5</number>
  40. </property>
  41. <item>
  42. <layout class="QHBoxLayout" name="horizontalLayout">
  43. <property name="topMargin">
  44. <number>0</number>
  45. </property>
  46. <item>
  47. <spacer name="horizontalSpacer">
  48. <property name="orientation">
  49. <enum>Qt::Orientation::Horizontal</enum>
  50. </property>
  51. <property name="sizeHint" stdset="0">
  52. <size>
  53. <width>40</width>
  54. <height>20</height>
  55. </size>
  56. </property>
  57. </spacer>
  58. </item>
  59. <item>
  60. <widget class="QPushButton" name="addButton">
  61. <property name="enabled">
  62. <bool>true</bool>
  63. </property>
  64. <property name="minimumSize">
  65. <size>
  66. <width>90</width>
  67. <height>0</height>
  68. </size>
  69. </property>
  70. <property name="text">
  71. <string>Add</string>
  72. </property>
  73. </widget>
  74. </item>
  75. <item>
  76. <widget class="QPushButton" name="removeButton">
  77. <property name="enabled">
  78. <bool>true</bool>
  79. </property>
  80. <property name="minimumSize">
  81. <size>
  82. <width>90</width>
  83. <height>0</height>
  84. </size>
  85. </property>
  86. <property name="text">
  87. <string>Remove</string>
  88. </property>
  89. </widget>
  90. </item>
  91. </layout>
  92. </item>
  93. <item>
  94. <widget class="QTableWidget" name="artifacts">
  95. <property name="enabled">
  96. <bool>true</bool>
  97. </property>
  98. <property name="horizontalScrollBarPolicy">
  99. <enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
  100. </property>
  101. <property name="sizeAdjustPolicy">
  102. <enum>QAbstractScrollArea::SizeAdjustPolicy::AdjustToContents</enum>
  103. </property>
  104. <property name="editTriggers">
  105. <set>QAbstractItemView::EditTrigger::NoEditTriggers</set>
  106. </property>
  107. <property name="selectionMode">
  108. <enum>QAbstractItemView::SelectionMode::SingleSelection</enum>
  109. </property>
  110. <property name="selectionBehavior">
  111. <enum>QAbstractItemView::SelectionBehavior::SelectRows</enum>
  112. </property>
  113. <attribute name="horizontalHeaderVisible">
  114. <bool>true</bool>
  115. </attribute>
  116. <attribute name="horizontalHeaderDefaultSectionSize">
  117. <number>120</number>
  118. </attribute>
  119. <attribute name="horizontalHeaderStretchLastSection">
  120. <bool>true</bool>
  121. </attribute>
  122. <attribute name="verticalHeaderVisible">
  123. <bool>false</bool>
  124. </attribute>
  125. <attribute name="verticalHeaderDefaultSectionSize">
  126. <number>26</number>
  127. </attribute>
  128. <column>
  129. <property name="text">
  130. <string>Slot</string>
  131. </property>
  132. </column>
  133. <column>
  134. <property name="text">
  135. <string>Artifact</string>
  136. </property>
  137. </column>
  138. </widget>
  139. </item>
  140. <item>
  141. <layout class="QHBoxLayout" name="horizontalLayoutBottom">
  142. <item>
  143. <spacer name="horizontalSpacerBottom">
  144. <property name="orientation">
  145. <enum>Qt::Orientation::Horizontal</enum>
  146. </property>
  147. <property name="sizeHint" stdset="0">
  148. <size>
  149. <width>40</width>
  150. <height>20</height>
  151. </size>
  152. </property>
  153. </spacer>
  154. </item>
  155. <item>
  156. <widget class="QPushButton" name="saveButton">
  157. <property name="text">
  158. <string>Save</string>
  159. </property>
  160. </widget>
  161. </item>
  162. <item>
  163. <widget class="QPushButton" name="cancelButton">
  164. <property name="text">
  165. <string>Cancel</string>
  166. </property>
  167. </widget>
  168. </item>
  169. </layout>
  170. </item>
  171. </layout>
  172. </widget>
  173. <resources/>
  174. <connections/>
  175. </ui>