PDA

View Full Version : Different behaviour in nested QListView on Mac/Windows



renevolution
7th July 2015, 16:47
Hi,

i am currently developing an Application which uses a QListView (VersionList) that uses a custom Widget with a Delegate. This custom Widget contains - besides a label and an image - also a QListView (FileList) using a custom delegate and widget.
Those widgets are mainly labels and listen to doubleClick, Drags etc.

At initialisation stage, on Mac all Items in a ChildList are displayed. On Windows (7) only the first Item is displayed.
What i really wonder is that on Windows, if i select the item and the editor widget is created, all items are displayed but get removed on deselecting.

For both, the "normal" widget, as well as the editor widget are drawn using the same paint method.

I have really no clue here. Hope someone can help.

Thanks,
René

ChrisW67
7th July 2015, 21:49
We have no clue here either. What is "ChildList"? What should it look like? What does it look like on Mac? Windows? What does your code look like? Is the problem in normal display or only when editing? What iare the "normal" widget and "editing" widget... On which view?