62 lines
2.3 KiB
Python
62 lines
2.3 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
################################################################################
|
|
## Form generated from reading UI file 'mainwindow.ui'
|
|
##
|
|
## Created by: Qt User Interface Compiler version 5.15.2
|
|
##
|
|
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
################################################################################
|
|
|
|
from PySide2.QtCore import *
|
|
from PySide2.QtGui import *
|
|
from PySide2.QtWidgets import *
|
|
|
|
|
|
class Ui_MainWindow(object):
|
|
def setupUi(self, MainWindow):
|
|
if not MainWindow.objectName():
|
|
MainWindow.setObjectName(u"MainWindow")
|
|
MainWindow.resize(548, 105)
|
|
self.centralwidget = QWidget(MainWindow)
|
|
self.centralwidget.setObjectName(u"centralwidget")
|
|
self.gridLayoutWidget = QWidget(self.centralwidget)
|
|
self.gridLayoutWidget.setObjectName(u"gridLayoutWidget")
|
|
self.gridLayoutWidget.setGeometry(QRect(10, 10, 531, 63))
|
|
self.gridLayout = QGridLayout(self.gridLayoutWidget)
|
|
self.gridLayout.setObjectName(u"gridLayout")
|
|
self.gridLayout.setContentsMargins(0, 0, 0, 0)
|
|
self.lineEdit = QLineEdit(self.gridLayoutWidget)
|
|
self.lineEdit.setObjectName(u"lineEdit")
|
|
|
|
self.gridLayout.addWidget(self.lineEdit, 0, 1, 1, 1)
|
|
|
|
self.pushButton = QPushButton(self.gridLayoutWidget)
|
|
self.pushButton.setObjectName(u"pushButton")
|
|
self.pushButton.setEnabled(False)
|
|
|
|
self.gridLayout.addWidget(self.pushButton, 0, 2, 1, 1)
|
|
|
|
self.label = QLabel(self.gridLayoutWidget)
|
|
self.label.setObjectName(u"label")
|
|
|
|
self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
|
|
|
|
MainWindow.setCentralWidget(self.centralwidget)
|
|
self.menubar = QMenuBar(MainWindow)
|
|
self.menubar.setObjectName(u"menubar")
|
|
self.menubar.setGeometry(QRect(0, 0, 548, 21))
|
|
MainWindow.setMenuBar(self.menubar)
|
|
|
|
self.retranslateUi(MainWindow)
|
|
|
|
QMetaObject.connectSlotsByName(MainWindow)
|
|
# setupUi
|
|
|
|
def retranslateUi(self, MainWindow):
|
|
MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"Giants wdefs importer", None))
|
|
self.pushButton.setText(QCoreApplication.translate("MainWindow", u"Play", None))
|
|
self.label.setText(QCoreApplication.translate("MainWindow", u"URL to wdefs file", None))
|
|
# retranslateUi
|
|
|