GreyClusteringConfigWidget.ui 6.7 KB

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