login.ui 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>Form</class>
  4. <widget class="QWidget" name="Form">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>406</width>
  10. <height>287</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true">background-color: rgb(255, 255, 255);</string>
  18. </property>
  19. <widget class="QLabel" name="label_4">
  20. <property name="geometry">
  21. <rect>
  22. <x>0</x>
  23. <y>260</y>
  24. <width>401</width>
  25. <height>21</height>
  26. </rect>
  27. </property>
  28. <property name="text">
  29. <string/>
  30. </property>
  31. </widget>
  32. <widget class="QWidget" name="horizontalLayoutWidget">
  33. <property name="geometry">
  34. <rect>
  35. <x>30</x>
  36. <y>210</y>
  37. <width>341</width>
  38. <height>41</height>
  39. </rect>
  40. </property>
  41. <layout class="QHBoxLayout" name="horizontalLayout">
  42. <property name="spacing">
  43. <number>0</number>
  44. </property>
  45. <property name="leftMargin">
  46. <number>40</number>
  47. </property>
  48. <property name="rightMargin">
  49. <number>40</number>
  50. </property>
  51. <item>
  52. <widget class="QPushButton" name="pushButton">
  53. <property name="sizePolicy">
  54. <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
  55. <horstretch>0</horstretch>
  56. <verstretch>0</verstretch>
  57. </sizepolicy>
  58. </property>
  59. <property name="styleSheet">
  60. <string notr="true">background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(255, 137, 27, 255), stop:1 rgba(255, 93, 1, 255));
  61. color: rgb(255, 255, 255);
  62. border-radius: 5px; border: 2px groove gray;
  63. border:0px;
  64. font: 75 14pt &quot;Adobe Arabic&quot;;</string>
  65. </property>
  66. <property name="text">
  67. <string>登录</string>
  68. </property>
  69. </widget>
  70. </item>
  71. </layout>
  72. </widget>
  73. <widget class="QWidget" name="horizontalLayoutWidget_2">
  74. <property name="geometry">
  75. <rect>
  76. <x>30</x>
  77. <y>150</y>
  78. <width>341</width>
  79. <height>31</height>
  80. </rect>
  81. </property>
  82. <layout class="QHBoxLayout" name="horizontalLayout_2">
  83. <property name="leftMargin">
  84. <number>40</number>
  85. </property>
  86. <property name="rightMargin">
  87. <number>40</number>
  88. </property>
  89. <item>
  90. <widget class="QRadioButton" name="radioButton">
  91. <property name="text">
  92. <string>短信验证码登录</string>
  93. </property>
  94. <property name="checked">
  95. <bool>true</bool>
  96. </property>
  97. </widget>
  98. </item>
  99. <item>
  100. <widget class="QRadioButton" name="radioButton_2">
  101. <property name="text">
  102. <string>账号密码登录</string>
  103. </property>
  104. </widget>
  105. </item>
  106. </layout>
  107. </widget>
  108. <widget class="QWidget" name="horizontalLayoutWidget_3">
  109. <property name="geometry">
  110. <rect>
  111. <x>30</x>
  112. <y>30</y>
  113. <width>341</width>
  114. <height>31</height>
  115. </rect>
  116. </property>
  117. <layout class="QHBoxLayout" name="horizontalLayout_3">
  118. <item>
  119. <widget class="QLabel" name="label_2">
  120. <property name="text">
  121. <string>手机:</string>
  122. </property>
  123. </widget>
  124. </item>
  125. <item>
  126. <widget class="QLineEdit" name="lineEdit">
  127. <property name="sizePolicy">
  128. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  129. <horstretch>0</horstretch>
  130. <verstretch>0</verstretch>
  131. </sizepolicy>
  132. </property>
  133. </widget>
  134. </item>
  135. </layout>
  136. </widget>
  137. <widget class="QWidget" name="horizontalLayoutWidget_4">
  138. <property name="geometry">
  139. <rect>
  140. <x>30</x>
  141. <y>90</y>
  142. <width>341</width>
  143. <height>31</height>
  144. </rect>
  145. </property>
  146. <layout class="QHBoxLayout" name="horizontalLayout_4">
  147. <item>
  148. <widget class="QLabel" name="label_3">
  149. <property name="text">
  150. <string>密码:</string>
  151. </property>
  152. </widget>
  153. </item>
  154. <item>
  155. <widget class="QLineEdit" name="lineEdit_2">
  156. <property name="sizePolicy">
  157. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  158. <horstretch>0</horstretch>
  159. <verstretch>0</verstretch>
  160. </sizepolicy>
  161. </property>
  162. <property name="echoMode">
  163. <enum>QLineEdit::Password</enum>
  164. </property>
  165. </widget>
  166. </item>
  167. <item>
  168. <widget class="QPushButton" name="pushButton_2">
  169. <property name="sizePolicy">
  170. <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
  171. <horstretch>0</horstretch>
  172. <verstretch>0</verstretch>
  173. </sizepolicy>
  174. </property>
  175. <property name="styleSheet">
  176. <string notr="true">border-radius: 5px; border: 2px groove gray;
  177. border:0px;</string>
  178. </property>
  179. <property name="text">
  180. <string>获取验证码</string>
  181. </property>
  182. </widget>
  183. </item>
  184. </layout>
  185. </widget>
  186. </widget>
  187. <resources/>
  188. <connections/>
  189. </ui>