97 lines
4.3 KiB
Python
97 lines
4.3 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
################################################################################
|
|
## Form generated from reading UI file 'maps_gui.ui'
|
|
##
|
|
## Created by: Qt User Interface Compiler version 6.2.2
|
|
##
|
|
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
################################################################################
|
|
|
|
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
|
|
QMetaObject, QObject, QPoint, QRect,
|
|
QSize, QTime, QUrl, Qt)
|
|
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
|
|
QFont, QFontDatabase, QGradient, QIcon,
|
|
QImage, QKeySequence, QLinearGradient, QPainter,
|
|
QPalette, QPixmap, QRadialGradient, QTransform)
|
|
from PySide6.QtWidgets import (QApplication, QCheckBox, QFormLayout, QGridLayout,
|
|
QLabel, QMainWindow, QMenuBar, QPlainTextEdit,
|
|
QPushButton, QSizePolicy, QStatusBar, QWidget)
|
|
|
|
class Ui_MainWindow(object):
|
|
def setupUi(self, MainWindow):
|
|
if not MainWindow.objectName():
|
|
MainWindow.setObjectName(u"MainWindow")
|
|
MainWindow.resize(449, 230)
|
|
self.centralwidget = QWidget(MainWindow)
|
|
self.centralwidget.setObjectName(u"centralwidget")
|
|
self.centralwidget.setEnabled(True)
|
|
self.gridLayout_2 = QGridLayout(self.centralwidget)
|
|
self.gridLayout_2.setObjectName(u"gridLayout_2")
|
|
self.gridLayout = QGridLayout()
|
|
self.gridLayout.setObjectName(u"gridLayout")
|
|
self.formLayout = QFormLayout()
|
|
self.formLayout.setObjectName(u"formLayout")
|
|
self.automaticMapDownloadLabel = QLabel(self.centralwidget)
|
|
self.automaticMapDownloadLabel.setObjectName(u"automaticMapDownloadLabel")
|
|
|
|
self.formLayout.setWidget(0, QFormLayout.LabelRole, self.automaticMapDownloadLabel)
|
|
|
|
self.automaticMapDownloadCheckBox = QCheckBox(self.centralwidget)
|
|
self.automaticMapDownloadCheckBox.setObjectName(u"automaticMapDownloadCheckBox")
|
|
|
|
self.formLayout.setWidget(0, QFormLayout.FieldRole, self.automaticMapDownloadCheckBox)
|
|
|
|
|
|
self.gridLayout.addLayout(self.formLayout, 0, 0, 1, 1)
|
|
|
|
self.pushButton = QPushButton(self.centralwidget)
|
|
self.pushButton.setObjectName(u"pushButton")
|
|
self.pushButton.setEnabled(True)
|
|
|
|
self.gridLayout.addWidget(self.pushButton, 0, 1, 1, 1)
|
|
|
|
self.logEdit = QPlainTextEdit(self.centralwidget)
|
|
self.logEdit.setObjectName(u"logEdit")
|
|
self.logEdit.setReadOnly(True)
|
|
|
|
self.gridLayout.addWidget(self.logEdit, 1, 0, 1, 2)
|
|
|
|
|
|
self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
|
|
|
|
MainWindow.setCentralWidget(self.centralwidget)
|
|
self.menubar = QMenuBar(MainWindow)
|
|
self.menubar.setObjectName(u"menubar")
|
|
self.menubar.setGeometry(QRect(0, 0, 449, 21))
|
|
MainWindow.setMenuBar(self.menubar)
|
|
self.statusbar = QStatusBar(MainWindow)
|
|
self.statusbar.setObjectName(u"statusbar")
|
|
MainWindow.setStatusBar(self.statusbar)
|
|
|
|
self.retranslateUi(MainWindow)
|
|
|
|
QMetaObject.connectSlotsByName(MainWindow)
|
|
# setupUi
|
|
|
|
def retranslateUi(self, MainWindow):
|
|
MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"GMD - Giants Maps Downloader", None))
|
|
self.automaticMapDownloadLabel.setText(QCoreApplication.translate("MainWindow", u"Automatic map download", None))
|
|
#if QT_CONFIG(statustip)
|
|
self.automaticMapDownloadCheckBox.setStatusTip(QCoreApplication.translate("MainWindow", u"Every few minutes, all servers will be queried and missing maps will be downloaded", None))
|
|
#endif // QT_CONFIG(statustip)
|
|
#if QT_CONFIG(statustip)
|
|
self.pushButton.setStatusTip(QCoreApplication.translate("MainWindow", u"Immediately query servers now, download missing maps and upload hosted ones", None))
|
|
#endif // QT_CONFIG(statustip)
|
|
self.pushButton.setText(QCoreApplication.translate("MainWindow", u"Download currently missing maps\n"
|
|
"hosted by servers", None))
|
|
#if QT_CONFIG(statustip)
|
|
self.logEdit.setStatusTip(QCoreApplication.translate("MainWindow", u"Log messages", None))
|
|
#endif // QT_CONFIG(statustip)
|
|
#if QT_CONFIG(statustip)
|
|
self.statusbar.setStatusTip(QCoreApplication.translate("MainWindow", u"By Amazed#0001", None))
|
|
#endif // QT_CONFIG(statustip)
|
|
# retranslateUi
|
|
|