dialogchangepass.ui 5.0 KB

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