프로젝트

일반

사용자정보

개정판 c36c7ed1

IDc36c7ed1e4489e1291841e8f3ea29c651f1b2d78
상위 1546ffb2
하위 cb8e005f, 10cc5458

백흠경이(가) 5년 이상 전에 추가함

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

클립보드 이미지 추가 (최대 크기: 500 MB)