Skip to content

Commit 6bdbca9

Browse files
committed
标题栏增加版本号……
1 parent 0a53231 commit 6bdbca9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mainwindow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22

33
# Form implementation generated from reading ui file 'mainwindow.ui'
44
#
5-
# Created by: PyQt5 UI code generator 5.10.1
5+
# Created by: PyQt5 UI code generator 5.6
66
#
77
# WARNING! All changes made in this file will be lost!
88

99
from PyQt5 import QtCore, QtGui, QtWidgets
1010

11-
1211
class Ui_MainWindow(object):
1312
def setupUi(self, MainWindow):
1413
MainWindow.setObjectName("MainWindow")
@@ -76,7 +75,7 @@ def setupUi(self, MainWindow):
7675

7776
def retranslateUi(self, MainWindow):
7877
_translate = QtCore.QCoreApplication.translate
79-
MainWindow.setWindowTitle(_translate("MainWindow", "JSONFormat4Flutter"))
78+
MainWindow.setWindowTitle(_translate("MainWindow", "JSONFormat4Flutter(v0.4)"))
8079
self.btn_format.setText(_translate("MainWindow", "格式化"))
8180
self.btn_copy.setText(_translate("MainWindow", "复制"))
8281
self.btn_generate.setText(_translate("MainWindow", "生成Bean"))
@@ -91,3 +90,4 @@ def retranslateUi(self, MainWindow):
9190
ui.setupUi(widget)
9291
widget.show()
9392
sys.exit(app.exec_())
93+

mainwindow.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</size>
3030
</property>
3131
<property name="windowTitle">
32-
<string>JSONFormat4Flutter</string>
32+
<string>JSONFormat4Flutter(v0.4)</string>
3333
</property>
3434
<widget class="QWidget" name="centralWidget">
3535
<layout class="QVBoxLayout" name="verticalLayout">

0 commit comments

Comments
 (0)