Sun, 17 May 2015 16:55:30 +0200
Little change to the dialog code generation dialog to not show internal widgets (i.e. those starting with 'qt_').
(grafted from 7c7cb51887737707eba9172fd3eaf9cab1d463dd)
Project/CreateDialogCodeDialog.py | file | annotate | diff | comparison | revisions |
--- a/Project/CreateDialogCodeDialog.py Sat May 16 16:23:54 2015 +0200 +++ b/Project/CreateDialogCodeDialog.py Sun May 17 16:55:30 2015 +0200 @@ -244,7 +244,8 @@ self.slotsModel.setHorizontalHeaderLabels([""]) for obj in objects: name = obj.objectName() - if not name: + if not name or name.startswith("qt_"): + # ignore un-named or internal objects continue metaObject = obj.metaObject()