GreyClusteringConfigWidget.ui 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>GreyClusteringConfigWidget</class>
  4. <widget class="QWidget" name="GreyClusteringConfigWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>400</width>
  10. <height>300</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <layout class="QGridLayout" name="gridLayout_2">
  17. <property name="leftMargin">
  18. <number>0</number>
  19. </property>
  20. <property name="topMargin">
  21. <number>0</number>
  22. </property>
  23. <property name="rightMargin">
  24. <number>0</number>
  25. </property>
  26. <property name="bottomMargin">
  27. <number>0</number>
  28. </property>
  29. <item row="0" column="1">
  30. <widget class="QStackedWidget" name="stackedWidget">
  31. <property name="currentIndex">
  32. <number>1</number>
  33. </property>
  34. <widget class="QWidget" name="categoryPage">
  35. <layout class="QGridLayout" name="gridLayout">
  36. <item row="0" column="1">
  37. <spacer name="verticalSpacer_2">
  38. <property name="orientation">
  39. <enum>Qt::Vertical</enum>
  40. </property>
  41. <property name="sizeHint" stdset="0">
  42. <size>
  43. <width>20</width>
  44. <height>112</height>
  45. </size>
  46. </property>
  47. </spacer>
  48. </item>
  49. <item row="1" column="0">
  50. <spacer name="horizontalSpacer">
  51. <property name="orientation">
  52. <enum>Qt::Horizontal</enum>
  53. </property>
  54. <property name="sizeHint" stdset="0">
  55. <size>
  56. <width>131</width>
  57. <height>20</height>
  58. </size>
  59. </property>
  60. </spacer>
  61. </item>
  62. <item row="1" column="1">
  63. <layout class="QFormLayout" name="grayFormLayout">
  64. <item row="0" column="0">
  65. <widget class="QLabel" name="label">
  66. <property name="font">
  67. <font>
  68. <family>微软雅黑 Light</family>
  69. <pointsize>12</pointsize>
  70. <weight>75</weight>
  71. <bold>true</bold>
  72. </font>
  73. </property>
  74. <property name="text">
  75. <string>灰类数:</string>
  76. </property>
  77. </widget>
  78. </item>
  79. <item row="0" column="1">
  80. <widget class="QLabel" name="grayNumber">
  81. <property name="font">
  82. <font>
  83. <family>微软雅黑 Light</family>
  84. <pointsize>12</pointsize>
  85. </font>
  86. </property>
  87. <property name="text">
  88. <string>0</string>
  89. </property>
  90. </widget>
  91. </item>
  92. </layout>
  93. </item>
  94. <item row="1" column="2">
  95. <spacer name="horizontalSpacer_2">
  96. <property name="orientation">
  97. <enum>Qt::Horizontal</enum>
  98. </property>
  99. <property name="sizeHint" stdset="0">
  100. <size>
  101. <width>130</width>
  102. <height>20</height>
  103. </size>
  104. </property>
  105. </spacer>
  106. </item>
  107. <item row="2" column="1">
  108. <layout class="QHBoxLayout" name="horizontalLayout">
  109. <property name="topMargin">
  110. <number>20</number>
  111. </property>
  112. <item>
  113. <spacer name="horizontalSpacer_4">
  114. <property name="orientation">
  115. <enum>Qt::Horizontal</enum>
  116. </property>
  117. <property name="sizeHint" stdset="0">
  118. <size>
  119. <width>40</width>
  120. <height>20</height>
  121. </size>
  122. </property>
  123. </spacer>
  124. </item>
  125. <item>
  126. <widget class="QToolButton" name="graySaveBtn">
  127. <property name="sizePolicy">
  128. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  129. <horstretch>0</horstretch>
  130. <verstretch>0</verstretch>
  131. </sizepolicy>
  132. </property>
  133. <property name="minimumSize">
  134. <size>
  135. <width>0</width>
  136. <height>30</height>
  137. </size>
  138. </property>
  139. <property name="text">
  140. <string>保存</string>
  141. </property>
  142. <property name="icon">
  143. <iconset resource="../../QFluentWidgets/qfluentwidgets.qrc">
  144. <normaloff>:/qfluentwidgets/images/icons/Save_black.svg</normaloff>:/qfluentwidgets/images/icons/Save_black.svg</iconset>
  145. </property>
  146. <property name="toolButtonStyle">
  147. <enum>Qt::ToolButtonTextBesideIcon</enum>
  148. </property>
  149. </widget>
  150. </item>
  151. </layout>
  152. </item>
  153. <item row="3" column="1">
  154. <spacer name="verticalSpacer">
  155. <property name="orientation">
  156. <enum>Qt::Vertical</enum>
  157. </property>
  158. <property name="sizeHint" stdset="0">
  159. <size>
  160. <width>20</width>
  161. <height>111</height>
  162. </size>
  163. </property>
  164. </spacer>
  165. </item>
  166. </layout>
  167. </widget>
  168. <widget class="QWidget" name="configPage">
  169. <layout class="QGridLayout" name="gridLayout_3">
  170. <property name="leftMargin">
  171. <number>0</number>
  172. </property>
  173. <property name="topMargin">
  174. <number>0</number>
  175. </property>
  176. <property name="rightMargin">
  177. <number>0</number>
  178. </property>
  179. <property name="bottomMargin">
  180. <number>0</number>
  181. </property>
  182. <item row="1" column="1">
  183. <widget class="QToolButton" name="editGrayBtn">
  184. <property name="text">
  185. <string>灰类编辑</string>
  186. </property>
  187. <property name="icon">
  188. <iconset resource="../../QFluentWidgets/qfluentwidgets.qrc">
  189. <normaloff>:/qfluentwidgets/images/icons/Edit_black.svg</normaloff>:/qfluentwidgets/images/icons/Edit_black.svg</iconset>
  190. </property>
  191. <property name="toolButtonStyle">
  192. <enum>Qt::ToolButtonTextBesideIcon</enum>
  193. </property>
  194. </widget>
  195. </item>
  196. <item row="1" column="0">
  197. <spacer name="horizontalSpacer_3">
  198. <property name="orientation">
  199. <enum>Qt::Horizontal</enum>
  200. </property>
  201. <property name="sizeHint" stdset="0">
  202. <size>
  203. <width>199</width>
  204. <height>20</height>
  205. </size>
  206. </property>
  207. </spacer>
  208. </item>
  209. <item row="0" column="0" colspan="3">
  210. <widget class="QTableView" name="grayConfigTableView"/>
  211. </item>
  212. <item row="1" column="2">
  213. <widget class="QToolButton" name="configSaveBtn">
  214. <property name="text">
  215. <string>保存</string>
  216. </property>
  217. <property name="icon">
  218. <iconset resource="../../QFluentWidgets/qfluentwidgets.qrc">
  219. <normaloff>:/qfluentwidgets/images/icons/Save_black.svg</normaloff>:/qfluentwidgets/images/icons/Save_black.svg</iconset>
  220. </property>
  221. <property name="toolButtonStyle">
  222. <enum>Qt::ToolButtonTextBesideIcon</enum>
  223. </property>
  224. </widget>
  225. </item>
  226. </layout>
  227. </widget>
  228. </widget>
  229. </item>
  230. </layout>
  231. </widget>
  232. <resources>
  233. <include location="../../QFluentWidgets/qfluentwidgets.qrc"/>
  234. </resources>
  235. <connections/>
  236. </ui>