2024-02-19 22:30:12 +08: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>
|
|
|
|
<width>534</width>
|
|
|
|
<height>226</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Python minecraft launcher V1.1</string>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="centralwidget">
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
<item row="1" column="2" colspan="3">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="text">
|
|
|
|
<string>游戏姓名:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
|
|
|
<cstring>username</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="username">
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QLineEdit {
|
|
|
|
border-top: none;
|
|
|
|
border-left: none;
|
|
|
|
border-right: none;
|
|
|
|
border-bottom: 1px solid black;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QLineEdit:focus {
|
|
|
|
border-bottom: 1px solid #2a70f4;
|
|
|
|
}
|
|
|
|
""")</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>sb001</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1" colspan="4">
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="text">
|
|
|
|
<string><html><head/><body><p><span style=" font-size:18pt; font-weight:600; color:#1c33fe;">Python minecraft launcher V1.1</span></p></body></html></string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1" colspan="2">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<property name="text">
|
|
|
|
<string><html><head/><body><p><span style=" font-size:11pt;">游戏版本:</span></p></body></html></string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
|
|
|
<cstring>game_c</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="game_c">
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QComboBox {
|
|
|
|
background-color: white;
|
|
|
|
color: black;
|
|
|
|
border: 1px solid lightgray;
|
|
|
|
border-radius: 15px;
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox:on {
|
|
|
|
border: 1px solid #63acfb;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox::drop-down {
|
|
|
|
width: 22px;
|
|
|
|
border-left: 1px solid lightgray;
|
|
|
|
border-top-right-radius: 15px;
|
|
|
|
border-bottom-right-radius: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox::drop-down:on {
|
|
|
|
border-left: 1px solid #63acfb;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox::down-arrow {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
image: url(PATH_TO_IMG);
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox::down-arrow:on {
|
|
|
|
image: url(PATH_TO_IMG);
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox QAbstractItemView {
|
|
|
|
color: black;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
background-color: whitesmoke;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox QScrollBar:vertical {
|
|
|
|
width: 2px;
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
QComboBox QScrollBar::handle:vertical {
|
|
|
|
background-color: #b2bdaf;
|
|
|
|
}
|
|
|
|
""")</string>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>1.8.9 Forge</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>1.12.2 Forge</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="3">
|
|
|
|
<widget class="QPushButton" name="pushButton">
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QPushButton {
|
|
|
|
background-color: qlineargradient(x1:0, y1:0.5, x2:1, y2:0.5, stop:0 #47a7ed, stop: 1 #a967b2);
|
|
|
|
color: white;
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: bold;
|
|
|
|
border-radius: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:hover {
|
|
|
|
background-color: qlineargradient(x1:0, y1:0.5, x2:1, y2:0.5, stop:0 #459ee0, stop: 1 #995da1);
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:pressed {
|
|
|
|
background-color: qlineargradient(x1:0, y1:0.5, x2:1, y2:0.5, stop:0 #4093d1, stop: 1 #87538e);
|
|
|
|
}
|
|
|
|
""")</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>开vape</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="4">
|
|
|
|
<widget class="QPushButton" name="settings">
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QPushButton {
|
|
|
|
background-color: qlineargradient(x1:1, y1:0, x2:1, y2:0.3, stop:0 #8a9195, stop:1 black);
|
|
|
|
color: white;
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: bold;
|
|
|
|
border-radius: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:hover {
|
|
|
|
background-color: qlineargradient(x1:1, y1:0, x2:1, y2:0.3, stop:0 #7d8488, stop:1 black);
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:pressed {
|
|
|
|
background-color: qlineargradient(x1:1, y1:0, x2:1, y2:0.3, stop:0 #6a7073, stop:1 black);
|
|
|
|
}
|
|
|
|
""")</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>设置</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
|
<property name="text">
|
|
|
|
<string>最大内存:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="maxmb_t">
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QLineEdit {
|
|
|
|
border-top: none;
|
|
|
|
border-left: none;
|
|
|
|
border-right: none;
|
|
|
|
border-bottom: 1px solid black;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
QLineEdit:focus {
|
|
|
|
border-bottom: 1px solid #2a70f4;
|
|
|
|
}
|
|
|
|
""")</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>1145</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="1">
|
|
|
|
<widget class="QPushButton" name="run_game">
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QPushButton {
|
|
|
|
background-color: #57bd6a;
|
|
|
|
color: #f9ffff;
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: bold;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:pressed {
|
|
|
|
background-color: #4eaa5f;
|
|
|
|
}
|
|
|
|
""")</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>开始游戏</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="3" colspan="2">
|
|
|
|
<widget class="QPushButton" name="pushButton_2">
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QPushButton {
|
|
|
|
background-color: #292929;
|
|
|
|
border-radius: 5px;
|
|
|
|
font-size: 20px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: white;
|
|
|
|
border: 1px solid white;
|
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:pressed {
|
|
|
|
background-color: black;
|
|
|
|
}
|
|
|
|
""")</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>读取配置</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
|
|
</widget>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|