A gui for ncmdump
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
2.5 KiB

5 years ago
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'mainWindow.ui'
#
# Created by: PyQt5 UI code generator 5.14.1
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow,scalRate):
5 years ago
MainWindow.setObjectName("MainWindow")
MainWindow.setWindowModality(QtCore.Qt.NonModal)
MainWindow.resize(400*scalRate, 200*scalRate)
5 years ago
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.label = QtWidgets.QLabel(self.centralwidget)
self.label.setGeometry(QtCore.QRect(40*scalRate, 20*scalRate, 320*scalRate, 40*scalRate))
5 years ago
font = QtGui.QFont()
font.setFamily("幼圆")
font.setPointSize(24)
self.label.setFont(font)
self.label.setLayoutDirection(QtCore.Qt.LeftToRight)
self.label.setTextFormat(QtCore.Qt.PlainText)
self.label.setAlignment(QtCore.Qt.AlignCenter)
self.label.setObjectName("label")
self.commandLinkButton = QtWidgets.QCommandLinkButton(self.centralwidget)
self.commandLinkButton.setGeometry(QtCore.QRect(110*scalRate, 100*scalRate, 180*scalRate, 60*scalRate))
5 years ago
font = QtGui.QFont()
font.setFamily("Segoe UI")
font.setPointSize(10)
font.setStyleStrategy(QtGui.QFont.PreferDefault)
self.commandLinkButton.setFont(font)
self.commandLinkButton.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.commandLinkButton.setCheckable(False)
self.commandLinkButton.setChecked(False)
self.commandLinkButton.setObjectName("commandLinkButton")
MainWindow.setCentralWidget(self.centralwidget)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "ncm转换器"))
self.label.setText(_translate("MainWindow", "请选择需要转换的文件"))
self.commandLinkButton.setText(_translate("MainWindow", "选择文件"))
self.commandLinkButton.setDescription(_translate("MainWindow", "可一次选择多个文件"))