123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>SettingsWidget</class>
- <widget class="QWidget" name="SettingsWidget">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>825</width>
- <height>495</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Form</string>
- </property>
- <property name="styleSheet">
- <string notr="true">color: white;</string>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <property name="horizontalSpacing">
- <number>0</number>
- </property>
- <property name="verticalSpacing">
- <number>10</number>
- </property>
- <item row="3" column="1">
- <widget class="QWidget" name="widget" native="true">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="styleSheet">
- <string notr="true">border-radius: 20px;
- background-color: rgba(30, 0, 0, 100);</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <property name="spacing">
- <number>11</number>
- </property>
- <item>
- <widget class="QLabel" name="main_settings_title">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color: none;
- font: 18px "Trebuchet MS";</string>
- </property>
- <property name="text">
- <string>Основные</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="data_protection_checkbox_common">
- <property name="styleSheet">
- <string notr="true">
- background-color: none;</string>
- </property>
- <property name="text">
- <string>Включить защиту данных русификации при обновлении игры</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="restore_checkbox_common">
- <property name="styleSheet">
- <string notr="true">
- background-color: none;</string>
- </property>
- <property name="text">
- <string>Включить авто-восстановление из резервной копии в случае поломки</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="download_updates_checkbox_common">
- <property name="styleSheet">
- <string notr="true">
- background-color: none;</string>
- </property>
- <property name="text">
- <string>Включить авто-скачивание обновлений русификации</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="widget_3" native="true">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>33</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">
- background-color: none;</string>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QCheckBox" name="restrict_download_speed_checkbox_common">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="styleSheet">
- <string notr="true">
- background-color: none;</string>
- </property>
- <property name="text">
- <string>Ограничивать скорость скачивания</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSlider" name="download_restrict_slider">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>200</width>
- <height>0</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">
- background-color: none;</string>
- </property>
- <property name="minimum">
- <number>64</number>
- </property>
- <property name="maximum">
- <number>4096</number>
- </property>
- <property name="singleStep">
- <number>64</number>
- </property>
- <property name="pageStep">
- <number>64</number>
- </property>
- <property name="value">
- <number>64</number>
- </property>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="download_speed_label_common">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="styleSheet">
- <string notr="true">
- background-color: none;</string>
- </property>
- <property name="text">
- <string>64 Кб/с</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QWidget" name="widget_6" native="true">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="styleSheet">
- <string notr="true">border-radius: 20px;
- background-color: rgba(30, 0, 0, 100);</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <property name="spacing">
- <number>11</number>
- </property>
- <item>
- <widget class="QLabel" name="management_title">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="styleSheet">
- <string notr="true">
- background-color: none;</string>
- </property>
- <property name="text">
- <string>Управление</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="patch_all_button_common">
- <property name="styleSheet">
- <string notr="true">QPushButton {
- color: black;
- border: 2px solid #8f8f91;
- border-radius: 6px;
- background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
- stop: 0 #f6f7fa, stop: 1 #dadbde);
- min-width: 80px;
- }
-
- QPushButton:pressed {
- background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
- stop: 0 #caccd3, stop: 1 #f6f7fa);
- }
-
- QPushButton:flat {
- border: none; /* no border for a flat push button */
- }
-
- QPushButton:default {
- border-color: navy; /* make the default button prominent */
- }</string>
- </property>
- <property name="text">
- <string>Установить все патчи заново</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="restore_button_common">
- <property name="autoFillBackground">
- <bool>false</bool>
- </property>
- <property name="styleSheet">
- <string notr="true">QPushButton {
- color: black;
- border: 2px solid #8f8f91;
- border-radius: 6px;
- background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
- stop: 0 #f6f7fa, stop: 1 #dadbde);
- min-width: 80px;
- }
-
- QPushButton:pressed {
- background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
- stop: 0 #caccd3, stop: 1 #f6f7fa);
- }
-
- QPushButton:flat {
- border: none; /* no border for a flat push button */
- }
-
- QPushButton:default {
- border-color: navy; /* make the default button prominent */
- }</string>
- </property>
- <property name="text">
- <string>Восстановить данные из резервной копии</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="4" column="1">
- <widget class="QWidget" name="widget_2" native="true">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="styleSheet">
- <string notr="true">border-radius: 20px;
- background-color: rgba(30, 0, 0, 100);</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <property name="spacing">
- <number>11</number>
- </property>
- <item>
- <widget class="QLabel" name="interface_label_title">
- <property name="styleSheet">
- <string notr="true">
- background-color: none;</string>
- </property>
- <property name="text">
- <string>Внешний вид:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="widget_4" native="true">
- <property name="styleSheet">
- <string notr="true">
- background-color: none;</string>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <item>
- <widget class="QLabel" name="interface_scale_common">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Масштаб интерфейса:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="interface_scale_combobox_common">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>60</width>
- <height>0</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">color: black;</string>
- </property>
- <property name="currentIndex">
- <number>2</number>
- </property>
- <item>
- <property name="text">
- <string>50%</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>75%</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>100%</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>125%</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>150%</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>175%</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>200%</string>
- </property>
- </item>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_3">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QWidget" name="game_folder_widget" native="true">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="styleSheet">
- <string notr="true">border-radius: 20px;
- background-color: rgba(30, 0, 0, 100);</string>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <widget class="QLabel" name="folder_label_common">
- <property name="styleSheet">
- <string notr="true">
- background-color: none;</string>
- </property>
- <property name="text">
- <string>Папка с данными игры:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="folder_value_common">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="styleSheet">
- <string notr="true">
- background-color: none;</string>
- </property>
- <property name="text">
- <string>D:\Programming\SourceRepos\Legacy_v2</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="change_folder_button">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>36</width>
- <height>32</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">border-image: url(:/assets/folder.png);
- background-color: none;</string>
- </property>
- <property name="text">
- <string/>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="0" rowspan="4">
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Preferred</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>100</width>
- <height>436</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="1" column="2" rowspan="4">
- <spacer name="horizontalSpacer_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Preferred</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>100</width>
- <height>436</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
- </ui>
|