Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

widget.ui 8.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  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>317</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. }</string>
  47. </property>
  48. <layout class="QVBoxLayout" name="verticalLayout">
  49. <item>
  50. <layout class="QHBoxLayout" name="horizontalLayout">
  51. <item>
  52. <spacer name="horizontalSpacer">
  53. <property name="orientation">
  54. <enum>Qt::Horizontal</enum>
  55. </property>
  56. <property name="sizeHint" stdset="0">
  57. <size>
  58. <width>40</width>
  59. <height>20</height>
  60. </size>
  61. </property>
  62. </spacer>
  63. </item>
  64. <item>
  65. <widget class="QLabel" name="label_7">
  66. <property name="sizePolicy">
  67. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  68. <horstretch>0</horstretch>
  69. <verstretch>0</verstretch>
  70. </sizepolicy>
  71. </property>
  72. <property name="minimumSize">
  73. <size>
  74. <width>150</width>
  75. <height>75</height>
  76. </size>
  77. </property>
  78. <property name="maximumSize">
  79. <size>
  80. <width>150</width>
  81. <height>75</height>
  82. </size>
  83. </property>
  84. <property name="text">
  85. <string/>
  86. </property>
  87. <property name="pixmap">
  88. <pixmap resource="../Epimafia/rc.qrc">:/epimafia/epimafia.jpg</pixmap>
  89. </property>
  90. <property name="scaledContents">
  91. <bool>true</bool>
  92. </property>
  93. </widget>
  94. </item>
  95. <item>
  96. <spacer name="horizontalSpacer_2">
  97. <property name="orientation">
  98. <enum>Qt::Horizontal</enum>
  99. </property>
  100. <property name="sizeHint" stdset="0">
  101. <size>
  102. <width>40</width>
  103. <height>20</height>
  104. </size>
  105. </property>
  106. </spacer>
  107. </item>
  108. </layout>
  109. </item>
  110. <item>
  111. <layout class="QHBoxLayout" name="horizontalLayout_2">
  112. <item>
  113. <spacer name="horizontalSpacer_3">
  114. <property name="orientation">
  115. <enum>Qt::Horizontal</enum>
  116. </property>
  117. <property name="sizeHint" stdset="0">
  118. <size>
  119. <width>40</width>
  120. <height>20</height>
  121. </size>
  122. </property>
  123. </spacer>
  124. </item>
  125. <item>
  126. <widget class="QComboBox" name="comboLogin">
  127. <property name="minimumSize">
  128. <size>
  129. <width>100</width>
  130. <height>20</height>
  131. </size>
  132. </property>
  133. <property name="styleSheet">
  134. <string notr="true">QWidget
  135. {
  136. border: 1px solid white;
  137. border-radius: 1px;
  138. }
  139. QFrame, QToolTip
  140. {
  141. color: white;
  142. }</string>
  143. </property>
  144. </widget>
  145. </item>
  146. <item>
  147. <spacer name="horizontalSpacer_4">
  148. <property name="orientation">
  149. <enum>Qt::Horizontal</enum>
  150. </property>
  151. <property name="sizeHint" stdset="0">
  152. <size>
  153. <width>40</width>
  154. <height>20</height>
  155. </size>
  156. </property>
  157. </spacer>
  158. </item>
  159. </layout>
  160. </item>
  161. <item>
  162. <layout class="QHBoxLayout" name="horizontalLayout_3">
  163. <item>
  164. <spacer name="horizontalSpacer_5">
  165. <property name="orientation">
  166. <enum>Qt::Horizontal</enum>
  167. </property>
  168. <property name="sizeHint" stdset="0">
  169. <size>
  170. <width>40</width>
  171. <height>20</height>
  172. </size>
  173. </property>
  174. </spacer>
  175. </item>
  176. <item>
  177. <widget class="QPushButton" name="btnRemove">
  178. <property name="enabled">
  179. <bool>false</bool>
  180. </property>
  181. <property name="minimumSize">
  182. <size>
  183. <width>20</width>
  184. <height>20</height>
  185. </size>
  186. </property>
  187. <property name="toolTip">
  188. <string>Remove user</string>
  189. </property>
  190. <property name="text">
  191. <string>-</string>
  192. </property>
  193. </widget>
  194. </item>
  195. <item>
  196. <widget class="QPushButton" name="btnAdd">
  197. <property name="minimumSize">
  198. <size>
  199. <width>20</width>
  200. <height>20</height>
  201. </size>
  202. </property>
  203. <property name="toolTip">
  204. <string>Add user</string>
  205. </property>
  206. <property name="text">
  207. <string>+</string>
  208. </property>
  209. </widget>
  210. </item>
  211. <item>
  212. <spacer name="horizontalSpacer_6">
  213. <property name="orientation">
  214. <enum>Qt::Horizontal</enum>
  215. </property>
  216. <property name="sizeHint" stdset="0">
  217. <size>
  218. <width>40</width>
  219. <height>20</height>
  220. </size>
  221. </property>
  222. </spacer>
  223. </item>
  224. </layout>
  225. </item>
  226. <item>
  227. <layout class="QFormLayout" name="formLayout">
  228. <property name="fieldGrowthPolicy">
  229. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  230. </property>
  231. <item row="0" column="0">
  232. <widget class="QLabel" name="label_2">
  233. <property name="text">
  234. <string>Login:</string>
  235. </property>
  236. </widget>
  237. </item>
  238. <item row="0" column="1">
  239. <widget class="QLineEdit" name="lineLogin">
  240. <property name="text">
  241. <string/>
  242. </property>
  243. </widget>
  244. </item>
  245. <item row="1" column="0">
  246. <widget class="QLabel" name="label_3">
  247. <property name="text">
  248. <string>Password:</string>
  249. </property>
  250. </widget>
  251. </item>
  252. <item row="1" column="1">
  253. <widget class="QLineEdit" name="linePass">
  254. <property name="echoMode">
  255. <enum>QLineEdit::Password</enum>
  256. </property>
  257. </widget>
  258. </item>
  259. <item row="2" column="0">
  260. <widget class="QLabel" name="label_4">
  261. <property name="text">
  262. <string>Password Num:</string>
  263. </property>
  264. </widget>
  265. </item>
  266. <item row="2" column="1">
  267. <widget class="QLineEdit" name="linePwdNum">
  268. <property name="echoMode">
  269. <enum>QLineEdit::Password</enum>
  270. </property>
  271. </widget>
  272. </item>
  273. <item row="3" column="0">
  274. <widget class="QLabel" name="label_5">
  275. <property name="text">
  276. <string>Password PPP:</string>
  277. </property>
  278. </widget>
  279. </item>
  280. <item row="3" column="1">
  281. <widget class="QLineEdit" name="linePwdPPP">
  282. <property name="echoMode">
  283. <enum>QLineEdit::Password</enum>
  284. </property>
  285. </widget>
  286. </item>
  287. <item row="4" column="0">
  288. <widget class="QLabel" name="label_6">
  289. <property name="text">
  290. <string>Password Socks:</string>
  291. </property>
  292. </widget>
  293. </item>
  294. <item row="4" column="1">
  295. <widget class="QLineEdit" name="linePwdSocks">
  296. <property name="echoMode">
  297. <enum>QLineEdit::Password</enum>
  298. </property>
  299. </widget>
  300. </item>
  301. <item row="5" column="1">
  302. <layout class="QHBoxLayout" name="horizontalLayout_4">
  303. <item>
  304. <spacer name="horizontalSpacer_7">
  305. <property name="orientation">
  306. <enum>Qt::Horizontal</enum>
  307. </property>
  308. <property name="sizeHint" stdset="0">
  309. <size>
  310. <width>40</width>
  311. <height>20</height>
  312. </size>
  313. </property>
  314. </spacer>
  315. </item>
  316. <item>
  317. <widget class="QPushButton" name="btnSave">
  318. <property name="sizePolicy">
  319. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  320. <horstretch>0</horstretch>
  321. <verstretch>0</verstretch>
  322. </sizepolicy>
  323. </property>
  324. <property name="minimumSize">
  325. <size>
  326. <width>50</width>
  327. <height>20</height>
  328. </size>
  329. </property>
  330. <property name="text">
  331. <string>Save</string>
  332. </property>
  333. </widget>
  334. </item>
  335. </layout>
  336. </item>
  337. </layout>
  338. </item>
  339. <item>
  340. <spacer name="verticalSpacer">
  341. <property name="orientation">
  342. <enum>Qt::Vertical</enum>
  343. </property>
  344. <property name="sizeHint" stdset="0">
  345. <size>
  346. <width>20</width>
  347. <height>40</height>
  348. </size>
  349. </property>
  350. </spacer>
  351. </item>
  352. </layout>
  353. </widget>
  354. <layoutdefault spacing="6" margin="11"/>
  355. <resources>
  356. <include location="../Epimafia/rc.qrc"/>
  357. </resources>
  358. <connections/>
  359. </ui>