launcher/src/resources/mainwindow.ui

1706 lines
56 KiB
Plaintext
Raw Normal View History

2024-12-28 21:09:14 +03:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2025-01-11 03:26:59 +03:00
<width>1009</width>
<height>631</height>
2024-12-28 21:09:14 +03:00
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="windowTitle">
<string>PunkLauncher</string>
</property>
<property name="styleSheet">
<string notr="true">QFrame#border_top, QFrame#border_bottom, QFrame#border_left, QFrame#border_right {
2025-01-11 03:26:59 +03:00
/*background-color: rgb(217, 78, 108);*/
background-color: rgba(255, 255, 255, 0.14);
2024-12-28 21:09:14 +03:00
border: none;
}
QWidget {
background-color: rgb(36, 38, 41);
}
QLabel {
color: rgb(255, 255, 255);
}
QPushButton {
color: rgb(255, 255, 255);
}
QCheckBox {
color: rgb(255, 255, 255);
}
QLineEdit {
color: rgb(255, 255, 255);
}
QLineEdit::placeholder {
color: rgba(255, 255, 255, 0.5);
}</string>
</property>
<widget class="QWidget" name="centralwidget">
<property name="styleSheet">
<string notr="true"/>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<property name="spacing">
<number>0</number>
</property>
<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>
<item>
<widget class="QFrame" name="border_top">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>18</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="cursor">
<cursorShape>ArrowCursor</cursorShape>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QFrame" name="border_right">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>3</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
</item>
<item>
<widget class="QStackedWidget" name="StackedWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>1001</width>
<height>601</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QStackedWidget {
border: 0px solid rgba(255, 255, 255, 0.1);
}</string>
</property>
<property name="currentIndex">
2025-01-11 03:26:59 +03:00
<number>2</number>
2024-12-28 21:09:14 +03:00
</property>
2025-01-11 03:26:59 +03:00
<widget class="QWidget" name="load"/>
2024-12-28 21:09:14 +03:00
<widget class="QWidget" name="auth">
<property name="styleSheet">
<string notr="true">QWidget#auth {
background-image: url(:/auth/logo.png);
background-repeat: no-repeat;
background-position: center;
margin-top: -80px;
}</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
<property name="spacing">
<number>0</number>
</property>
<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>
2025-01-11 03:26:59 +03:00
<item>
<widget class="QLabel" name="auth_status_label">
<property name="font">
<font>
<pointsize>11</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">margin-top: 10px;</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
2024-12-28 21:09:14 +03:00
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="font">
<font>
<pointsize>16</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="toolTipDuration">
<number>6</number>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(255, 255, 255, 0);</string>
</property>
<property name="text">
<string>Авторизация</string>
</property>
<property name="alignment">
<set>Qt::AlignBottom|Qt::AlignHCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QFrame" name="verticalFrame">
<property name="styleSheet">
<string notr="true">QFrame {
border: 0px solid rgba(255, 255, 255, 0.5);
background-color: rgba(255, 255, 255, 0);
border-radius: 10px;
}
QFrame &gt; QFrame {
border: none; /* Убираем бордер у дочерних фреймов */
border-radius: 0; /* Убираем закругление у дочерних фреймов */
}
QLineEdit {
padding-left: 10px; /* Отступ слева для вводимого текста */
border: 1px solid #ccc; /* Граница */
border-radius: 5px; /* Закругленные углы */
}
QLineEdit::placeholder {
color: gray; /* Цвет placeholder */
padding-left: 10px; /* Отступ слева для placeholder */
}</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout" stretch="0,0,0,0">
<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>20</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,0,0">
<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>
<item>
<widget class="QFrame" name="frame">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>280</width>
<height>125</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>280</width>
<height>125</height>
</size>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="1,1,4">
<property name="spacing">
<number>6</number>
</property>
<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>
<item>
2025-01-11 03:26:59 +03:00
<widget class="QLineEdit" name="auth_login_line">
2024-12-28 21:09:14 +03:00
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>35</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>35</height>
</size>
</property>
<property name="font">
<font>
<family>Sans Serif</family>
<pointsize>10</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="placeholderText">
<string>Логин</string>
</property>
</widget>
</item>
<item>
2025-01-11 03:26:59 +03:00
<widget class="QLineEdit" name="auth_pass_line">
2024-12-28 21:09:14 +03:00
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>35</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>35</height>
</size>
</property>
<property name="font">
<font>
<family>Serif</family>
<pointsize>10</pointsize>
</font>
</property>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
<property name="placeholderText">
<string>Пароль</string>
</property>
</widget>
</item>
<item>
2025-01-11 03:26:59 +03:00
<widget class="QPushButton" name="auth_login_btn">
2024-12-28 21:09:14 +03:00
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>40</height>
</size>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Войти</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_4">
<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>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
2025-01-11 03:26:59 +03:00
<widget class="QCheckBox" name="auth_save_session_check_btn">
2024-12-28 21:09:14 +03:00
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="text">
<string>Не выходить с аккаунта</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<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>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
2025-01-11 03:26:59 +03:00
<widget class="QLabel" name="auth_reg_label">
2024-12-28 21:09:14 +03:00
<property name="maximumSize">
<size>
<width>16777215</width>
<height>20</height>
</size>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://root-kit.ru&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#e9e7ff;&quot;&gt;Регистрация&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_6">
<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>
</item>
</layout>
</widget>
<widget class="QWidget" name="main">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<property name="spacing">
<number>0</number>
</property>
<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>
<item>
2025-01-11 03:26:59 +03:00
<widget class="QStackedWidget" name="main_stackedWidget">
2024-12-28 21:09:14 +03:00
<property name="styleSheet">
2025-01-11 03:26:59 +03:00
<string notr="true">QWidget#CyberExtrieme {
2024-12-28 21:09:14 +03:00
border-image: url(:/main/banner.jpg) 0 0 0 0 stretch stretch;
}</string>
</property>
2025-01-11 03:26:59 +03:00
<widget class="QWidget" name="CyberExtrieme">
<layout class="QVBoxLayout" name="verticalLayout_10">
<property name="spacing">
<number>6</number>
</property>
<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>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_9">
<item>
<spacer name="horizontalSpacer_13">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QComboBox" name="selected_profile">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>351</width>
<height>45</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>351</width>
<height>45</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QComboBox {
color: rgba(255, 255, 255,0.9);
background-color: rgb(31, 35, 40);
border: 2px solid rgb(66, 68, 70);
border-top: 0px solid rgba(255, 255, 255, 0.5);
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
/*
QComboBox не имеет автовыравнивания
в коде автовыравнивание реализовано через изменение этого параметра
к слоту currentIndexChanged подключена функция реализующая это:
MainWindow::on_selected_profile_currentIndexChanged
Есть реализация этого с кастомным QComboBox, но она не сохраняет font
и styleSheet виджета, поэтому пользуемся :)
Здесь padding-left как затычка чтобы в глаза не бросалось
*/
padding-left: 100px;
}
QFrame {
border-bottom-right-radius: 5px;
}
QComboBox::drop-down {
width: 15px;
background-color: rgba(255,255,255,0.02);
image: url(:/main/selected_profile.png);
border-left: 2px solid rgba(255, 255, 255, 0.01);
border-bottom: 2px solid rgba(255, 255, 255, 0.014);
border-right: 2px solid rgba(0, 0, 0, 0.01);
border-top: 2px solid rgba(255, 255, 255, 0.01);
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
border-top-right-radius: 4px;
border-bottom-right-radius: 5px;
}
QComboBox:hover {
2025-01-12 20:09:12 +03:00
color: rgba(255, 255, 255,0.65);
2025-01-11 03:26:59 +03:00
border: 2px solid rgb(86, 88, 90);
border-top: 0px solid rgba(255, 255, 255, 0.68);
}</string>
</property>
<property name="insertPolicy">
<enum>QComboBox::InsertAtBottom</enum>
</property>
<property name="placeholderText">
<string/>
</property>
<item>
<property name="text">
<string>CyberExtrieme</string>
</property>
</item>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_14">
<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>
</item>
<item>
<spacer name="verticalSpacer_7">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>473</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="ComingSoon"/>
2024-12-28 21:09:14 +03:00
</widget>
</item>
<item>
<widget class="QFrame" name="frame_settings_btn">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>72</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>72</height>
</size>
</property>
2025-01-11 03:26:59 +03:00
<property name="styleSheet">
<string notr="true">QFrame#frame_settings_btn {
border-top: 2px solid rgb(66, 68, 70);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}</string>
</property>
2024-12-28 21:09:14 +03:00
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
2025-01-11 03:26:59 +03:00
<number>24</number>
2024-12-28 21:09:14 +03:00
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>15</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
2025-01-11 03:26:59 +03:00
<widget class="QLabel" name="main_nickname_label">
2024-12-28 21:09:14 +03:00
<property name="font">
<font>
2025-01-11 03:26:59 +03:00
<pointsize>14</pointsize>
2024-12-28 21:09:14 +03:00
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
2025-01-11 03:26:59 +03:00
<string notr="true">QLabel {
color: rgba(255,255,255,0.96);
}
QLabel:hover {
color: rgba(255,255,255,0.8);
}
QLabel:pressed {
color: rgba(255,255,255,0.96);
}</string>
2024-12-28 21:09:14 +03:00
</property>
<property name="text">
2025-01-11 03:26:59 +03:00
<string>UNAUTHORIZED</string>
2024-12-28 21:09:14 +03:00
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
2025-01-11 03:26:59 +03:00
<item>
<layout class="QVBoxLayout" name="verticalLayout_11" stretch="0,0,0">
<property name="spacing">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<item>
<spacer name="verticalSpacer_9">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>50</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="logout_btn">
<property name="minimumSize">
<size>
<width>35</width>
<height>35</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>35</width>
<height>35</height>
</size>
</property>
<property name="font">
<font>
<pointsize>13</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
border:none;
color: rgba(255,255,255,0.85);
}
QPushButton:hover {
color: rgba(255,255,255,0.55);
}
QPushButton:pressed {
color: rgba(255,255,255,0.3);
}</string>
</property>
<property name="text">
<string>|←</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_10">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
2024-12-28 21:09:14 +03:00
<item>
<layout class="QVBoxLayout" name="verticalLayout_7" stretch="0,0,0">
<property name="spacing">
<number>0</number>
</property>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>50</height>
</size>
</property>
</spacer>
</item>
<item>
2025-01-11 03:26:59 +03:00
<widget class="QPushButton" name="settings_btn">
2024-12-28 21:09:14 +03:00
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
background: none;
border: none;
background-image: url(:/main/settings_32x32.png);
background-repeat: no-repeat;
background-position: center;
}
QPushButton:hover {
background-image: url(:/main/settings_hover_32x32.png);
}
QPushButton:pressed {
background-image: url(:/main/settings_pressed_32x32.png);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="iconSize">
<size>
<width>10</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_8">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>4</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
2025-01-11 03:26:59 +03:00
<widget class="QPushButton" name="start_btn">
2024-12-28 21:09:14 +03:00
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>150</width>
<height>50</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
2025-01-11 03:26:59 +03:00
<property name="styleSheet">
<string notr="true">QPushButton {
color: rgba(255,255,255,0.96);
}
QPushButton:hover {
color: rgba(255,255,255,0.8);
}
QPushButton:pressed {
color: rgba(255,255,255,0.96);
}</string>
</property>
2024-12-28 21:09:14 +03:00
<property name="text">
<string>Играть</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="settings">
2025-01-11 03:26:59 +03:00
<layout class="QVBoxLayout" name="verticalLayout_8">
<property name="spacing">
<number>4</number>
2024-12-28 21:09:14 +03:00
</property>
2025-01-11 03:26:59 +03:00
<property name="leftMargin">
<number>0</number>
2024-12-28 21:09:14 +03:00
</property>
2025-01-11 03:26:59 +03:00
<property name="topMargin">
<number>7</number>
2024-12-28 21:09:14 +03:00
</property>
2025-01-11 03:26:59 +03:00
<property name="rightMargin">
<number>0</number>
2024-12-28 21:09:14 +03:00
</property>
2025-01-11 03:26:59 +03:00
<property name="bottomMargin">
<number>0</number>
2024-12-28 21:09:14 +03:00
</property>
2025-01-11 03:26:59 +03:00
<item>
<spacer name="verticalSpacer_6">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<property name="spacing">
<number>0</number>
</property>
<item>
<spacer name="horizontalSpacer_10">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_9">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>310</width>
<height>35</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>310</width>
<height>35</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(242, 185, 70);
background-color: rgb(48, 50, 54);
padding-left: 5px;
padding-right: 5px;
border: 1px solid rgba(255, 255, 255, 0.5);
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;</string>
</property>
<property name="text">
<string>Garbarge collector method</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="settings_garbarge_collector">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>310</width>
<height>27</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>310</width>
<height>16777215</height>
</size>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);
background-color: rgb(24, 27, 31);
border: none;
border: 1px solid rgba(255, 255, 255, 0.5);
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;</string>
</property>
<property name="insertPolicy">
<enum>QComboBox::InsertAtBottom</enum>
</property>
<item>
<property name="text">
<string>CMS (Concurrent Mark-Sweep)</string>
</property>
</item>
<item>
<property name="text">
<string>G1GC (Garbage First Garbage Collector)</string>
</property>
</item>
<item>
<property name="text">
<string>Azul's Continuously Concurrent Compacting Collector (C4)</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_11">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>10</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer_5">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>4</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6" stretch="0,0,0,0,0">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>11</number>
</property>
<property name="rightMargin">
<number>11</number>
</property>
<item>
<widget class="QLabel" name="label_4">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>42</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>130</width>
<height>42</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(242, 185, 70);
background-color: rgb(48, 50, 54);
padding-left: 5px;
padding-right: 5px;
border: 1px solid rgba(255, 255, 255, 0.5);
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;</string>
</property>
<property name="text">
<string>Java path</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="settings_java_path">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>42</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>42</height>
</size>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(24, 27, 31);
/* padding */
padding-left: 14px;
/* Border */
border: 1px solid rgba(255, 255, 255, 0.5);
border-left: 0px solid rgba(255, 255, 255, 0.5);
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="placeholderText">
<string>default</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_9">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>5</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>42</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>230</width>
<height>42</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(242, 185, 70);
background-color: rgb(48, 50, 54);
padding-left: 5px;
padding-right: 5px;
border: 1px solid rgba(255, 255, 255, 0.5);
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;</string>
</property>
<property name="text">
<string>Оперативная память</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="settings_ram">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>42</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>80</width>
<height>42</height>
</size>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(24, 27, 31);
border: 1px solid rgba(255, 255, 255, 0.5);
border-left: 0px solid rgba(255, 255, 255, 0.5);
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="placeholderText">
<string>4096M</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer_8">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>8</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QFrame" name="frame_settings_choise">
<property name="styleSheet">
<string notr="true">QFrame {
background-color: rgb(48, 50, 54);
border-top: 2px solid rgb(66, 68, 70);
padding-bottom: 8px;
padding-top: 10px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<property name="leftMargin">
<number>7</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>13</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<spacer name="horizontalSpacer_12">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="settings_back_btn">
<property name="minimumSize">
<size>
<width>85</width>
<height>45</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>85</width>
<height>45</height>
</size>
</property>
<property name="font">
<font>
<pointsize>14</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgba(217,78,108,1);</string>
</property>
<property name="text">
<string>❌</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="settings_apply_btn">
<property name="minimumSize">
<size>
<width>85</width>
<height>45</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>85</width>
<height>45</height>
</size>
</property>
<property name="font">
<font>
<pointsize>19</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(96,153,38);
padding-bottom: 2px;
/*
color: rgb(242, 185, 70);
*/</string>
</property>
<property name="text">
<string>✔️</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
2024-12-28 21:09:14 +03:00
</widget>
</widget>
</item>
<item>
<widget class="QFrame" name="border_left">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>3</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QFrame" name="border_bottom">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>3</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<resources>
2025-01-11 03:26:59 +03:00
<include location="resources.qrc"/>
2024-12-28 21:09:14 +03:00
</resources>
<connections/>
</ui>