개정판 c36c7ed1
issue #000: display application version on title bar
Change-Id: I1a85e55d3b26b7243e47eedb07b0e349657dd1f5
App.spec | ||
---|---|---|
2 | 2 |
|
3 | 3 |
block_cipher = None |
4 | 4 |
|
5 |
a = Analysis(['C:\\Temp\\workspace\\HYTOS\\HYTOS\\HYTOS\\App.py'],
|
|
6 |
pathex=['C:\\Temp\\workspace\\HYTOS\\HYTOS\\HYTOS', 'C:\\Temp\\workspace\\HYTOS\\HYTOS\\HYTOS\\Commands', 'C:\\Temp\\workspace\\HYTOS\\HYTOS\\HYTOS\\Shapes'],
|
|
5 |
a = Analysis(['.\\HYTOS\\HYTOS\\App.py'],
|
|
6 |
pathex=['.\\HYTOS\\HYTOS', '.\\HYTOS\\HYTOS\\Commands', '.\\HYTOS\\HYTOS\\Shapes'],
|
|
7 | 7 |
binaries=[], |
8 |
datas=[('C:\\Temp\\workspace\\HYTOS\\HYTOS\\HYTOS\\*.qss', '.'),
|
|
9 |
('C:\\Temp\\workspace\\HYTOS\\*.BMP', '.'),
|
|
10 |
('C:\\Temp\\workspace\\HYTOS\\HYTOS\\HYTOS\\db\\*.db', 'db'),
|
|
11 |
('C:\\Temp\\workspace\\HYTOS\\HYTOS\\HYTOS\\translate\\*.qm', 'translate'),
|
|
12 |
('C:\\Temp\\workspace\\HYTOS\\HYTOS\\HYTOS\\Scripts\\*.sql', 'Scripts'),
|
|
8 |
datas=[('.\\HYTOS\\HYTOS\\*.qss', '.'),
|
|
9 |
('.\\*.BMP', '.'),
|
|
10 |
('.\\HYTOS\\HYTOS\\db\\*.db', 'db'),
|
|
11 |
('.\\HYTOS\\HYTOS\\translate\\*.qm', 'translate'),
|
|
12 |
('.\\HYTOS\\HYTOS\\Scripts\\*.sql', 'Scripts'),
|
|
13 | 13 |
('.\\HYTOS\\HYTOS\\res\\*.svg', 'res'), |
14 | 14 |
], |
15 | 15 |
hiddenimports=['tkinter'], |
HYTOS/HYTOS/MainWindow.py | ||
---|---|---|
102 | 102 |
docData = AppDocData.instance() |
103 | 103 |
project = docData.getCurrentProject() |
104 | 104 |
_translate = QCoreApplication.translate |
105 |
self.setWindowTitle(_translate(App.NAME + " - {}".format(project.name), App.NAME + " - {}".format(project.name))) |
|
105 |
version = QCoreApplication.applicationVersion() |
|
106 |
self.setWindowTitle(_translate(App.NAME + "({}) - {}".format(version, project.name), App.NAME + "({}) - {}".format(version, project.name))) |
|
106 | 107 |
|
107 | 108 |
self.toolBar.insertSeparator(self.actionValidate) |
108 | 109 |
|
내보내기 Unified diff