hln-a/hlnaui.py

675 lines
44 KiB
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Form implementation generated from reading ui file './hlna.ui'
#
# Created by: PyQt6 UI code generator 6.5.0
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt6 import QtCore, QtGui, QtWidgets
class Ui_mainWindow(object):
def setupUi(self, mainWindow):
mainWindow.setObjectName("mainWindow")
mainWindow.resize(1541, 1092)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("./../../Yandex.Disk/Изображения/Оформление/hln-a/logo.png"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
mainWindow.setWindowIcon(icon)
self.centralwidget = QtWidgets.QWidget(parent=mainWindow)
self.centralwidget.setObjectName("centralwidget")
self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
self.verticalLayout.setObjectName("verticalLayout")
self.tabGames = QtWidgets.QTabWidget(parent=self.centralwidget)
self.tabGames.setIconSize(QtCore.QSize(24, 24))
self.tabGames.setObjectName("tabGames")
self.tabArk = QtWidgets.QWidget()
self.tabArk.setObjectName("tabArk")
self.gridLayout_2 = QtWidgets.QGridLayout(self.tabArk)
self.gridLayout_2.setObjectName("gridLayout_2")
self.tabServers = QtWidgets.QTabWidget(parent=self.tabArk)
self.tabServers.setEnabled(True)
self.tabServers.setTabletTracking(False)
self.tabServers.setFocusPolicy(QtCore.Qt.FocusPolicy.TabFocus)
self.tabServers.setTabPosition(QtWidgets.QTabWidget.TabPosition.North)
self.tabServers.setTabShape(QtWidgets.QTabWidget.TabShape.Rounded)
self.tabServers.setElideMode(QtCore.Qt.TextElideMode.ElideNone)
self.tabServers.setDocumentMode(False)
self.tabServers.setTabsClosable(True)
self.tabServers.setMovable(True)
self.tabServers.setTabBarAutoHide(False)
self.tabServers.setObjectName("tabServers")
self.tab_5 = QtWidgets.QWidget()
self.tab_5.setObjectName("tab_5")
self.gridLayout = QtWidgets.QGridLayout(self.tab_5)
self.gridLayout.setObjectName("gridLayout")
self.groupBox = QtWidgets.QGroupBox(parent=self.tab_5)
self.groupBox.setMinimumSize(QtCore.QSize(500, 800))
self.groupBox.setMaximumSize(QtCore.QSize(500, 16777215))
self.groupBox.setTitle("")
self.groupBox.setFlat(False)
self.groupBox.setObjectName("groupBox")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.groupBox_settings = QtWidgets.QGroupBox(parent=self.groupBox)
self.groupBox_settings.setMinimumSize(QtCore.QSize(0, 600))
self.groupBox_settings.setMaximumSize(QtCore.QSize(500, 16777215))
self.groupBox_settings.setObjectName("groupBox_settings")
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox_settings)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.checkBox_cluster = QtWidgets.QCheckBox(parent=self.groupBox_settings)
self.checkBox_cluster.setObjectName("checkBox_cluster")
self.verticalLayout_3.addWidget(self.checkBox_cluster)
self.lineEdit_cluster = QtWidgets.QLineEdit(parent=self.groupBox_settings)
self.lineEdit_cluster.setMinimumSize(QtCore.QSize(0, 35))
self.lineEdit_cluster.setMaximumSize(QtCore.QSize(16777215, 35))
self.lineEdit_cluster.setClearButtonEnabled(True)
self.lineEdit_cluster.setObjectName("lineEdit_cluster")
self.verticalLayout_3.addWidget(self.lineEdit_cluster)
self.checkBox_listen = QtWidgets.QCheckBox(parent=self.groupBox_settings)
self.checkBox_listen.setObjectName("checkBox_listen")
self.verticalLayout_3.addWidget(self.checkBox_listen)
self.label_namesession = QtWidgets.QLabel(parent=self.groupBox_settings)
self.label_namesession.setMinimumSize(QtCore.QSize(0, 10))
self.label_namesession.setMaximumSize(QtCore.QSize(16777215, 15))
self.label_namesession.setScaledContents(True)
self.label_namesession.setObjectName("label_namesession")
self.verticalLayout_3.addWidget(self.label_namesession)
self.lineEdit_namesession = QtWidgets.QLineEdit(parent=self.groupBox_settings)
self.lineEdit_namesession.setMinimumSize(QtCore.QSize(0, 35))
self.lineEdit_namesession.setMaximumSize(QtCore.QSize(16777215, 35))
self.lineEdit_namesession.setClearButtonEnabled(True)
self.lineEdit_namesession.setObjectName("lineEdit_namesession")
self.verticalLayout_3.addWidget(self.lineEdit_namesession)
self.line_4 = QtWidgets.QFrame(parent=self.groupBox_settings)
self.line_4.setFrameShape(QtWidgets.QFrame.Shape.HLine)
self.line_4.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.line_4.setObjectName("line_4")
self.verticalLayout_3.addWidget(self.line_4)
self.label_port = QtWidgets.QLabel(parent=self.groupBox_settings)
self.label_port.setMinimumSize(QtCore.QSize(0, 10))
self.label_port.setMaximumSize(QtCore.QSize(16777215, 15))
self.label_port.setScaledContents(True)
self.label_port.setObjectName("label_port")
self.verticalLayout_3.addWidget(self.label_port)
self.lineEdit_port = QtWidgets.QLineEdit(parent=self.groupBox_settings)
self.lineEdit_port.setMinimumSize(QtCore.QSize(0, 35))
self.lineEdit_port.setMaximumSize(QtCore.QSize(16777215, 35))
self.lineEdit_port.setEchoMode(QtWidgets.QLineEdit.EchoMode.Normal)
self.lineEdit_port.setClearButtonEnabled(True)
self.lineEdit_port.setObjectName("lineEdit_port")
self.verticalLayout_3.addWidget(self.lineEdit_port)
self.label_querryport = QtWidgets.QLabel(parent=self.groupBox_settings)
self.label_querryport.setMinimumSize(QtCore.QSize(0, 15))
self.label_querryport.setMaximumSize(QtCore.QSize(16777215, 15))
self.label_querryport.setScaledContents(True)
self.label_querryport.setObjectName("label_querryport")
self.verticalLayout_3.addWidget(self.label_querryport)
self.lineEdit_querryport = QtWidgets.QLineEdit(parent=self.groupBox_settings)
self.lineEdit_querryport.setMinimumSize(QtCore.QSize(0, 35))
self.lineEdit_querryport.setMaximumSize(QtCore.QSize(16777215, 35))
self.lineEdit_querryport.setEchoMode(QtWidgets.QLineEdit.EchoMode.Normal)
self.lineEdit_querryport.setClearButtonEnabled(True)
self.lineEdit_querryport.setObjectName("lineEdit_querryport")
self.verticalLayout_3.addWidget(self.lineEdit_querryport)
self.label_rconport = QtWidgets.QLabel(parent=self.groupBox_settings)
self.label_rconport.setMinimumSize(QtCore.QSize(0, 15))
self.label_rconport.setMaximumSize(QtCore.QSize(16777215, 15))
self.label_rconport.setScaledContents(True)
self.label_rconport.setObjectName("label_rconport")
self.verticalLayout_3.addWidget(self.label_rconport)
self.lineEdit_rconport = QtWidgets.QLineEdit(parent=self.groupBox_settings)
self.lineEdit_rconport.setMinimumSize(QtCore.QSize(0, 35))
self.lineEdit_rconport.setMaximumSize(QtCore.QSize(16777215, 35))
self.lineEdit_rconport.setEchoMode(QtWidgets.QLineEdit.EchoMode.Normal)
self.lineEdit_rconport.setClearButtonEnabled(True)
self.lineEdit_rconport.setObjectName("lineEdit_rconport")
self.verticalLayout_3.addWidget(self.lineEdit_rconport)
self.line = QtWidgets.QFrame(parent=self.groupBox_settings)
self.line.setFrameShape(QtWidgets.QFrame.Shape.HLine)
self.line.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.line.setObjectName("line")
self.verticalLayout_3.addWidget(self.line)
self.label_adminpassword = QtWidgets.QLabel(parent=self.groupBox_settings)
self.label_adminpassword.setMinimumSize(QtCore.QSize(0, 15))
self.label_adminpassword.setMaximumSize(QtCore.QSize(16777215, 15))
self.label_adminpassword.setScaledContents(True)
self.label_adminpassword.setObjectName("label_adminpassword")
self.verticalLayout_3.addWidget(self.label_adminpassword)
self.lineEdit_adminpassword = QtWidgets.QLineEdit(parent=self.groupBox_settings)
self.lineEdit_adminpassword.setMinimumSize(QtCore.QSize(0, 35))
self.lineEdit_adminpassword.setMaximumSize(QtCore.QSize(16777215, 35))
self.lineEdit_adminpassword.setEchoMode(QtWidgets.QLineEdit.EchoMode.PasswordEchoOnEdit)
self.lineEdit_adminpassword.setPlaceholderText("")
self.lineEdit_adminpassword.setClearButtonEnabled(True)
self.lineEdit_adminpassword.setObjectName("lineEdit_adminpassword")
self.verticalLayout_3.addWidget(self.lineEdit_adminpassword)
self.label_password = QtWidgets.QLabel(parent=self.groupBox_settings)
self.label_password.setMinimumSize(QtCore.QSize(0, 15))
self.label_password.setMaximumSize(QtCore.QSize(16777215, 15))
self.label_password.setScaledContents(True)
self.label_password.setObjectName("label_password")
self.verticalLayout_3.addWidget(self.label_password)
self.lineEdit_password = QtWidgets.QLineEdit(parent=self.groupBox_settings)
self.lineEdit_password.setMinimumSize(QtCore.QSize(0, 35))
self.lineEdit_password.setMaximumSize(QtCore.QSize(16777215, 35))
self.lineEdit_password.setText("")
self.lineEdit_password.setEchoMode(QtWidgets.QLineEdit.EchoMode.PasswordEchoOnEdit)
self.lineEdit_password.setObjectName("lineEdit_password")
self.verticalLayout_3.addWidget(self.lineEdit_password)
self.line_6 = QtWidgets.QFrame(parent=self.groupBox_settings)
self.line_6.setFrameShape(QtWidgets.QFrame.Shape.HLine)
self.line_6.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.line_6.setObjectName("line_6")
self.verticalLayout_3.addWidget(self.line_6)
self.label_players = QtWidgets.QLabel(parent=self.groupBox_settings)
self.label_players.setMinimumSize(QtCore.QSize(0, 15))
self.label_players.setMaximumSize(QtCore.QSize(16777215, 15))
self.label_players.setScaledContents(True)
self.label_players.setObjectName("label_players")
self.verticalLayout_3.addWidget(self.label_players)
self.lineEdit_players = QtWidgets.QLineEdit(parent=self.groupBox_settings)
self.lineEdit_players.setMinimumSize(QtCore.QSize(0, 35))
self.lineEdit_players.setMaximumSize(QtCore.QSize(65, 35))
self.lineEdit_players.setEchoMode(QtWidgets.QLineEdit.EchoMode.Normal)
self.lineEdit_players.setClearButtonEnabled(True)
self.lineEdit_players.setObjectName("lineEdit_players")
self.verticalLayout_3.addWidget(self.lineEdit_players)
self.horizontalSlider_players = QtWidgets.QSlider(parent=self.groupBox_settings)
self.horizontalSlider_players.setMaximum(70)
self.horizontalSlider_players.setPageStep(1)
self.horizontalSlider_players.setOrientation(QtCore.Qt.Orientation.Horizontal)
self.horizontalSlider_players.setObjectName("horizontalSlider_players")
self.verticalLayout_3.addWidget(self.horizontalSlider_players)
self.line_5 = QtWidgets.QFrame(parent=self.groupBox_settings)
self.line_5.setFrameShape(QtWidgets.QFrame.Shape.HLine)
self.line_5.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.line_5.setObjectName("line_5")
self.verticalLayout_3.addWidget(self.line_5)
self.label_Maps = QtWidgets.QLabel(parent=self.groupBox_settings)
self.label_Maps.setMinimumSize(QtCore.QSize(0, 15))
self.label_Maps.setMaximumSize(QtCore.QSize(16777215, 15))
self.label_Maps.setScaledContents(True)
self.label_Maps.setObjectName("label_Maps")
self.verticalLayout_3.addWidget(self.label_Maps)
self.comboBox_maps = QtWidgets.QComboBox(parent=self.groupBox_settings)
self.comboBox_maps.setObjectName("comboBox_maps")
self.comboBox_maps.addItem("")
self.comboBox_maps.addItem("")
self.comboBox_maps.addItem("")
self.comboBox_maps.addItem("")
self.comboBox_maps.addItem("")
self.comboBox_maps.addItem("")
self.comboBox_maps.addItem("")
self.comboBox_maps.addItem("")
self.comboBox_maps.addItem("")
self.comboBox_maps.addItem("")
self.comboBox_maps.addItem("")
self.comboBox_maps.addItem("")
self.verticalLayout_3.addWidget(self.comboBox_maps)
self.verticalLayout_2.addWidget(self.groupBox_settings)
self.groupBox_6 = QtWidgets.QGroupBox(parent=self.groupBox)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox_6.sizePolicy().hasHeightForWidth())
self.groupBox_6.setSizePolicy(sizePolicy)
self.groupBox_6.setMinimumSize(QtCore.QSize(485, 80))
self.groupBox_6.setMaximumSize(QtCore.QSize(0, 125))
self.groupBox_6.setObjectName("groupBox_6")
self.lineEdit_rconcmd = QtWidgets.QLineEdit(parent=self.groupBox_6)
self.lineEdit_rconcmd.setGeometry(QtCore.QRect(10, 40, 371, 32))
self.lineEdit_rconcmd.setText("")
self.lineEdit_rconcmd.setObjectName("lineEdit_rconcmd")
self.pushButton_rconcmd = QtWidgets.QPushButton(parent=self.groupBox_6)
self.pushButton_rconcmd.setGeometry(QtCore.QRect(390, 40, 88, 33))
self.pushButton_rconcmd.setMinimumSize(QtCore.QSize(0, 33))
self.pushButton_rconcmd.setMaximumSize(QtCore.QSize(16777215, 33))
self.pushButton_rconcmd.setObjectName("pushButton_rconcmd")
self.label_rconcmd = QtWidgets.QLabel(parent=self.groupBox_6)
self.label_rconcmd.setGeometry(QtCore.QRect(10, 20, 91, 18))
self.label_rconcmd.setScaledContents(True)
self.label_rconcmd.setObjectName("label_rconcmd")
self.verticalLayout_2.addWidget(self.groupBox_6)
self.gridLayout.addWidget(self.groupBox, 0, 0, 1, 1)
self.scrollArea = QtWidgets.QScrollArea(parent=self.tab_5)
self.scrollArea.setWidgetResizable(True)
self.scrollArea.setObjectName("scrollArea")
self.scrollAreaWidgetContents = QtWidgets.QWidget()
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 970, 923))
self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
self.gridLayout_3 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents)
self.gridLayout_3.setObjectName("gridLayout_3")
self.tabWidget_ini = QtWidgets.QTabWidget(parent=self.scrollAreaWidgetContents)
self.tabWidget_ini.setObjectName("tabWidget_ini")
self.tab_gameini = QtWidgets.QWidget()
self.tab_gameini.setObjectName("tab_gameini")
self.gridLayout_4 = QtWidgets.QGridLayout(self.tab_gameini)
self.gridLayout_4.setObjectName("gridLayout_4")
self.kdialog = QtWidgets.QDialog(parent=self.tab_gameini)
self.kdialog.setObjectName("kdialog")
self.tableView = QtWidgets.QTableView(parent=self.kdialog)
self.tableView.setGeometry(QtCore.QRect(0, 0, 941, 862))
self.tableView.setGridStyle(QtCore.Qt.PenStyle.SolidLine)
self.tableView.setObjectName("tableView")
self.tableView.horizontalHeader().setVisible(True)
self.tableView.horizontalHeader().setCascadingSectionResizes(False)
self.gridLayout_4.addWidget(self.kdialog, 0, 0, 1, 1)
self.tabWidget_ini.addTab(self.tab_gameini, "")
self.tab_gameusersettingsini = QtWidgets.QWidget()
self.tab_gameusersettingsini.setObjectName("tab_gameusersettingsini")
self.gridLayout_5 = QtWidgets.QGridLayout(self.tab_gameusersettingsini)
self.gridLayout_5.setObjectName("gridLayout_5")
self.tableView_2 = QtWidgets.QTableView(parent=self.tab_gameusersettingsini)
self.tableView_2.setGridStyle(QtCore.Qt.PenStyle.SolidLine)
self.tableView_2.setObjectName("tableView_2")
self.tableView_2.horizontalHeader().setVisible(True)
self.tableView_2.horizontalHeader().setCascadingSectionResizes(False)
self.gridLayout_5.addWidget(self.tableView_2, 0, 0, 1, 1)
self.tabWidget_ini.addTab(self.tab_gameusersettingsini, "")
self.gridLayout_3.addWidget(self.tabWidget_ini, 0, 0, 1, 1)
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
self.gridLayout.addWidget(self.scrollArea, 0, 4, 1, 1)
self.line_7 = QtWidgets.QFrame(parent=self.tab_5)
self.line_7.setFrameShape(QtWidgets.QFrame.Shape.VLine)
self.line_7.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.line_7.setObjectName("line_7")
self.gridLayout.addWidget(self.line_7, 0, 1, 1, 1)
self.tabServers.addTab(self.tab_5, "")
self.gridLayout_2.addWidget(self.tabServers, 0, 0, 1, 1)
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap("./../../Yandex.Disk/Изображения/Оформление/ARK-2-Logo.png"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.tabGames.addTab(self.tabArk, icon1, "")
self.tab_2 = QtWidgets.QWidget()
self.tab_2.setObjectName("tab_2")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.tab_2)
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.tabServers_2 = QtWidgets.QTabWidget(parent=self.tab_2)
self.tabServers_2.setTabletTracking(False)
self.tabServers_2.setFocusPolicy(QtCore.Qt.FocusPolicy.TabFocus)
self.tabServers_2.setTabPosition(QtWidgets.QTabWidget.TabPosition.North)
self.tabServers_2.setTabShape(QtWidgets.QTabWidget.TabShape.Rounded)
self.tabServers_2.setElideMode(QtCore.Qt.TextElideMode.ElideNone)
self.tabServers_2.setDocumentMode(False)
self.tabServers_2.setTabsClosable(True)
self.tabServers_2.setMovable(True)
self.tabServers_2.setTabBarAutoHide(False)
self.tabServers_2.setObjectName("tabServers_2")
self.tab_6 = QtWidgets.QWidget()
self.tab_6.setObjectName("tab_6")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.tab_6)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.groupBox_2 = QtWidgets.QGroupBox(parent=self.tab_6)
self.groupBox_2.setMinimumSize(QtCore.QSize(500, 800))
self.groupBox_2.setMaximumSize(QtCore.QSize(500, 16777215))
self.groupBox_2.setTitle("")
self.groupBox_2.setFlat(False)
self.groupBox_2.setObjectName("groupBox_2")
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox_2)
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.groupBox_settings_2 = QtWidgets.QGroupBox(parent=self.groupBox_2)
self.groupBox_settings_2.setMinimumSize(QtCore.QSize(0, 600))
self.groupBox_settings_2.setMaximumSize(QtCore.QSize(500, 16777215))
self.groupBox_settings_2.setObjectName("groupBox_settings_2")
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.groupBox_settings_2)
self.verticalLayout_5.setObjectName("verticalLayout_5")
self.checkBox_cluster_2 = QtWidgets.QCheckBox(parent=self.groupBox_settings_2)
self.checkBox_cluster_2.setObjectName("checkBox_cluster_2")
self.verticalLayout_5.addWidget(self.checkBox_cluster_2)
self.lineEdit_cluster_2 = QtWidgets.QLineEdit(parent=self.groupBox_settings_2)
self.lineEdit_cluster_2.setMinimumSize(QtCore.QSize(0, 35))
self.lineEdit_cluster_2.setMaximumSize(QtCore.QSize(16777215, 35))
self.lineEdit_cluster_2.setClearButtonEnabled(True)
self.lineEdit_cluster_2.setObjectName("lineEdit_cluster_2")
self.verticalLayout_5.addWidget(self.lineEdit_cluster_2)
self.checkBox_listen_2 = QtWidgets.QCheckBox(parent=self.groupBox_settings_2)
self.checkBox_listen_2.setObjectName("checkBox_listen_2")
self.verticalLayout_5.addWidget(self.checkBox_listen_2)
self.label_namesession_2 = QtWidgets.QLabel(parent=self.groupBox_settings_2)
self.label_namesession_2.setMinimumSize(QtCore.QSize(0, 10))
self.label_namesession_2.setMaximumSize(QtCore.QSize(16777215, 15))
self.label_namesession_2.setScaledContents(True)
self.label_namesession_2.setObjectName("label_namesession_2")
self.verticalLayout_5.addWidget(self.label_namesession_2)
self.lineEdit_namesession_2 = QtWidgets.QLineEdit(parent=self.groupBox_settings_2)
self.lineEdit_namesession_2.setMinimumSize(QtCore.QSize(0, 35))
self.lineEdit_namesession_2.setMaximumSize(QtCore.QSize(16777215, 35))
self.lineEdit_namesession_2.setClearButtonEnabled(True)
self.lineEdit_namesession_2.setObjectName("lineEdit_namesession_2")
self.verticalLayout_5.addWidget(self.lineEdit_namesession_2)
self.line_8 = QtWidgets.QFrame(parent=self.groupBox_settings_2)
self.line_8.setFrameShape(QtWidgets.QFrame.Shape.HLine)
self.line_8.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.line_8.setObjectName("line_8")
self.verticalLayout_5.addWidget(self.line_8)
self.label_port_2 = QtWidgets.QLabel(parent=self.groupBox_settings_2)
self.label_port_2.setMinimumSize(QtCore.QSize(0, 10))
self.label_port_2.setMaximumSize(QtCore.QSize(16777215, 15))
self.label_port_2.setScaledContents(True)
self.label_port_2.setObjectName("label_port_2")
self.verticalLayout_5.addWidget(self.label_port_2)
self.lineEdit_port_2 = QtWidgets.QLineEdit(parent=self.groupBox_settings_2)
self.lineEdit_port_2.setMinimumSize(QtCore.QSize(0, 35))
self.lineEdit_port_2.setMaximumSize(QtCore.QSize(16777215, 35))
self.lineEdit_port_2.setEchoMode(QtWidgets.QLineEdit.EchoMode.Normal)
self.lineEdit_port_2.setClearButtonEnabled(True)
self.lineEdit_port_2.setObjectName("lineEdit_port_2")
self.verticalLayout_5.addWidget(self.lineEdit_port_2)
self.label_querryport_2 = QtWidgets.QLabel(parent=self.groupBox_settings_2)
self.label_querryport_2.setMinimumSize(QtCore.QSize(0, 15))
self.label_querryport_2.setMaximumSize(QtCore.QSize(16777215, 15))
self.label_querryport_2.setScaledContents(True)
self.label_querryport_2.setObjectName("label_querryport_2")
self.verticalLayout_5.addWidget(self.label_querryport_2)
self.lineEdit_querryport_2 = QtWidgets.QLineEdit(parent=self.groupBox_settings_2)
self.lineEdit_querryport_2.setMinimumSize(QtCore.QSize(0, 35))
self.lineEdit_querryport_2.setMaximumSize(QtCore.QSize(16777215, 35))
self.lineEdit_querryport_2.setEchoMode(QtWidgets.QLineEdit.EchoMode.Normal)
self.lineEdit_querryport_2.setClearButtonEnabled(True)
self.lineEdit_querryport_2.setObjectName("lineEdit_querryport_2")
self.verticalLayout_5.addWidget(self.lineEdit_querryport_2)
self.label_rconport_2 = QtWidgets.QLabel(parent=self.groupBox_settings_2)
self.label_rconport_2.setMinimumSize(QtCore.QSize(0, 15))
self.label_rconport_2.setMaximumSize(QtCore.QSize(16777215, 15))
self.label_rconport_2.setScaledContents(True)
self.label_rconport_2.setObjectName("label_rconport_2")
self.verticalLayout_5.addWidget(self.label_rconport_2)
self.lineEdit_rconport_2 = QtWidgets.QLineEdit(parent=self.groupBox_settings_2)
self.lineEdit_rconport_2.setMinimumSize(QtCore.QSize(0, 35))
self.lineEdit_rconport_2.setMaximumSize(QtCore.QSize(16777215, 35))
self.lineEdit_rconport_2.setEchoMode(QtWidgets.QLineEdit.EchoMode.Normal)
self.lineEdit_rconport_2.setClearButtonEnabled(True)
self.lineEdit_rconport_2.setObjectName("lineEdit_rconport_2")
self.verticalLayout_5.addWidget(self.lineEdit_rconport_2)
self.line_2 = QtWidgets.QFrame(parent=self.groupBox_settings_2)
self.line_2.setFrameShape(QtWidgets.QFrame.Shape.HLine)
self.line_2.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.line_2.setObjectName("line_2")
self.verticalLayout_5.addWidget(self.line_2)
self.label_adminpassword_2 = QtWidgets.QLabel(parent=self.groupBox_settings_2)
self.label_adminpassword_2.setMinimumSize(QtCore.QSize(0, 15))
self.label_adminpassword_2.setMaximumSize(QtCore.QSize(16777215, 15))
self.label_adminpassword_2.setScaledContents(True)
self.label_adminpassword_2.setObjectName("label_adminpassword_2")
self.verticalLayout_5.addWidget(self.label_adminpassword_2)
self.lineEdit_adminpassword_2 = QtWidgets.QLineEdit(parent=self.groupBox_settings_2)
self.lineEdit_adminpassword_2.setMinimumSize(QtCore.QSize(0, 35))
self.lineEdit_adminpassword_2.setMaximumSize(QtCore.QSize(16777215, 35))
self.lineEdit_adminpassword_2.setEchoMode(QtWidgets.QLineEdit.EchoMode.PasswordEchoOnEdit)
self.lineEdit_adminpassword_2.setPlaceholderText("")
self.lineEdit_adminpassword_2.setClearButtonEnabled(True)
self.lineEdit_adminpassword_2.setObjectName("lineEdit_adminpassword_2")
self.verticalLayout_5.addWidget(self.lineEdit_adminpassword_2)
self.label_password_2 = QtWidgets.QLabel(parent=self.groupBox_settings_2)
self.label_password_2.setMinimumSize(QtCore.QSize(0, 15))
self.label_password_2.setMaximumSize(QtCore.QSize(16777215, 15))
self.label_password_2.setScaledContents(True)
self.label_password_2.setObjectName("label_password_2")
self.verticalLayout_5.addWidget(self.label_password_2)
self.lineEdit_password_2 = QtWidgets.QLineEdit(parent=self.groupBox_settings_2)
self.lineEdit_password_2.setMinimumSize(QtCore.QSize(0, 35))
self.lineEdit_password_2.setMaximumSize(QtCore.QSize(16777215, 35))
self.lineEdit_password_2.setText("")
self.lineEdit_password_2.setEchoMode(QtWidgets.QLineEdit.EchoMode.PasswordEchoOnEdit)
self.lineEdit_password_2.setObjectName("lineEdit_password_2")
self.verticalLayout_5.addWidget(self.lineEdit_password_2)
self.line_9 = QtWidgets.QFrame(parent=self.groupBox_settings_2)
self.line_9.setFrameShape(QtWidgets.QFrame.Shape.HLine)
self.line_9.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.line_9.setObjectName("line_9")
self.verticalLayout_5.addWidget(self.line_9)
self.label_players_2 = QtWidgets.QLabel(parent=self.groupBox_settings_2)
self.label_players_2.setMinimumSize(QtCore.QSize(0, 15))
self.label_players_2.setMaximumSize(QtCore.QSize(16777215, 15))
self.label_players_2.setScaledContents(True)
self.label_players_2.setObjectName("label_players_2")
self.verticalLayout_5.addWidget(self.label_players_2)
self.lineEdit_players_2 = QtWidgets.QLineEdit(parent=self.groupBox_settings_2)
self.lineEdit_players_2.setMinimumSize(QtCore.QSize(0, 35))
self.lineEdit_players_2.setMaximumSize(QtCore.QSize(65, 35))
self.lineEdit_players_2.setEchoMode(QtWidgets.QLineEdit.EchoMode.Normal)
self.lineEdit_players_2.setClearButtonEnabled(True)
self.lineEdit_players_2.setObjectName("lineEdit_players_2")
self.verticalLayout_5.addWidget(self.lineEdit_players_2)
self.horizontalSlider_players_2 = QtWidgets.QSlider(parent=self.groupBox_settings_2)
self.horizontalSlider_players_2.setMaximum(70)
self.horizontalSlider_players_2.setPageStep(1)
self.horizontalSlider_players_2.setOrientation(QtCore.Qt.Orientation.Horizontal)
self.horizontalSlider_players_2.setObjectName("horizontalSlider_players_2")
self.verticalLayout_5.addWidget(self.horizontalSlider_players_2)
self.line_10 = QtWidgets.QFrame(parent=self.groupBox_settings_2)
self.line_10.setFrameShape(QtWidgets.QFrame.Shape.HLine)
self.line_10.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.line_10.setObjectName("line_10")
self.verticalLayout_5.addWidget(self.line_10)
self.label_Maps_2 = QtWidgets.QLabel(parent=self.groupBox_settings_2)
self.label_Maps_2.setMinimumSize(QtCore.QSize(0, 15))
self.label_Maps_2.setMaximumSize(QtCore.QSize(16777215, 15))
self.label_Maps_2.setScaledContents(True)
self.label_Maps_2.setObjectName("label_Maps_2")
self.verticalLayout_5.addWidget(self.label_Maps_2)
self.comboBox_maps_2 = QtWidgets.QComboBox(parent=self.groupBox_settings_2)
self.comboBox_maps_2.setObjectName("comboBox_maps_2")
self.comboBox_maps_2.addItem("")
self.comboBox_maps_2.addItem("")
self.comboBox_maps_2.addItem("")
self.comboBox_maps_2.addItem("")
self.comboBox_maps_2.addItem("")
self.comboBox_maps_2.addItem("")
self.comboBox_maps_2.addItem("")
self.comboBox_maps_2.addItem("")
self.comboBox_maps_2.addItem("")
self.comboBox_maps_2.addItem("")
self.comboBox_maps_2.addItem("")
self.comboBox_maps_2.addItem("")
self.verticalLayout_5.addWidget(self.comboBox_maps_2)
self.verticalLayout_4.addWidget(self.groupBox_settings_2)
self.groupBox_7 = QtWidgets.QGroupBox(parent=self.groupBox_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox_7.sizePolicy().hasHeightForWidth())
self.groupBox_7.setSizePolicy(sizePolicy)
self.groupBox_7.setMinimumSize(QtCore.QSize(485, 80))
self.groupBox_7.setMaximumSize(QtCore.QSize(0, 125))
self.groupBox_7.setObjectName("groupBox_7")
self.lineEdit_rconcmd_2 = QtWidgets.QLineEdit(parent=self.groupBox_7)
self.lineEdit_rconcmd_2.setGeometry(QtCore.QRect(10, 40, 371, 32))
self.lineEdit_rconcmd_2.setText("")
self.lineEdit_rconcmd_2.setObjectName("lineEdit_rconcmd_2")
self.pushButton_rconcmd_2 = QtWidgets.QPushButton(parent=self.groupBox_7)
self.pushButton_rconcmd_2.setGeometry(QtCore.QRect(390, 40, 88, 33))
self.pushButton_rconcmd_2.setMinimumSize(QtCore.QSize(0, 33))
self.pushButton_rconcmd_2.setMaximumSize(QtCore.QSize(16777215, 33))
self.pushButton_rconcmd_2.setObjectName("pushButton_rconcmd_2")
self.label_rconcmd_2 = QtWidgets.QLabel(parent=self.groupBox_7)
self.label_rconcmd_2.setGeometry(QtCore.QRect(10, 20, 91, 18))
self.label_rconcmd_2.setScaledContents(True)
self.label_rconcmd_2.setObjectName("label_rconcmd_2")
self.verticalLayout_4.addWidget(self.groupBox_7)
self.horizontalLayout_2.addWidget(self.groupBox_2)
self.line_11 = QtWidgets.QFrame(parent=self.tab_6)
self.line_11.setFrameShape(QtWidgets.QFrame.Shape.VLine)
self.line_11.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.line_11.setObjectName("line_11")
self.horizontalLayout_2.addWidget(self.line_11)
self.scrollArea_2 = QtWidgets.QScrollArea(parent=self.tab_6)
self.scrollArea_2.setWidgetResizable(True)
self.scrollArea_2.setObjectName("scrollArea_2")
self.scrollAreaWidgetContents_2 = QtWidgets.QWidget()
self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 970, 923))
self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
self.gridLayout_7 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents_2)
self.gridLayout_7.setObjectName("gridLayout_7")
self.tabWidget_ini_2 = QtWidgets.QTabWidget(parent=self.scrollAreaWidgetContents_2)
self.tabWidget_ini_2.setObjectName("tabWidget_ini_2")
self.tab_gameini_2 = QtWidgets.QWidget()
self.tab_gameini_2.setObjectName("tab_gameini_2")
self.gridLayout_8 = QtWidgets.QGridLayout(self.tab_gameini_2)
self.gridLayout_8.setObjectName("gridLayout_8")
self.kdialog_2 = QtWidgets.QDialog(parent=self.tab_gameini_2)
self.kdialog_2.setObjectName("kdialog_2")
self.tableView_3 = QtWidgets.QTableView(parent=self.kdialog_2)
self.tableView_3.setGeometry(QtCore.QRect(0, 0, 941, 862))
self.tableView_3.setGridStyle(QtCore.Qt.PenStyle.SolidLine)
self.tableView_3.setObjectName("tableView_3")
self.tableView_3.horizontalHeader().setVisible(True)
self.tableView_3.horizontalHeader().setCascadingSectionResizes(False)
self.gridLayout_8.addWidget(self.kdialog_2, 0, 0, 1, 1)
self.tabWidget_ini_2.addTab(self.tab_gameini_2, "")
self.tab_gameusersettingsini_2 = QtWidgets.QWidget()
self.tab_gameusersettingsini_2.setObjectName("tab_gameusersettingsini_2")
self.gridLayout_9 = QtWidgets.QGridLayout(self.tab_gameusersettingsini_2)
self.gridLayout_9.setObjectName("gridLayout_9")
self.tableView_4 = QtWidgets.QTableView(parent=self.tab_gameusersettingsini_2)
self.tableView_4.setGridStyle(QtCore.Qt.PenStyle.SolidLine)
self.tableView_4.setObjectName("tableView_4")
self.tableView_4.horizontalHeader().setVisible(True)
self.tableView_4.horizontalHeader().setCascadingSectionResizes(False)
self.gridLayout_9.addWidget(self.tableView_4, 0, 0, 1, 1)
self.tabWidget_ini_2.addTab(self.tab_gameusersettingsini_2, "")
self.gridLayout_7.addWidget(self.tabWidget_ini_2, 0, 0, 1, 1)
self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2)
self.horizontalLayout_2.addWidget(self.scrollArea_2)
self.tabServers_2.addTab(self.tab_6, "")
self.horizontalLayout_3.addWidget(self.tabServers_2)
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap("./../../Yandex.Disk/Изображения/Оформление/7dtd.png"), QtGui.QIcon.Mode.Normal, QtGui.QIcon.State.Off)
self.tabGames.addTab(self.tab_2, icon2, "")
self.verticalLayout.addWidget(self.tabGames)
mainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(parent=mainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1541, 30))
self.menubar.setObjectName("menubar")
self.menu = QtWidgets.QMenu(parent=self.menubar)
self.menu.setObjectName("menu")
self.menu_2 = QtWidgets.QMenu(parent=self.menubar)
self.menu_2.setObjectName("menu_2")
self.menu_3 = QtWidgets.QMenu(parent=self.menubar)
self.menu_3.setObjectName("menu_3")
mainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(parent=mainWindow)
self.statusbar.setObjectName("statusbar")
mainWindow.setStatusBar(self.statusbar)
self.action = QtGui.QAction(parent=mainWindow)
self.action.setObjectName("action")
self.action_2 = QtGui.QAction(parent=mainWindow)
self.action_2.setObjectName("action_2")
self.action_HLN_A = QtGui.QAction(parent=mainWindow)
self.action_HLN_A.setObjectName("action_HLN_A")
self.action_Discord = QtGui.QAction(parent=mainWindow)
self.action_Discord.setObjectName("action_Discord")
self.action_3 = QtGui.QAction(parent=mainWindow)
self.action_3.setObjectName("action_3")
self.action_4 = QtGui.QAction(parent=mainWindow)
self.action_4.setObjectName("action_4")
self.menu.addSeparator()
self.menu.addAction(self.action_HLN_A)
self.menu.addSeparator()
self.menu_2.addAction(self.action)
self.menu_2.addSeparator()
self.menu_2.addAction(self.action_2)
self.menu_2.addSeparator()
self.menu_2.addAction(self.action_Discord)
self.menu_2.addSeparator()
self.menu_3.addAction(self.action_3)
self.menu_3.addAction(self.action_4)
self.menubar.addAction(self.menu_3.menuAction())
self.menubar.addAction(self.menu.menuAction())
self.menubar.addAction(self.menu_2.menuAction())
self.retranslateUi(mainWindow)
self.tabGames.setCurrentIndex(0)
self.tabServers.setCurrentIndex(0)
self.tabWidget_ini.setCurrentIndex(0)
self.tabServers_2.setCurrentIndex(0)
self.tabWidget_ini_2.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(mainWindow)
def retranslateUi(self, mainWindow):
_translate = QtCore.QCoreApplication.translate
mainWindow.setWindowTitle(_translate("mainWindow", "HLN-A"))
self.groupBox_settings.setTitle(_translate("mainWindow", "Настройки"))
self.checkBox_cluster.setText(_translate("mainWindow", "Кластер"))
self.lineEdit_cluster.setText(_translate("mainWindow", "id-кластера"))
self.checkBox_listen.setText(_translate("mainWindow", "Передавать в глобальный список серверов"))
self.label_namesession.setText(_translate("mainWindow", "Имя сессии"))
self.lineEdit_namesession.setText(_translate("mainWindow", "Имя_сессии "))
self.label_port.setText(_translate("mainWindow", "Порт"))
self.lineEdit_port.setText(_translate("mainWindow", "7777"))
self.label_querryport.setText(_translate("mainWindow", "Querry порт"))
self.lineEdit_querryport.setText(_translate("mainWindow", "27015"))
self.label_rconport.setText(_translate("mainWindow", "Rcon порт"))
self.lineEdit_rconport.setText(_translate("mainWindow", "27042"))
self.label_adminpassword.setText(_translate("mainWindow", "Пароль администратора (Marvin)"))
self.lineEdit_adminpassword.setText(_translate("mainWindow", "Marvin"))
self.label_password.setText(_translate("mainWindow", "Пароль сессии"))
self.label_players.setText(_translate("mainWindow", "Кол-во игроков"))
self.lineEdit_players.setText(_translate("mainWindow", "70"))
self.label_Maps.setText(_translate("mainWindow", "Карта"))
self.comboBox_maps.setItemText(0, _translate("mainWindow", "Остров (The Island)"))
self.comboBox_maps.setItemText(1, _translate("mainWindow", "Выжженые земли (Scorched Earth)"))
self.comboBox_maps.setItemText(2, _translate("mainWindow", "Аберация (Aberration)"))
self.comboBox_maps.setItemText(3, _translate("mainWindow", "Вымирание (Extinction)"))
self.comboBox_maps.setItemText(4, _translate("mainWindow", "Genesis: Part 1"))
self.comboBox_maps.setItemText(5, _translate("mainWindow", "Genesis: Part 2"))
self.comboBox_maps.setItemText(6, _translate("mainWindow", "Центр (The Center)"))
self.comboBox_maps.setItemText(7, _translate("mainWindow", "Рагнарёк (Ragnarok)"))
self.comboBox_maps.setItemText(8, _translate("mainWindow", "Valguero"))
self.comboBox_maps.setItemText(9, _translate("mainWindow", "Кристальные острова (Crystal Island)"))
self.comboBox_maps.setItemText(10, _translate("mainWindow", "Потерянные острова (Lost Island)"))
self.comboBox_maps.setItemText(11, _translate("mainWindow", "Фьйордур (Fjordur)"))
self.groupBox_6.setTitle(_translate("mainWindow", "RCON"))
self.pushButton_rconcmd.setText(_translate("mainWindow", "Отправить"))
self.label_rconcmd.setText(_translate("mainWindow", "Rcon команда"))
self.tabWidget_ini.setTabText(self.tabWidget_ini.indexOf(self.tab_gameini), _translate("mainWindow", "Game.ini"))
self.tabWidget_ini.setTabText(self.tabWidget_ini.indexOf(self.tab_gameusersettingsini), _translate("mainWindow", "GameUserSettings.ini"))
self.tabServers.setTabText(self.tabServers.indexOf(self.tab_5), _translate("mainWindow", "Tab 1"))
self.tabGames.setTabText(self.tabGames.indexOf(self.tabArk), _translate("mainWindow", "ARK"))
self.groupBox_settings_2.setTitle(_translate("mainWindow", "Настройки"))
self.checkBox_cluster_2.setText(_translate("mainWindow", "Кластер"))
self.lineEdit_cluster_2.setText(_translate("mainWindow", "id-кластера"))
self.checkBox_listen_2.setText(_translate("mainWindow", "Передавать в глобальный список серверов"))
self.label_namesession_2.setText(_translate("mainWindow", "Имя сессии"))
self.lineEdit_namesession_2.setText(_translate("mainWindow", "Имя_сессии "))
self.label_port_2.setText(_translate("mainWindow", "Порт"))
self.lineEdit_port_2.setText(_translate("mainWindow", "7777"))
self.label_querryport_2.setText(_translate("mainWindow", "Querry порт"))
self.lineEdit_querryport_2.setText(_translate("mainWindow", "27015"))
self.label_rconport_2.setText(_translate("mainWindow", "Rcon порт"))
self.lineEdit_rconport_2.setText(_translate("mainWindow", "27042"))
self.label_adminpassword_2.setText(_translate("mainWindow", "Пароль администратора (Marvin)"))
self.lineEdit_adminpassword_2.setText(_translate("mainWindow", "Marvin"))
self.label_password_2.setText(_translate("mainWindow", "Пароль сессии"))
self.label_players_2.setText(_translate("mainWindow", "Кол-во игроков"))
self.lineEdit_players_2.setText(_translate("mainWindow", "70"))
self.label_Maps_2.setText(_translate("mainWindow", "Карта"))
self.comboBox_maps_2.setItemText(0, _translate("mainWindow", "Остров (The Island)"))
self.comboBox_maps_2.setItemText(1, _translate("mainWindow", "Выжженые земли (Scorched Earth)"))
self.comboBox_maps_2.setItemText(2, _translate("mainWindow", "Аберация (Aberration)"))
self.comboBox_maps_2.setItemText(3, _translate("mainWindow", "Вымирание (Extinction)"))
self.comboBox_maps_2.setItemText(4, _translate("mainWindow", "Genesis: Part 1"))
self.comboBox_maps_2.setItemText(5, _translate("mainWindow", "Genesis: Part 2"))
self.comboBox_maps_2.setItemText(6, _translate("mainWindow", "Центр (The Center)"))
self.comboBox_maps_2.setItemText(7, _translate("mainWindow", "Рагнарёк (Ragnarok)"))
self.comboBox_maps_2.setItemText(8, _translate("mainWindow", "Valguero"))
self.comboBox_maps_2.setItemText(9, _translate("mainWindow", "Кристальные острова (Crystal Island)"))
self.comboBox_maps_2.setItemText(10, _translate("mainWindow", "Потерянные острова (Lost Island)"))
self.comboBox_maps_2.setItemText(11, _translate("mainWindow", "Фьйордур (Fjordur)"))
self.groupBox_7.setTitle(_translate("mainWindow", "RCON"))
self.pushButton_rconcmd_2.setText(_translate("mainWindow", "Отправить"))
self.label_rconcmd_2.setText(_translate("mainWindow", "Rcon команда"))
self.tabWidget_ini_2.setTabText(self.tabWidget_ini_2.indexOf(self.tab_gameini_2), _translate("mainWindow", "Game.ini"))
self.tabWidget_ini_2.setTabText(self.tabWidget_ini_2.indexOf(self.tab_gameusersettingsini_2), _translate("mainWindow", "GameUserSettings.ini"))
self.tabServers_2.setTabText(self.tabServers_2.indexOf(self.tab_6), _translate("mainWindow", "Tab 1"))
self.tabGames.setTabText(self.tabGames.indexOf(self.tab_2), _translate("mainWindow", "7 Days to Die"))
self.menu.setTitle(_translate("mainWindow", "Настройки"))
self.menu_2.setTitle(_translate("mainWindow", "Справка"))
self.menu_3.setTitle(_translate("mainWindow", "Сервер"))
self.action.setText(_translate("mainWindow", "Лицензия"))
self.action_2.setText(_translate("mainWindow", "Об авторах"))
self.action_HLN_A.setText(_translate("mainWindow", "Настроить HLN-A"))
self.action_Discord.setText(_translate("mainWindow", "Сообщество Discord"))
self.action_3.setText(_translate("mainWindow", "Добавить"))
self.action_4.setText(_translate("mainWindow", "Удалить"))