You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

widget.ui 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>Widget</class>
  4. <widget class="QWidget" name="Widget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>307</width>
  10. <height>315</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>User Manager - Epimafia</string>
  15. </property>
  16. <property name="windowIcon">
  17. <iconset resource="../Epimafia/rc.qrc">
  18. <normaloff>:/epimafia/icon.jpg</normaloff>:/epimafia/icon.jpg</iconset>
  19. </property>
  20. <property name="styleSheet">
  21. <string notr="true">QWidget
  22. {
  23. background-color: rgb(0, 0, 0);
  24. color: rgb(255, 255, 255);
  25. }
  26. QPushButton
  27. {
  28. border: 1px solid white;
  29. border-radius: 4px;
  30. }
  31. QPushButton:hover
  32. {
  33. background-color:rgb(71, 71, 71);
  34. }
  35. QPushButton:pressed
  36. {
  37. background-color:rgb(42, 42, 42);
  38. }
  39. QFrame, QToolTip
  40. {
  41. color: black;
  42. }
  43. QLabel
  44. {
  45. color: white;
  46. }
  47. QLineEdit
  48. {
  49. border: 1px solid white;
  50. border-radius: 2px;
  51. }</string>
  52. </property>
  53. <layout class="QVBoxLayout" name="verticalLayout">
  54. <item>
  55. <layout class="QHBoxLayout" name="horizontalLayout">
  56. <item>
  57. <spacer name="horizontalSpacer">
  58. <property name="orientation">
  59. <enum>Qt::Horizontal</enum>
  60. </property>
  61. <property name="sizeHint" stdset="0">
  62. <size>
  63. <width>40</width>
  64. <height>20</height>
  65. </size>
  66. </property>
  67. </spacer>
  68. </item>
  69. <item>
  70. <widget class="QLabel" name="label_7">
  71. <property name="sizePolicy">
  72. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  73. <horstretch>0</horstretch>
  74. <verstretch>0</verstretch>
  75. </sizepolicy>
  76. </property>
  77. <property name="minimumSize">
  78. <size>
  79. <width>150</width>
  80. <height>75</height>
  81. </size>
  82. </property>
  83. <property name="maximumSize">
  84. <size>
  85. <width>150</width>
  86. <height>75</height>
  87. </size>
  88. </property>
  89. <property name="text">
  90. <string/>
  91. </property>
  92. <property name="pixmap">
  93. <pixmap resource="../Epimafia/rc.qrc">:/epimafia/epimafia.jpg</pixmap>
  94. </property>
  95. <property name="scaledContents">
  96. <bool>true</bool>
  97. </property>
  98. </widget>
  99. </item>
  100. <item>
  101. <spacer name="horizontalSpacer_2">
  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. </layout>
  114. </item>
  115. <item>
  116. <layout class="QHBoxLayout" name="horizontalLayout_2">
  117. <item>
  118. <spacer name="horizontalSpacer_3">
  119. <property name="orientation">
  120. <enum>Qt::Horizontal</enum>
  121. </property>
  122. <property name="sizeHint" stdset="0">
  123. <size>
  124. <width>40</width>
  125. <height>20</height>
  126. </size>
  127. </property>
  128. </spacer>
  129. </item>
  130. <item>
  131. <widget class="QComboBox" name="comboLogin">
  132. <property name="minimumSize">
  133. <size>
  134. <width>100</width>
  135. <height>20</height>
  136. </size>
  137. </property>
  138. <property name="styleSheet">
  139. <string notr="true">QWidget
  140. {
  141. border: 1px solid white;
  142. border-radius: 2px;
  143. }
  144. QFrame, QToolTip
  145. {
  146. color: white;
  147. }</string>
  148. </property>
  149. </widget>
  150. </item>
  151. <item>
  152. <spacer name="horizontalSpacer_4">
  153. <property name="orientation">
  154. <enum>Qt::Horizontal</enum>
  155. </property>
  156. <property name="sizeHint" stdset="0">
  157. <size>
  158. <width>40</width>
  159. <height>20</height>
  160. </size>
  161. </property>
  162. </spacer>
  163. </item>
  164. </layout>
  165. </item>
  166. <item>
  167. <layout class="QHBoxLayout" name="horizontalLayout_3">
  168. <item>
  169. <spacer name="horizontalSpacer_5">
  170. <property name="orientation">
  171. <enum>Qt::Horizontal</enum>
  172. </property>
  173. <property name="sizeHint" stdset="0">
  174. <size>
  175. <width>40</width>
  176. <height>20</height>
  177. </size>
  178. </property>
  179. </spacer>
  180. </item>
  181. <item>
  182. <widget class="QPushButton" name="btnRemove">
  183. <property name="enabled">
  184. <bool>false</bool>
  185. </property>
  186. <property name="minimumSize">
  187. <size>
  188. <width>20</width>
  189. <height>20</height>
  190. </size>
  191. </property>
  192. <property name="toolTip">
  193. <string>Remove user</string>
  194. </property>
  195. <property name="text">
  196. <string>-</string>
  197. </property>
  198. </widget>
  199. </item>
  200. <item>
  201. <widget class="QPushButton" name="btnAdd">
  202. <property name="minimumSize">
  203. <size>
  204. <width>20</width>
  205. <height>20</height>
  206. </size>
  207. </property>
  208. <property name="toolTip">
  209. <string>Add user</string>
  210. </property>
  211. <property name="text">
  212. <string>+</string>
  213. </property>
  214. </widget>
  215. </item>
  216. <item>
  217. <spacer name="horizontalSpacer_6">
  218. <property name="orientation">
  219. <enum>Qt::Horizontal</enum>
  220. </property>
  221. <property name="sizeHint" stdset="0">
  222. <size>
  223. <width>40</width>
  224. <height>20</height>
  225. </size>
  226. </property>
  227. </spacer>
  228. </item>
  229. </layout>
  230. </item>
  231. <item>
  232. <layout class="QFormLayout" name="formLayout">
  233. <property name="fieldGrowthPolicy">
  234. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  235. </property>
  236. <item row="0" column="0">
  237. <widget class="QLabel" name="label_2">
  238. <property name="text">
  239. <string>Login:</string>
  240. </property>
  241. </widget>
  242. </item>
  243. <item row="1" column="0">
  244. <widget class="QLabel" name="label_3">
  245. <property name="text">
  246. <string>Password:</string>
  247. </property>
  248. </widget>
  249. </item>
  250. <item row="2" column="0">
  251. <widget class="QLabel" name="label_4">
  252. <property name="text">
  253. <string>Password Num:</string>
  254. </property>
  255. </widget>
  256. </item>
  257. <item row="3" column="0">
  258. <widget class="QLabel" name="label_5">
  259. <property name="text">
  260. <string>Password PPP:</string>
  261. </property>
  262. </widget>
  263. </item>
  264. <item row="4" column="0">
  265. <widget class="QLabel" name="label_6">
  266. <property name="text">
  267. <string>Password Socks:</string>
  268. </property>
  269. </widget>
  270. </item>
  271. <item row="5" column="1">
  272. <layout class="QHBoxLayout" name="horizontalLayout_4">
  273. <item>
  274. <spacer name="horizontalSpacer_7">
  275. <property name="orientation">
  276. <enum>Qt::Horizontal</enum>
  277. </property>
  278. <property name="sizeHint" stdset="0">
  279. <size>
  280. <width>40</width>
  281. <height>20</height>
  282. </size>
  283. </property>
  284. </spacer>
  285. </item>
  286. <item>
  287. <widget class="QPushButton" name="btnSave">
  288. <property name="sizePolicy">
  289. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  290. <horstretch>0</horstretch>
  291. <verstretch>0</verstretch>
  292. </sizepolicy>
  293. </property>
  294. <property name="minimumSize">
  295. <size>
  296. <width>50</width>
  297. <height>20</height>
  298. </size>
  299. </property>
  300. <property name="text">
  301. <string>Save</string>
  302. </property>
  303. </widget>
  304. </item>
  305. </layout>
  306. </item>
  307. <item row="1" column="1">
  308. <layout class="QHBoxLayout" name="horizontalLayout_6">
  309. <item>
  310. <widget class="QLineEdit" name="linePass">
  311. <property name="echoMode">
  312. <enum>QLineEdit::Password</enum>
  313. </property>
  314. </widget>
  315. </item>
  316. <item>
  317. <widget class="QPushButton" name="btnShowPass">
  318. <property name="text">
  319. <string/>
  320. </property>
  321. <property name="icon">
  322. <iconset resource="../Epimafia/rc.qrc">
  323. <normaloff>:/epimafia/eye.png</normaloff>:/epimafia/eye.png</iconset>
  324. </property>
  325. <property name="checkable">
  326. <bool>true</bool>
  327. </property>
  328. </widget>
  329. </item>
  330. </layout>
  331. </item>
  332. <item row="0" column="1">
  333. <widget class="QLineEdit" name="lineLogin">
  334. <property name="text">
  335. <string/>
  336. </property>
  337. </widget>
  338. </item>
  339. <item row="2" column="1">
  340. <layout class="QHBoxLayout" name="horizontalLayout_5">
  341. <item>
  342. <widget class="QLineEdit" name="linePwdNum">
  343. <property name="echoMode">
  344. <enum>QLineEdit::Password</enum>
  345. </property>
  346. </widget>
  347. </item>
  348. <item>
  349. <widget class="QPushButton" name="pushShowNum">
  350. <property name="text">
  351. <string/>
  352. </property>
  353. <property name="icon">
  354. <iconset resource="../Epimafia/rc.qrc">
  355. <normaloff>:/epimafia/eye.png</normaloff>:/epimafia/eye.png</iconset>
  356. </property>
  357. <property name="checkable">
  358. <bool>true</bool>
  359. </property>
  360. </widget>
  361. </item>
  362. </layout>
  363. </item>
  364. <item row="3" column="1">
  365. <layout class="QHBoxLayout" name="horizontalLayout_7">
  366. <item>
  367. <widget class="QLineEdit" name="linePwdPPP">
  368. <property name="echoMode">
  369. <enum>QLineEdit::Password</enum>
  370. </property>
  371. </widget>
  372. </item>
  373. <item>
  374. <widget class="QPushButton" name="btnShowPPP">
  375. <property name="text">
  376. <string/>
  377. </property>
  378. <property name="icon">
  379. <iconset resource="../Epimafia/rc.qrc">
  380. <normaloff>:/epimafia/eye.png</normaloff>:/epimafia/eye.png</iconset>
  381. </property>
  382. <property name="checkable">
  383. <bool>true</bool>
  384. </property>
  385. <property name="checked">
  386. <bool>false</bool>
  387. </property>
  388. </widget>
  389. </item>
  390. </layout>
  391. </item>
  392. <item row="4" column="1">
  393. <layout class="QHBoxLayout" name="horizontalLayout_8">
  394. <item>
  395. <widget class="QLineEdit" name="linePwdSocks">
  396. <property name="echoMode">
  397. <enum>QLineEdit::Password</enum>
  398. </property>
  399. </widget>
  400. </item>
  401. <item>
  402. <widget class="QPushButton" name="btnShowSocks">
  403. <property name="text">
  404. <string/>
  405. </property>
  406. <property name="icon">
  407. <iconset resource="../Epimafia/rc.qrc">
  408. <normaloff>:/epimafia/eye.png</normaloff>:/epimafia/eye.png</iconset>
  409. </property>
  410. <property name="checkable">
  411. <bool>true</bool>
  412. </property>
  413. </widget>
  414. </item>
  415. </layout>
  416. </item>
  417. </layout>
  418. </item>
  419. <item>
  420. <spacer name="verticalSpacer">
  421. <property name="orientation">
  422. <enum>Qt::Vertical</enum>
  423. </property>
  424. <property name="sizeHint" stdset="0">
  425. <size>
  426. <width>20</width>
  427. <height>40</height>
  428. </size>
  429. </property>
  430. </spacer>
  431. </item>
  432. </layout>
  433. </widget>
  434. <layoutdefault spacing="6" margin="11"/>
  435. <resources>
  436. <include location="../Epimafia/rc.qrc"/>
  437. </resources>
  438. <connections/>
  439. </ui>