heroskillswidget.ui 4.3 KB

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