Update
This commit is contained in:
@@ -19,7 +19,7 @@ def show(parent):
|
||||
layout = QtWidgets.QVBoxLayout()
|
||||
layout.addStretch()
|
||||
layout.addWidget(QtWidgets.QLabel("<h1>ngSkinTools</h1>"))
|
||||
layout.addWidget(QtWidgets.QLabel("Version {0}".format(version.pluginVersion())))
|
||||
layout.addWidget(QtWidgets.QLabel("当前版本 {0}".format(version.pluginVersion())))
|
||||
layout.addWidget(QtWidgets.QLabel(version.COPYRIGHT))
|
||||
|
||||
url = QtWidgets.QLabel('<a href="{0}" style="color: #007bff;">{0}</a>'.format(version.PRODUCT_URL))
|
||||
@@ -65,7 +65,7 @@ def show(parent):
|
||||
def buttonsRow(window):
|
||||
layout = QtWidgets.QHBoxLayout()
|
||||
layout.addStretch()
|
||||
btnClose = QtWidgets.QPushButton("Close")
|
||||
btnClose = QtWidgets.QPushButton("退出")
|
||||
btnClose.setMinimumWidth(100 * scale_multiplier)
|
||||
layout.addWidget(btnClose)
|
||||
layout.setContentsMargins(20 * scale_multiplier, 15 * scale_multiplier, 20 * scale_multiplier, 15 * scale_multiplier)
|
||||
@@ -76,7 +76,7 @@ def show(parent):
|
||||
window = QtWidgets.QWidget(parent, Qt.Window | Qt.WindowTitleHint | Qt.CustomizeWindowHint)
|
||||
window.resize(600 * scale_multiplier, 500 * scale_multiplier)
|
||||
window.setAttribute(Qt.WA_DeleteOnClose)
|
||||
window.setWindowTitle("About ngSkinTools")
|
||||
window.setWindowTitle("关于 ngSkinTools")
|
||||
layout = QtWidgets.QVBoxLayout()
|
||||
window.setLayout(layout)
|
||||
layout.setContentsMargins(0, 0, 0, 0)
|
||||
|
||||
Reference in New Issue
Block a user