eric6/Project/UicCompilerOptionsDialog.py

changeset 7907
7991ea245c20
parent 7780
41420f82c0ac
child 7923
91e843545d9a
equal deleted inserted replaced
7906:0af028b93cb3 7907:7991ea245c20
32 32
33 self.packageEdit.setText(compilerOptions["Package"]) 33 self.packageEdit.setText(compilerOptions["Package"])
34 self.packageRootEdit.setText(compilerOptions["PackagesRoot"]) 34 self.packageRootEdit.setText(compilerOptions["PackagesRoot"])
35 self.suffixEdit.setText(compilerOptions["RcSuffix"]) 35 self.suffixEdit.setText(compilerOptions["RcSuffix"])
36 36
37 if 'uic5' not in compiler: 37 self.packageGroup.setEnabled('uic5' in compiler)
38 self.packageGroup.setEnabled(False) 38 self.suffixGroup.setEnabled('uic6' not in compiler)
39 39
40 msh = self.minimumSizeHint() 40 msh = self.minimumSizeHint()
41 self.resize(max(self.width(), msh.width()), msh.height()) 41 self.resize(max(self.width(), msh.width()), msh.height())
42 42
43 def getData(self): 43 def getData(self):

eric ide

mercurial