settingswidget.ui 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>SettingsWidget</class>
  4. <widget class="QWidget" name="SettingsWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>825</width>
  10. <height>495</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true">color: white;</string>
  18. </property>
  19. <layout class="QGridLayout" name="gridLayout">
  20. <property name="leftMargin">
  21. <number>0</number>
  22. </property>
  23. <property name="topMargin">
  24. <number>0</number>
  25. </property>
  26. <property name="rightMargin">
  27. <number>0</number>
  28. </property>
  29. <property name="bottomMargin">
  30. <number>0</number>
  31. </property>
  32. <property name="horizontalSpacing">
  33. <number>0</number>
  34. </property>
  35. <property name="verticalSpacing">
  36. <number>10</number>
  37. </property>
  38. <item row="3" column="1">
  39. <widget class="QWidget" name="widget" native="true">
  40. <property name="sizePolicy">
  41. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  42. <horstretch>0</horstretch>
  43. <verstretch>0</verstretch>
  44. </sizepolicy>
  45. </property>
  46. <property name="styleSheet">
  47. <string notr="true">border-radius: 20px;
  48. background-color: rgba(30, 0, 0, 100);</string>
  49. </property>
  50. <layout class="QVBoxLayout" name="verticalLayout">
  51. <property name="spacing">
  52. <number>11</number>
  53. </property>
  54. <item>
  55. <widget class="QLabel" name="main_settings_title">
  56. <property name="sizePolicy">
  57. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  58. <horstretch>0</horstretch>
  59. <verstretch>0</verstretch>
  60. </sizepolicy>
  61. </property>
  62. <property name="styleSheet">
  63. <string notr="true">
  64. background-color: none;</string>
  65. </property>
  66. <property name="text">
  67. <string>Основные</string>
  68. </property>
  69. <property name="alignment">
  70. <set>Qt::AlignCenter</set>
  71. </property>
  72. </widget>
  73. </item>
  74. <item>
  75. <widget class="QCheckBox" name="data_protection_checkbox_common">
  76. <property name="styleSheet">
  77. <string notr="true">
  78. background-color: none;</string>
  79. </property>
  80. <property name="text">
  81. <string>Включить защиту данных русификации при обновлении игры</string>
  82. </property>
  83. </widget>
  84. </item>
  85. <item>
  86. <widget class="QCheckBox" name="restore_checkbox_common">
  87. <property name="styleSheet">
  88. <string notr="true">
  89. background-color: none;</string>
  90. </property>
  91. <property name="text">
  92. <string>Включить авто-восстановление из резервной копии в случае поломки</string>
  93. </property>
  94. </widget>
  95. </item>
  96. <item>
  97. <widget class="QCheckBox" name="download_updates_checkbox_common">
  98. <property name="styleSheet">
  99. <string notr="true">
  100. background-color: none;</string>
  101. </property>
  102. <property name="text">
  103. <string>Включить авто-скачивание обновлений русификации</string>
  104. </property>
  105. </widget>
  106. </item>
  107. <item>
  108. <widget class="QWidget" name="widget_3" native="true">
  109. <property name="sizePolicy">
  110. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  111. <horstretch>0</horstretch>
  112. <verstretch>0</verstretch>
  113. </sizepolicy>
  114. </property>
  115. <property name="minimumSize">
  116. <size>
  117. <width>0</width>
  118. <height>33</height>
  119. </size>
  120. </property>
  121. <property name="styleSheet">
  122. <string notr="true">
  123. background-color: none;</string>
  124. </property>
  125. <layout class="QHBoxLayout" name="horizontalLayout_2">
  126. <property name="leftMargin">
  127. <number>0</number>
  128. </property>
  129. <property name="topMargin">
  130. <number>0</number>
  131. </property>
  132. <item>
  133. <widget class="QCheckBox" name="restrict_download_speed_checkbox_common">
  134. <property name="sizePolicy">
  135. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  136. <horstretch>0</horstretch>
  137. <verstretch>0</verstretch>
  138. </sizepolicy>
  139. </property>
  140. <property name="styleSheet">
  141. <string notr="true">
  142. background-color: none;</string>
  143. </property>
  144. <property name="text">
  145. <string>Ограничивать скорость скачивания</string>
  146. </property>
  147. </widget>
  148. </item>
  149. <item>
  150. <widget class="QSlider" name="download_restrict_slider">
  151. <property name="sizePolicy">
  152. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  153. <horstretch>0</horstretch>
  154. <verstretch>0</verstretch>
  155. </sizepolicy>
  156. </property>
  157. <property name="minimumSize">
  158. <size>
  159. <width>200</width>
  160. <height>0</height>
  161. </size>
  162. </property>
  163. <property name="styleSheet">
  164. <string notr="true">
  165. background-color: none;</string>
  166. </property>
  167. <property name="minimum">
  168. <number>64</number>
  169. </property>
  170. <property name="maximum">
  171. <number>4096</number>
  172. </property>
  173. <property name="singleStep">
  174. <number>64</number>
  175. </property>
  176. <property name="pageStep">
  177. <number>64</number>
  178. </property>
  179. <property name="value">
  180. <number>64</number>
  181. </property>
  182. <property name="orientation">
  183. <enum>Qt::Horizontal</enum>
  184. </property>
  185. </widget>
  186. </item>
  187. <item>
  188. <widget class="QLabel" name="download_speed_label_common">
  189. <property name="sizePolicy">
  190. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  191. <horstretch>0</horstretch>
  192. <verstretch>0</verstretch>
  193. </sizepolicy>
  194. </property>
  195. <property name="styleSheet">
  196. <string notr="true">
  197. background-color: none;</string>
  198. </property>
  199. <property name="text">
  200. <string>64 Кб/с</string>
  201. </property>
  202. </widget>
  203. </item>
  204. </layout>
  205. </widget>
  206. </item>
  207. </layout>
  208. </widget>
  209. </item>
  210. <item row="2" column="1">
  211. <widget class="QWidget" name="widget_6" native="true">
  212. <property name="sizePolicy">
  213. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  214. <horstretch>0</horstretch>
  215. <verstretch>0</verstretch>
  216. </sizepolicy>
  217. </property>
  218. <property name="styleSheet">
  219. <string notr="true">border-radius: 20px;
  220. background-color: rgba(30, 0, 0, 100);</string>
  221. </property>
  222. <layout class="QVBoxLayout" name="verticalLayout_3">
  223. <property name="spacing">
  224. <number>11</number>
  225. </property>
  226. <item>
  227. <widget class="QLabel" name="management_title">
  228. <property name="sizePolicy">
  229. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  230. <horstretch>0</horstretch>
  231. <verstretch>0</verstretch>
  232. </sizepolicy>
  233. </property>
  234. <property name="styleSheet">
  235. <string notr="true">
  236. background-color: none;</string>
  237. </property>
  238. <property name="text">
  239. <string>Управление</string>
  240. </property>
  241. <property name="alignment">
  242. <set>Qt::AlignCenter</set>
  243. </property>
  244. </widget>
  245. </item>
  246. <item>
  247. <widget class="QPushButton" name="patch_all_button">
  248. <property name="styleSheet">
  249. <string notr="true">QPushButton {
  250. color: black;
  251. border: 2px solid #8f8f91;
  252. border-radius: 6px;
  253. background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
  254. stop: 0 #f6f7fa, stop: 1 #dadbde);
  255. min-width: 80px;
  256. }
  257. QPushButton: pressed {
  258. background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
  259. stop: 0 #dadbde, stop: 1 #f6f7fa);
  260. }
  261. QPushButton:flat {
  262. border: none; /* no border for a flat push button */
  263. }
  264. QPushButton:default {
  265. border-color: navy; /* make the default button prominent */
  266. }</string>
  267. </property>
  268. <property name="text">
  269. <string>Установить все патчи заново</string>
  270. </property>
  271. </widget>
  272. </item>
  273. <item>
  274. <widget class="QPushButton" name="restore_button">
  275. <property name="autoFillBackground">
  276. <bool>false</bool>
  277. </property>
  278. <property name="styleSheet">
  279. <string notr="true">QPushButton {
  280. color: black;
  281. border: 2px solid #8f8f91;
  282. border-radius: 6px;
  283. background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
  284. stop: 0 #f6f7fa, stop: 1 #dadbde);
  285. min-width: 80px;
  286. }
  287. QPushButton: pressed {
  288. background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
  289. stop: 0 #dadbde, stop: 1 #f6f7fa);
  290. }
  291. QPushButton:flat {
  292. border: none; /* no border for a flat push button */
  293. }
  294. QPushButton:default {
  295. border-color: navy; /* make the default button prominent */
  296. }</string>
  297. </property>
  298. <property name="text">
  299. <string>Восстановить данные из резервной копии</string>
  300. </property>
  301. </widget>
  302. </item>
  303. </layout>
  304. </widget>
  305. </item>
  306. <item row="4" column="1">
  307. <widget class="QWidget" name="widget_2" native="true">
  308. <property name="sizePolicy">
  309. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  310. <horstretch>0</horstretch>
  311. <verstretch>0</verstretch>
  312. </sizepolicy>
  313. </property>
  314. <property name="styleSheet">
  315. <string notr="true">border-radius: 20px;
  316. background-color: rgba(30, 0, 0, 100);</string>
  317. </property>
  318. <layout class="QVBoxLayout" name="verticalLayout_2">
  319. <property name="spacing">
  320. <number>11</number>
  321. </property>
  322. <item>
  323. <widget class="QLabel" name="interface_label_title">
  324. <property name="styleSheet">
  325. <string notr="true">
  326. background-color: none;</string>
  327. </property>
  328. <property name="text">
  329. <string>Внешний вид:</string>
  330. </property>
  331. <property name="alignment">
  332. <set>Qt::AlignCenter</set>
  333. </property>
  334. </widget>
  335. </item>
  336. <item>
  337. <widget class="QWidget" name="widget_4" native="true">
  338. <property name="styleSheet">
  339. <string notr="true">
  340. background-color: none;</string>
  341. </property>
  342. <layout class="QHBoxLayout" name="horizontalLayout_3">
  343. <item>
  344. <widget class="QLabel" name="interface_scale_common">
  345. <property name="sizePolicy">
  346. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  347. <horstretch>0</horstretch>
  348. <verstretch>0</verstretch>
  349. </sizepolicy>
  350. </property>
  351. <property name="text">
  352. <string>Масштаб интерфейса:</string>
  353. </property>
  354. </widget>
  355. </item>
  356. <item>
  357. <widget class="QSlider" name="interface_scale_slider">
  358. <property name="sizePolicy">
  359. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  360. <horstretch>0</horstretch>
  361. <verstretch>0</verstretch>
  362. </sizepolicy>
  363. </property>
  364. <property name="minimumSize">
  365. <size>
  366. <width>200</width>
  367. <height>0</height>
  368. </size>
  369. </property>
  370. <property name="minimum">
  371. <number>75</number>
  372. </property>
  373. <property name="maximum">
  374. <number>150</number>
  375. </property>
  376. <property name="value">
  377. <number>100</number>
  378. </property>
  379. <property name="tracking">
  380. <bool>true</bool>
  381. </property>
  382. <property name="orientation">
  383. <enum>Qt::Horizontal</enum>
  384. </property>
  385. <property name="invertedControls">
  386. <bool>false</bool>
  387. </property>
  388. <property name="tickPosition">
  389. <enum>QSlider::NoTicks</enum>
  390. </property>
  391. </widget>
  392. </item>
  393. <item>
  394. <widget class="QLabel" name="interface_scale_value_common">
  395. <property name="text">
  396. <string>100%</string>
  397. </property>
  398. </widget>
  399. </item>
  400. </layout>
  401. </widget>
  402. </item>
  403. <item>
  404. <widget class="QWidget" name="widget_5" native="true">
  405. <property name="styleSheet">
  406. <string notr="true">
  407. background-color: none;</string>
  408. </property>
  409. <layout class="QHBoxLayout" name="horizontalLayout_4">
  410. <item>
  411. <widget class="QLabel" name="fonts_scale_common">
  412. <property name="sizePolicy">
  413. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  414. <horstretch>0</horstretch>
  415. <verstretch>0</verstretch>
  416. </sizepolicy>
  417. </property>
  418. <property name="text">
  419. <string>Размер шрифтов:</string>
  420. </property>
  421. </widget>
  422. </item>
  423. <item>
  424. <widget class="QSlider" name="fonts_scale_slider">
  425. <property name="sizePolicy">
  426. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  427. <horstretch>0</horstretch>
  428. <verstretch>0</verstretch>
  429. </sizepolicy>
  430. </property>
  431. <property name="minimumSize">
  432. <size>
  433. <width>200</width>
  434. <height>0</height>
  435. </size>
  436. </property>
  437. <property name="minimum">
  438. <number>75</number>
  439. </property>
  440. <property name="maximum">
  441. <number>150</number>
  442. </property>
  443. <property name="value">
  444. <number>100</number>
  445. </property>
  446. <property name="orientation">
  447. <enum>Qt::Horizontal</enum>
  448. </property>
  449. </widget>
  450. </item>
  451. <item>
  452. <widget class="QLabel" name="fonts_scale_value_common">
  453. <property name="text">
  454. <string>100%</string>
  455. </property>
  456. </widget>
  457. </item>
  458. </layout>
  459. </widget>
  460. </item>
  461. </layout>
  462. </widget>
  463. </item>
  464. <item row="1" column="1">
  465. <widget class="QWidget" name="game_folder_widget" native="true">
  466. <property name="sizePolicy">
  467. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  468. <horstretch>0</horstretch>
  469. <verstretch>0</verstretch>
  470. </sizepolicy>
  471. </property>
  472. <property name="styleSheet">
  473. <string notr="true">border-radius: 20px;
  474. background-color: rgba(30, 0, 0, 100);</string>
  475. </property>
  476. <layout class="QHBoxLayout" name="horizontalLayout">
  477. <item>
  478. <widget class="QLabel" name="folder_label_title">
  479. <property name="styleSheet">
  480. <string notr="true">
  481. background-color: none;</string>
  482. </property>
  483. <property name="text">
  484. <string>Папка с данными игры:</string>
  485. </property>
  486. </widget>
  487. </item>
  488. <item>
  489. <widget class="QLabel" name="folder_value_common">
  490. <property name="sizePolicy">
  491. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  492. <horstretch>0</horstretch>
  493. <verstretch>0</verstretch>
  494. </sizepolicy>
  495. </property>
  496. <property name="styleSheet">
  497. <string notr="true">
  498. background-color: none;</string>
  499. </property>
  500. <property name="text">
  501. <string>D:\Programming\SourceRepos\Legacy_v2</string>
  502. </property>
  503. </widget>
  504. </item>
  505. <item>
  506. <widget class="QPushButton" name="change_folder_button">
  507. <property name="sizePolicy">
  508. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  509. <horstretch>0</horstretch>
  510. <verstretch>0</verstretch>
  511. </sizepolicy>
  512. </property>
  513. <property name="minimumSize">
  514. <size>
  515. <width>36</width>
  516. <height>32</height>
  517. </size>
  518. </property>
  519. <property name="styleSheet">
  520. <string notr="true">border-image: url(:/assets/folder.png);
  521. background-color: none;</string>
  522. </property>
  523. <property name="text">
  524. <string/>
  525. </property>
  526. </widget>
  527. </item>
  528. </layout>
  529. </widget>
  530. </item>
  531. <item row="1" column="0" rowspan="4">
  532. <spacer name="horizontalSpacer">
  533. <property name="orientation">
  534. <enum>Qt::Horizontal</enum>
  535. </property>
  536. <property name="sizeType">
  537. <enum>QSizePolicy::Preferred</enum>
  538. </property>
  539. <property name="sizeHint" stdset="0">
  540. <size>
  541. <width>100</width>
  542. <height>436</height>
  543. </size>
  544. </property>
  545. </spacer>
  546. </item>
  547. <item row="1" column="2" rowspan="4">
  548. <spacer name="horizontalSpacer_2">
  549. <property name="orientation">
  550. <enum>Qt::Horizontal</enum>
  551. </property>
  552. <property name="sizeType">
  553. <enum>QSizePolicy::Preferred</enum>
  554. </property>
  555. <property name="sizeHint" stdset="0">
  556. <size>
  557. <width>100</width>
  558. <height>436</height>
  559. </size>
  560. </property>
  561. </spacer>
  562. </item>
  563. </layout>
  564. </widget>
  565. <resources/>
  566. <connections/>
  567. </ui>