dialoglogin.ui 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>DialogLogin</class>
  4. <widget class="QDialog" name="DialogLogin">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>325</width>
  10. <height>311</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>300</width>
  22. <height>280</height>
  23. </size>
  24. </property>
  25. <property name="maximumSize">
  26. <size>
  27. <width>400</width>
  28. <height>343</height>
  29. </size>
  30. </property>
  31. <property name="windowTitle">
  32. <string>登录</string>
  33. </property>
  34. <layout class="QVBoxLayout" name="verticalLayout">
  35. <property name="spacing">
  36. <number>0</number>
  37. </property>
  38. <property name="margin">
  39. <number>0</number>
  40. </property>
  41. <item>
  42. <widget class="QFrame" name="frameBg">
  43. <property name="frameShape">
  44. <enum>QFrame::StyledPanel</enum>
  45. </property>
  46. <property name="frameShadow">
  47. <enum>QFrame::Raised</enum>
  48. </property>
  49. <layout class="QVBoxLayout" name="verticalLayout_2">
  50. <item>
  51. <widget class="QLabel" name="labelAppName">
  52. <property name="sizePolicy">
  53. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  54. <horstretch>0</horstretch>
  55. <verstretch>0</verstretch>
  56. </sizepolicy>
  57. </property>
  58. <property name="minimumSize">
  59. <size>
  60. <width>0</width>
  61. <height>100</height>
  62. </size>
  63. </property>
  64. <property name="maximumSize">
  65. <size>
  66. <width>16777215</width>
  67. <height>100</height>
  68. </size>
  69. </property>
  70. <property name="text">
  71. <string>TextLabel</string>
  72. </property>
  73. <property name="alignment">
  74. <set>Qt::AlignCenter</set>
  75. </property>
  76. </widget>
  77. </item>
  78. <item>
  79. <spacer name="verticalSpacer_3">
  80. <property name="orientation">
  81. <enum>Qt::Vertical</enum>
  82. </property>
  83. <property name="sizeType">
  84. <enum>QSizePolicy::Fixed</enum>
  85. </property>
  86. <property name="sizeHint" stdset="0">
  87. <size>
  88. <width>0</width>
  89. <height>0</height>
  90. </size>
  91. </property>
  92. </spacer>
  93. </item>
  94. <item>
  95. <layout class="QHBoxLayout" name="horizontalLayout">
  96. <item>
  97. <widget class="QLabel" name="label1">
  98. <property name="sizePolicy">
  99. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  100. <horstretch>0</horstretch>
  101. <verstretch>0</verstretch>
  102. </sizepolicy>
  103. </property>
  104. <property name="minimumSize">
  105. <size>
  106. <width>60</width>
  107. <height>0</height>
  108. </size>
  109. </property>
  110. <property name="maximumSize">
  111. <size>
  112. <width>60</width>
  113. <height>16777215</height>
  114. </size>
  115. </property>
  116. <property name="text">
  117. <string>用户名:</string>
  118. </property>
  119. <property name="alignment">
  120. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  121. </property>
  122. </widget>
  123. </item>
  124. <item>
  125. <widget class="QComboBox" name="comboBoxUserCode">
  126. <property name="sizePolicy">
  127. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  128. <horstretch>0</horstretch>
  129. <verstretch>0</verstretch>
  130. </sizepolicy>
  131. </property>
  132. <property name="minimumSize">
  133. <size>
  134. <width>155</width>
  135. <height>0</height>
  136. </size>
  137. </property>
  138. <property name="editable">
  139. <bool>true</bool>
  140. </property>
  141. </widget>
  142. </item>
  143. <item>
  144. <widget class="QPushButton" name="pushButtonReg">
  145. <property name="cursor">
  146. <cursorShape>PointingHandCursor</cursorShape>
  147. </property>
  148. <property name="focusPolicy">
  149. <enum>Qt::NoFocus</enum>
  150. </property>
  151. <property name="text">
  152. <string>用户注册</string>
  153. </property>
  154. </widget>
  155. </item>
  156. </layout>
  157. </item>
  158. <item>
  159. <layout class="QHBoxLayout" name="horizontalLayout_6">
  160. <item>
  161. <widget class="QLabel" name="label2">
  162. <property name="sizePolicy">
  163. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  164. <horstretch>0</horstretch>
  165. <verstretch>0</verstretch>
  166. </sizepolicy>
  167. </property>
  168. <property name="minimumSize">
  169. <size>
  170. <width>60</width>
  171. <height>0</height>
  172. </size>
  173. </property>
  174. <property name="maximumSize">
  175. <size>
  176. <width>60</width>
  177. <height>16777215</height>
  178. </size>
  179. </property>
  180. <property name="text">
  181. <string>密 码:</string>
  182. </property>
  183. <property name="alignment">
  184. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  185. </property>
  186. </widget>
  187. </item>
  188. <item>
  189. <widget class="QLineEdit" name="lineEditUserPwd">
  190. <property name="sizePolicy">
  191. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  192. <horstretch>0</horstretch>
  193. <verstretch>0</verstretch>
  194. </sizepolicy>
  195. </property>
  196. <property name="echoMode">
  197. <enum>QLineEdit::Password</enum>
  198. </property>
  199. </widget>
  200. </item>
  201. <item>
  202. <widget class="QPushButton" name="pushButtonForgetPassword">
  203. <property name="cursor">
  204. <cursorShape>PointingHandCursor</cursorShape>
  205. </property>
  206. <property name="focusPolicy">
  207. <enum>Qt::NoFocus</enum>
  208. </property>
  209. <property name="text">
  210. <string>忘记密码</string>
  211. </property>
  212. </widget>
  213. </item>
  214. </layout>
  215. </item>
  216. <item>
  217. <layout class="QHBoxLayout" name="horizontalLayout_7">
  218. <item>
  219. <widget class="QLabel" name="label3">
  220. <property name="sizePolicy">
  221. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  222. <horstretch>0</horstretch>
  223. <verstretch>0</verstretch>
  224. </sizepolicy>
  225. </property>
  226. <property name="minimumSize">
  227. <size>
  228. <width>60</width>
  229. <height>0</height>
  230. </size>
  231. </property>
  232. <property name="maximumSize">
  233. <size>
  234. <width>60</width>
  235. <height>16777215</height>
  236. </size>
  237. </property>
  238. <property name="text">
  239. <string>验证码:</string>
  240. </property>
  241. <property name="alignment">
  242. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  243. </property>
  244. </widget>
  245. </item>
  246. <item>
  247. <widget class="QLineEdit" name="lineEditValidateCode">
  248. <property name="sizePolicy">
  249. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  250. <horstretch>0</horstretch>
  251. <verstretch>0</verstretch>
  252. </sizepolicy>
  253. </property>
  254. <property name="minimumSize">
  255. <size>
  256. <width>80</width>
  257. <height>0</height>
  258. </size>
  259. </property>
  260. <property name="maximumSize">
  261. <size>
  262. <width>80</width>
  263. <height>16777215</height>
  264. </size>
  265. </property>
  266. </widget>
  267. </item>
  268. <item>
  269. <widget class="QWidget" name="widget" native="true">
  270. <property name="minimumSize">
  271. <size>
  272. <width>70</width>
  273. <height>0</height>
  274. </size>
  275. </property>
  276. <property name="maximumSize">
  277. <size>
  278. <width>70</width>
  279. <height>16777215</height>
  280. </size>
  281. </property>
  282. <layout class="QHBoxLayout" name="horizontalLayout_2">
  283. <property name="spacing">
  284. <number>0</number>
  285. </property>
  286. <property name="margin">
  287. <number>0</number>
  288. </property>
  289. </layout>
  290. </widget>
  291. </item>
  292. <item>
  293. <widget class="QPushButton" name="pushButtonRefresh">
  294. <property name="cursor">
  295. <cursorShape>PointingHandCursor</cursorShape>
  296. </property>
  297. <property name="focusPolicy">
  298. <enum>Qt::NoFocus</enum>
  299. </property>
  300. <property name="text">
  301. <string>点击刷新</string>
  302. </property>
  303. </widget>
  304. </item>
  305. </layout>
  306. </item>
  307. <item>
  308. <layout class="QHBoxLayout" name="horizontalLayout_4">
  309. <item>
  310. <widget class="QLabel" name="label_3">
  311. <property name="minimumSize">
  312. <size>
  313. <width>60</width>
  314. <height>0</height>
  315. </size>
  316. </property>
  317. <property name="maximumSize">
  318. <size>
  319. <width>60</width>
  320. <height>16777215</height>
  321. </size>
  322. </property>
  323. <property name="text">
  324. <string>服务商:</string>
  325. </property>
  326. <property name="alignment">
  327. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  328. </property>
  329. </widget>
  330. </item>
  331. <item>
  332. <widget class="QComboBox" name="comboBoxCorp"/>
  333. </item>
  334. <item>
  335. <spacer name="horizontalSpacer_3">
  336. <property name="orientation">
  337. <enum>Qt::Horizontal</enum>
  338. </property>
  339. <property name="sizeHint" stdset="0">
  340. <size>
  341. <width>40</width>
  342. <height>20</height>
  343. </size>
  344. </property>
  345. </spacer>
  346. </item>
  347. </layout>
  348. </item>
  349. <item>
  350. <layout class="QHBoxLayout" name="horizontalLayout_3">
  351. <item>
  352. <widget class="QLabel" name="label">
  353. <property name="sizePolicy">
  354. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  355. <horstretch>0</horstretch>
  356. <verstretch>0</verstretch>
  357. </sizepolicy>
  358. </property>
  359. <property name="minimumSize">
  360. <size>
  361. <width>58</width>
  362. <height>0</height>
  363. </size>
  364. </property>
  365. <property name="maximumSize">
  366. <size>
  367. <width>58</width>
  368. <height>16777215</height>
  369. </size>
  370. </property>
  371. <property name="text">
  372. <string/>
  373. </property>
  374. </widget>
  375. </item>
  376. <item>
  377. <widget class="QCheckBox" name="checkBoxRememberPassword">
  378. <property name="text">
  379. <string>记住密码</string>
  380. </property>
  381. </widget>
  382. </item>
  383. <item>
  384. <widget class="QCheckBox" name="checkBoxAutoLogin">
  385. <property name="text">
  386. <string>自动登录</string>
  387. </property>
  388. </widget>
  389. </item>
  390. <item>
  391. <spacer name="horizontalSpacer">
  392. <property name="orientation">
  393. <enum>Qt::Horizontal</enum>
  394. </property>
  395. <property name="sizeHint" stdset="0">
  396. <size>
  397. <width>40</width>
  398. <height>20</height>
  399. </size>
  400. </property>
  401. </spacer>
  402. </item>
  403. </layout>
  404. </item>
  405. <item>
  406. <layout class="QHBoxLayout" name="horizontalLayout_8">
  407. <item>
  408. <widget class="QLabel" name="label_4">
  409. <property name="sizePolicy">
  410. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  411. <horstretch>0</horstretch>
  412. <verstretch>0</verstretch>
  413. </sizepolicy>
  414. </property>
  415. <property name="minimumSize">
  416. <size>
  417. <width>58</width>
  418. <height>0</height>
  419. </size>
  420. </property>
  421. <property name="maximumSize">
  422. <size>
  423. <width>58</width>
  424. <height>16777215</height>
  425. </size>
  426. </property>
  427. <property name="text">
  428. <string/>
  429. </property>
  430. </widget>
  431. </item>
  432. <item>
  433. <widget class="QPushButton" name="pushButtonLogin">
  434. <property name="text">
  435. <string>登录</string>
  436. </property>
  437. </widget>
  438. </item>
  439. <item>
  440. <widget class="QPushButton" name="pushButtonCancel">
  441. <property name="text">
  442. <string>取消</string>
  443. </property>
  444. </widget>
  445. </item>
  446. <item>
  447. <spacer name="horizontalSpacer_2">
  448. <property name="orientation">
  449. <enum>Qt::Horizontal</enum>
  450. </property>
  451. <property name="sizeType">
  452. <enum>QSizePolicy::Fixed</enum>
  453. </property>
  454. <property name="sizeHint" stdset="0">
  455. <size>
  456. <width>55</width>
  457. <height>20</height>
  458. </size>
  459. </property>
  460. </spacer>
  461. </item>
  462. </layout>
  463. </item>
  464. <item>
  465. <widget class="QFrame" name="frame">
  466. <property name="sizePolicy">
  467. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  468. <horstretch>0</horstretch>
  469. <verstretch>0</verstretch>
  470. </sizepolicy>
  471. </property>
  472. <property name="minimumSize">
  473. <size>
  474. <width>0</width>
  475. <height>10</height>
  476. </size>
  477. </property>
  478. <property name="maximumSize">
  479. <size>
  480. <width>16777215</width>
  481. <height>10</height>
  482. </size>
  483. </property>
  484. <property name="frameShape">
  485. <enum>QFrame::StyledPanel</enum>
  486. </property>
  487. <property name="frameShadow">
  488. <enum>QFrame::Raised</enum>
  489. </property>
  490. <layout class="QVBoxLayout" name="verticalLayout_3">
  491. <property name="spacing">
  492. <number>0</number>
  493. </property>
  494. <property name="margin">
  495. <number>0</number>
  496. </property>
  497. <item>
  498. <widget class="QLabel" name="labelProgress">
  499. <property name="text">
  500. <string>TextLabel</string>
  501. </property>
  502. <property name="alignment">
  503. <set>Qt::AlignCenter</set>
  504. </property>
  505. </widget>
  506. </item>
  507. </layout>
  508. </widget>
  509. </item>
  510. <item>
  511. <spacer name="verticalSpacer_2">
  512. <property name="orientation">
  513. <enum>Qt::Vertical</enum>
  514. </property>
  515. <property name="sizeHint" stdset="0">
  516. <size>
  517. <width>20</width>
  518. <height>40</height>
  519. </size>
  520. </property>
  521. </spacer>
  522. </item>
  523. </layout>
  524. </widget>
  525. </item>
  526. </layout>
  527. </widget>
  528. <resources/>
  529. <connections/>
  530. </ui>