playerparams.ui 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>PlayerParams</class>
  4. <widget class="QWidget" name="PlayerParams">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>505</width>
  10. <height>160</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="maximumSize">
  20. <size>
  21. <width>16777215</width>
  22. <height>160</height>
  23. </size>
  24. </property>
  25. <property name="windowTitle">
  26. <string>Form</string>
  27. </property>
  28. <layout class="QVBoxLayout" name="verticalLayout">
  29. <property name="leftMargin">
  30. <number>0</number>
  31. </property>
  32. <property name="topMargin">
  33. <number>0</number>
  34. </property>
  35. <property name="rightMargin">
  36. <number>0</number>
  37. </property>
  38. <property name="bottomMargin">
  39. <number>0</number>
  40. </property>
  41. <item>
  42. <widget class="QGroupBox" name="playerColor">
  43. <property name="maximumSize">
  44. <size>
  45. <width>16777215</width>
  46. <height>160</height>
  47. </size>
  48. </property>
  49. <property name="title">
  50. <string>GroupBox</string>
  51. </property>
  52. <layout class="QGridLayout" name="gridLayout">
  53. <item row="3" column="0">
  54. <widget class="QComboBox" name="teamId">
  55. <item>
  56. <property name="text">
  57. <string>No team</string>
  58. </property>
  59. </item>
  60. </widget>
  61. </item>
  62. <item row="0" column="0">
  63. <widget class="QRadioButton" name="radioHuman">
  64. <property name="text">
  65. <string>Human/CPU</string>
  66. </property>
  67. </widget>
  68. </item>
  69. <item row="1" column="0">
  70. <widget class="QRadioButton" name="radioCpu">
  71. <property name="text">
  72. <string>CPU only</string>
  73. </property>
  74. </widget>
  75. </item>
  76. <item row="2" column="0">
  77. <widget class="QLabel" name="label_2">
  78. <property name="text">
  79. <string>Team</string>
  80. </property>
  81. </widget>
  82. </item>
  83. <item row="0" column="1">
  84. <widget class="QLabel" name="label_3">
  85. <property name="text">
  86. <string>Main town</string>
  87. </property>
  88. </widget>
  89. </item>
  90. <item row="3" column="2">
  91. <widget class="QCheckBox" name="randomFaction">
  92. <property name="text">
  93. <string>Random faction</string>
  94. </property>
  95. </widget>
  96. </item>
  97. <item row="3" column="1">
  98. <widget class="QCheckBox" name="generateHero">
  99. <property name="text">
  100. <string>Generate hero at main</string>
  101. </property>
  102. </widget>
  103. </item>
  104. <item row="1" column="1">
  105. <widget class="QComboBox" name="mainTown">
  106. <item>
  107. <property name="text">
  108. <string>(default)</string>
  109. </property>
  110. </item>
  111. </widget>
  112. </item>
  113. <item row="0" column="2" rowspan="3">
  114. <widget class="QListWidget" name="allowedFactions">
  115. <property name="enabled">
  116. <bool>true</bool>
  117. </property>
  118. <property name="sizePolicy">
  119. <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
  120. <horstretch>0</horstretch>
  121. <verstretch>0</verstretch>
  122. </sizepolicy>
  123. </property>
  124. <property name="focusPolicy">
  125. <enum>Qt::ClickFocus</enum>
  126. </property>
  127. <property name="editTriggers">
  128. <set>QAbstractItemView::NoEditTriggers</set>
  129. </property>
  130. <property name="selectionMode">
  131. <enum>QAbstractItemView::NoSelection</enum>
  132. </property>
  133. </widget>
  134. </item>
  135. </layout>
  136. </widget>
  137. </item>
  138. </layout>
  139. </widget>
  140. <resources/>
  141. <connections/>
  142. </ui>