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 8.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  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>238</width>
  10. <height>327</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="0" column="1">
  244. <widget class="QLineEdit" name="lineLogin">
  245. <property name="text">
  246. <string/>
  247. </property>
  248. </widget>
  249. </item>
  250. <item row="1" column="0">
  251. <widget class="QLabel" name="label_3">
  252. <property name="text">
  253. <string>Password:</string>
  254. </property>
  255. </widget>
  256. </item>
  257. <item row="1" column="1">
  258. <widget class="QLineEdit" name="linePass">
  259. <property name="echoMode">
  260. <enum>QLineEdit::Password</enum>
  261. </property>
  262. </widget>
  263. </item>
  264. <item row="2" column="0">
  265. <widget class="QLabel" name="label_4">
  266. <property name="text">
  267. <string>Password Num:</string>
  268. </property>
  269. </widget>
  270. </item>
  271. <item row="2" column="1">
  272. <widget class="QLineEdit" name="linePwdNum">
  273. <property name="echoMode">
  274. <enum>QLineEdit::Password</enum>
  275. </property>
  276. </widget>
  277. </item>
  278. <item row="3" column="0">
  279. <widget class="QLabel" name="label_5">
  280. <property name="text">
  281. <string>Password PPP:</string>
  282. </property>
  283. </widget>
  284. </item>
  285. <item row="3" column="1">
  286. <widget class="QLineEdit" name="linePwdPPP">
  287. <property name="echoMode">
  288. <enum>QLineEdit::Password</enum>
  289. </property>
  290. </widget>
  291. </item>
  292. <item row="4" column="0">
  293. <widget class="QLabel" name="label_6">
  294. <property name="text">
  295. <string>Password Socks:</string>
  296. </property>
  297. </widget>
  298. </item>
  299. <item row="4" column="1">
  300. <widget class="QLineEdit" name="linePwdSocks">
  301. <property name="echoMode">
  302. <enum>QLineEdit::Password</enum>
  303. </property>
  304. </widget>
  305. </item>
  306. <item row="5" column="1">
  307. <layout class="QHBoxLayout" name="horizontalLayout_4">
  308. <item>
  309. <spacer name="horizontalSpacer_7">
  310. <property name="orientation">
  311. <enum>Qt::Horizontal</enum>
  312. </property>
  313. <property name="sizeHint" stdset="0">
  314. <size>
  315. <width>40</width>
  316. <height>20</height>
  317. </size>
  318. </property>
  319. </spacer>
  320. </item>
  321. <item>
  322. <widget class="QPushButton" name="btnSave">
  323. <property name="sizePolicy">
  324. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  325. <horstretch>0</horstretch>
  326. <verstretch>0</verstretch>
  327. </sizepolicy>
  328. </property>
  329. <property name="minimumSize">
  330. <size>
  331. <width>50</width>
  332. <height>20</height>
  333. </size>
  334. </property>
  335. <property name="text">
  336. <string>Save</string>
  337. </property>
  338. </widget>
  339. </item>
  340. </layout>
  341. </item>
  342. </layout>
  343. </item>
  344. <item>
  345. <spacer name="verticalSpacer">
  346. <property name="orientation">
  347. <enum>Qt::Vertical</enum>
  348. </property>
  349. <property name="sizeHint" stdset="0">
  350. <size>
  351. <width>20</width>
  352. <height>40</height>
  353. </size>
  354. </property>
  355. </spacer>
  356. </item>
  357. </layout>
  358. </widget>
  359. <layoutdefault spacing="6" margin="11"/>
  360. <resources>
  361. <include location="../Epimafia/rc.qrc"/>
  362. </resources>
  363. <connections/>
  364. </ui>