--- a/src/eric7/Project/UicCompilerOptionsDialog.py Wed Jul 13 11:16:20 2022 +0200 +++ b/src/eric7/Project/UicCompilerOptionsDialog.py Wed Jul 13 14:55:47 2022 +0200 @@ -16,10 +16,11 @@ """ Class implementing a dialog to enter some non-common uic compiler options. """ + def __init__(self, compilerOptions, compiler, parent=None): """ Constructor - + @param compilerOptions dictionary containing the uic compiler options @type dict @param compiler name of the uic compiler executable @@ -29,21 +30,21 @@ """ super().__init__(parent) self.setupUi(self) - + self.packageEdit.setText(compilerOptions["Package"]) self.packageRootEdit.setText(compilerOptions["PackagesRoot"]) self.suffixEdit.setText(compilerOptions["RcSuffix"]) - - self.packageGroup.setEnabled('uic5' in compiler) - self.suffixGroup.setEnabled('uic6' not in compiler) - + + self.packageGroup.setEnabled("uic5" in compiler) + self.suffixGroup.setEnabled("uic6" not in compiler) + msh = self.minimumSizeHint() self.resize(max(self.width(), msh.width()), msh.height()) - + def getData(self): """ Public method to get the entered data. - + @return tuple containing the package, the rc-file suffix and the project relative root of the packages directory @rtype tuple of (str, str, str)