79 self.programsList.clear() |
79 self.programsList.clear() |
80 header = self.programsList.header() |
80 header = self.programsList.header() |
81 header.setSortIndicator(0, Qt.AscendingOrder) |
81 header.setSortIndicator(0, Qt.AscendingOrder) |
82 header.setSortIndicatorShown(False) |
82 header.setSortIndicatorShown(False) |
83 |
83 |
84 # 1. do the Qt4/Qt5 programs |
84 # 1. do the Qt5 programs |
85 # 1a. Translation Converter |
85 # 1a. Translation Converter |
86 exe = Utilities.isWindowsPlatform() and \ |
86 exe = Utilities.isWindowsPlatform() and \ |
87 "{0}.exe".format(Utilities.generateQtToolName("lrelease")) or \ |
87 "{0}.exe".format(Utilities.generateQtToolName("lrelease")) or \ |
88 Utilities.generateQtToolName("lrelease") |
88 Utilities.generateQtToolName("lrelease") |
89 exe = os.path.join(Utilities.getQtBinariesPath(), exe) |
89 exe = os.path.join(Utilities.getQtBinariesPath(), exe) |
130 self.__createProgramEntry( |
130 self.__createProgramEntry( |
131 self.tr("Qt Assistant"), exe, version=version) |
131 self.tr("Qt Assistant"), exe, version=version) |
132 |
132 |
133 # 2. do the PyQt programs |
133 # 2. do the PyQt programs |
134 # 2.1 do the PyQt4 programs |
134 # 2.1 do the PyQt4 programs |
|
135 # deprecated |
135 # 2.1a. Translation Extractor PyQt4 |
136 # 2.1a. Translation Extractor PyQt4 |
136 self.__createProgramEntry( |
137 self.__createProgramEntry( |
137 self.tr("Translation Extractor (Python, PyQt4)"), |
138 self.tr("Translation Extractor (Python, PyQt4)"), |
138 Utilities.generatePyQtToolPath("pylupdate4"), |
139 Utilities.generatePyQtToolPath("pylupdate4"), |
139 '-version', 'pylupdate', -1) |
140 '-version', 'pylupdate', -1) |