Question

Hey. I'm working on a project, porting a software from Qt3 to Qt4. Its in PyQt, but I'm okay taking answers as if I was working with C++ and the originals Qt4 libraries.

In the old code, a ListView with checkboxes are used. When trying to find the eqvalient for Qt4, nokia advise to not use Q3CheckListItem in new code, but there are no links to Qt4 eqvalient.

The solution seems to be having a delegate, and set that on the items. Like this myListView.setDelegate(delegate). The delegate is supposed to make the checkboxes and so on, but I can't find any examples or tutorials on this.

Thanks

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top