Modal dialog edition in a QListView

228 views Asked by At

I'm a beginner with QT/PyQt4, and I'm trying to make a QListView display custom objects.

It should :

  1. Have custom row widgets that display more than one line of text, possibly images
  2. Trigger a modal dialog instead of the inline edit field whenever I double-click on an item

A QItemDelegate seems like the right choice, but I can't figure out how to use it properly for either #1 or #2. Any ideas?

0

There are 0 answers