GreyClusteringConfigWidget.ui 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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>0</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="text">
  128. <string>保存</string>
  129. </property>
  130. <property name="icon">
  131. <iconset resource="../../QFluentWidgets/qfluentwidgets.qrc">
  132. <normaloff>:/qfluentwidgets/images/icons/Save_black.svg</normaloff>:/qfluentwidgets/images/icons/Save_black.svg</iconset>
  133. </property>
  134. <property name="toolButtonStyle">
  135. <enum>Qt::ToolButtonTextBesideIcon</enum>
  136. </property>
  137. </widget>
  138. </item>
  139. </layout>
  140. </item>
  141. <item row="3" column="1">
  142. <spacer name="verticalSpacer">
  143. <property name="orientation">
  144. <enum>Qt::Vertical</enum>
  145. </property>
  146. <property name="sizeHint" stdset="0">
  147. <size>
  148. <width>20</width>
  149. <height>111</height>
  150. </size>
  151. </property>
  152. </spacer>
  153. </item>
  154. </layout>
  155. </widget>
  156. <widget class="QWidget" name="configPage">
  157. <layout class="QGridLayout" name="gridLayout_3">
  158. <item row="1" column="1">
  159. <widget class="QToolButton" name="editGrayBtn">
  160. <property name="text">
  161. <string>灰类编辑</string>
  162. </property>
  163. <property name="icon">
  164. <iconset resource="../../QFluentWidgets/qfluentwidgets.qrc">
  165. <normaloff>:/qfluentwidgets/images/icons/Edit_black.svg</normaloff>:/qfluentwidgets/images/icons/Edit_black.svg</iconset>
  166. </property>
  167. <property name="toolButtonStyle">
  168. <enum>Qt::ToolButtonTextBesideIcon</enum>
  169. </property>
  170. </widget>
  171. </item>
  172. <item row="1" column="0">
  173. <spacer name="horizontalSpacer_3">
  174. <property name="orientation">
  175. <enum>Qt::Horizontal</enum>
  176. </property>
  177. <property name="sizeHint" stdset="0">
  178. <size>
  179. <width>199</width>
  180. <height>20</height>
  181. </size>
  182. </property>
  183. </spacer>
  184. </item>
  185. <item row="0" column="0" colspan="3">
  186. <widget class="QTableView" name="grayConfigTableView"/>
  187. </item>
  188. <item row="1" column="2">
  189. <widget class="QToolButton" name="configSaveBtn">
  190. <property name="text">
  191. <string>保存</string>
  192. </property>
  193. <property name="icon">
  194. <iconset resource="../../QFluentWidgets/qfluentwidgets.qrc">
  195. <normaloff>:/qfluentwidgets/images/icons/Save_black.svg</normaloff>:/qfluentwidgets/images/icons/Save_black.svg</iconset>
  196. </property>
  197. <property name="toolButtonStyle">
  198. <enum>Qt::ToolButtonTextBesideIcon</enum>
  199. </property>
  200. </widget>
  201. </item>
  202. </layout>
  203. </widget>
  204. </widget>
  205. </item>
  206. </layout>
  207. </widget>
  208. <resources>
  209. <include location="../../QFluentWidgets/qfluentwidgets.qrc"/>
  210. </resources>
  211. <connections/>
  212. </ui>