Have a model which contains a list of MyStruct.
Qt Code:
  1. stryct MyStruct
  2. {
  3. QString value;
  4. bool enabled;
  5. int level;
  6. };
To copy to clipboard, switch view to plain text mode 

I want the following:
  1. All items in the view should be shown in the list way (like QListView): each item follows the next one.
  2. Each item should be represented as QGroupBox with several widgets: QLineEdit for 'QString', QCheckBox for 'bool' and SpinBox for 'level' (i.e. I want a list of widgets)
  3. The list of such represented items should be scrollable


I have tried QListView + my own QItemDelegate, but it didn't work. Is there any way to implement this with minimum efforts? Examples are welcome. Thanks!

P.S. Took a look to QListView implementation (had an idea about implementing my view using QAbstractItemView from the scratch, but it requires writing a LOT of code).