dialogchangepass.ui 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>DialogChangePass</class>
  4. <widget class="QDialog" name="DialogChangePass">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>360</width>
  10. <height>170</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="minimumSize">
  20. <size>
  21. <width>360</width>
  22. <height>170</height>
  23. </size>
  24. </property>
  25. <property name="maximumSize">
  26. <size>
  27. <width>360</width>
  28. <height>170</height>
  29. </size>
  30. </property>
  31. <property name="windowTitle">
  32. <string>修改密码</string>
  33. </property>
  34. <layout class="QVBoxLayout" name="verticalLayout">
  35. <item>
  36. <widget class="QGroupBox" name="groupBox">
  37. <property name="title">
  38. <string>更改密码</string>
  39. </property>
  40. <layout class="QVBoxLayout" name="verticalLayout_2">
  41. <item>
  42. <layout class="QHBoxLayout" name="horizontalLayout">
  43. <item>
  44. <widget class="QLabel" name="label">
  45. <property name="text">
  46. <string>输入旧密码</string>
  47. </property>
  48. </widget>
  49. </item>
  50. <item>
  51. <spacer name="horizontalSpacer_2">
  52. <property name="orientation">
  53. <enum>Qt::Horizontal</enum>
  54. </property>
  55. <property name="sizeHint" stdset="0">
  56. <size>
  57. <width>40</width>
  58. <height>20</height>
  59. </size>
  60. </property>
  61. </spacer>
  62. </item>
  63. <item>
  64. <widget class="QLineEdit" name="oldPassEdit">
  65. <property name="minimumSize">
  66. <size>
  67. <width>200</width>
  68. <height>0</height>
  69. </size>
  70. </property>
  71. <property name="maximumSize">
  72. <size>
  73. <width>200</width>
  74. <height>16777215</height>
  75. </size>
  76. </property>
  77. <property name="echoMode">
  78. <enum>QLineEdit::Password</enum>
  79. </property>
  80. </widget>
  81. </item>
  82. </layout>
  83. </item>
  84. <item>
  85. <layout class="QHBoxLayout" name="horizontalLayout_2">
  86. <item>
  87. <widget class="QLabel" name="label_2">
  88. <property name="text">
  89. <string>输入新密码</string>
  90. </property>
  91. </widget>
  92. </item>
  93. <item>
  94. <spacer name="horizontalSpacer">
  95. <property name="orientation">
  96. <enum>Qt::Horizontal</enum>
  97. </property>
  98. <property name="sizeHint" stdset="0">
  99. <size>
  100. <width>40</width>
  101. <height>20</height>
  102. </size>
  103. </property>
  104. </spacer>
  105. </item>
  106. <item>
  107. <widget class="QLineEdit" name="newPassEdit">
  108. <property name="minimumSize">
  109. <size>
  110. <width>200</width>
  111. <height>0</height>
  112. </size>
  113. </property>
  114. <property name="maximumSize">
  115. <size>
  116. <width>200</width>
  117. <height>16777215</height>
  118. </size>
  119. </property>
  120. <property name="echoMode">
  121. <enum>QLineEdit::Password</enum>
  122. </property>
  123. </widget>
  124. </item>
  125. </layout>
  126. </item>
  127. <item>
  128. <layout class="QHBoxLayout" name="horizontalLayout_3">
  129. <item>
  130. <widget class="QLabel" name="label_3">
  131. <property name="text">
  132. <string>再输入一遍新密码</string>
  133. </property>
  134. </widget>
  135. </item>
  136. <item>
  137. <spacer name="horizontalSpacer_3">
  138. <property name="orientation">
  139. <enum>Qt::Horizontal</enum>
  140. </property>
  141. <property name="sizeHint" stdset="0">
  142. <size>
  143. <width>40</width>
  144. <height>20</height>
  145. </size>
  146. </property>
  147. </spacer>
  148. </item>
  149. <item>
  150. <widget class="QLineEdit" name="newPass2Edit">
  151. <property name="minimumSize">
  152. <size>
  153. <width>200</width>
  154. <height>0</height>
  155. </size>
  156. </property>
  157. <property name="maximumSize">
  158. <size>
  159. <width>200</width>
  160. <height>16777215</height>
  161. </size>
  162. </property>
  163. <property name="echoMode">
  164. <enum>QLineEdit::Password</enum>
  165. </property>
  166. </widget>
  167. </item>
  168. </layout>
  169. </item>
  170. </layout>
  171. </widget>
  172. </item>
  173. <item>
  174. <widget class="QDialogButtonBox" name="buttonBox">
  175. <property name="orientation">
  176. <enum>Qt::Horizontal</enum>
  177. </property>
  178. <property name="standardButtons">
  179. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  180. </property>
  181. </widget>
  182. </item>
  183. </layout>
  184. </widget>
  185. <resources/>
  186. <connections>
  187. <connection>
  188. <sender>buttonBox</sender>
  189. <signal>rejected()</signal>
  190. <receiver>DialogChangePass</receiver>
  191. <slot>reject()</slot>
  192. <hints>
  193. <hint type="sourcelabel">
  194. <x>316</x>
  195. <y>260</y>
  196. </hint>
  197. <hint type="destinationlabel">
  198. <x>286</x>
  199. <y>274</y>
  200. </hint>
  201. </hints>
  202. </connection>
  203. </connections>
  204. </ui>