Version: (using KDE 4.3.2) Installed from: SuSE RPMs When using pykdeuic4 to process .ui files to Python files, there are problems regarding the parsing of KEditListBox. Specifically: 1. Create an empty widget in Qt Designer 2. Insert a KEditListBox in it 3. Set buttons to only Add and Remove 4. Save the .ui file This yields, in the generated Python code, something like this: self.keditlistbox.setButtons(QtGui.KEditListBox.Add | QtGui.KEditListBox.Remove) This is actually wrong (first of all because they're not members of QtGui). The proper syntax would be: self.keditlistbox.setButtons(KEdlitListBox.Button(KEditListBox.Add | KEditListBox.Remove) Notice: I'm not sure if this is a pykdeuic4 bug or a Designer bug. I'm attaching the ui file to this report just in case.
Created attachment 37774 [details] Example UI file that triggers this behavior once compiled
Tested with 4.10 git master, works. Closing as FIXED.