Preferences/ProgramsDialog.py

changeset 2737
dbe5497851fa
parent 2615
bdc9b4659826
child 2791
a9577f248f04
child 3010
befeff46ec0f
equal deleted inserted replaced
2736:86cd4d14b58e 2737:dbe5497851fa
113 Utilities.generateQtToolName("assistant")) 113 Utilities.generateQtToolName("assistant"))
114 self.__createProgramEntry(self.trUtf8("Qt Assistant"), exe, version=version) 114 self.__createProgramEntry(self.trUtf8("Qt Assistant"), exe, version=version)
115 115
116 # 2. do the PyQt programs 116 # 2. do the PyQt programs
117 # 2a. Translation Extractor PyQt4 117 # 2a. Translation Extractor PyQt4
118 self.__createProgramEntry(self.trUtf8("Translation Extractor (Python, Qt)"), 118 self.__createProgramEntry(self.trUtf8("Translation Extractor (Python, PyQt4)"),
119 Utilities.isWindowsPlatform() and "pylupdate4.exe" or "pylupdate4", 119 Utilities.isWindowsPlatform() and "pylupdate4.exe" or "pylupdate4",
120 '-version', 'pylupdate', -1) 120 '-version', 'pylupdate', -1)
121 # 2b. Forms Compiler PyQt4 121 # 2b. Forms Compiler PyQt4
122 self.__createProgramEntry(self.trUtf8("Forms Compiler (Python, Qt)"), 122 self.__createProgramEntry(self.trUtf8("Forms Compiler (Python, PyQt4)"),
123 Utilities.isWindowsPlatform() and "pyuic4.bat" or "pyuic4", 123 Utilities.isWindowsPlatform() and "pyuic4.bat" or "pyuic4",
124 '--version', 'Python User', 4) 124 '--version', 'Python User', 4)
125 # 2c. Resource Compiler PyQt4 125 # 2c. Resource Compiler PyQt4
126 self.__createProgramEntry(self.trUtf8("Resource Compiler (Python, Qt)"), 126 self.__createProgramEntry(self.trUtf8("Resource Compiler (Python, PyQt4)"),
127 Utilities.isWindowsPlatform() and "pyrcc4.exe" or "pyrcc4", 127 Utilities.isWindowsPlatform() and "pyrcc4.exe" or "pyrcc4",
128 '-version', 'Resource Compiler', -1)
129 # 2d. Translation Extractor PyQt5
130 self.__createProgramEntry(self.trUtf8("Translation Extractor (Python, PyQt5)"),
131 Utilities.isWindowsPlatform() and "pylupdate5.exe" or "pylupdate5",
132 '-version', 'pylupdate', -1)
133 # 2e. Forms Compiler PyQt4
134 self.__createProgramEntry(self.trUtf8("Forms Compiler (Python, PyQt5)"),
135 Utilities.isWindowsPlatform() and "pyuic5.bat" or "pyuic5",
136 '--version', 'Python User', 4)
137 # 2f. Resource Compiler PyQt4
138 self.__createProgramEntry(self.trUtf8("Resource Compiler (Python, PyQt5)"),
139 Utilities.isWindowsPlatform() and "pyrcc5.exe" or "pyrcc5",
128 '-version', 'Resource Compiler', -1) 140 '-version', 'Resource Compiler', -1)
129 141
130 # 3. do the PySide programs 142 # 3. do the PySide programs
131 # 3a. Translation Extractor PySide 143 # 3a. Translation Extractor PySide
132 self.__createProgramEntry(self.trUtf8("Translation Extractor (Python, PySide)"), 144 self.__createProgramEntry(self.trUtf8("Translation Extractor (Python, PySide)"),

eric ide

mercurial