1

I'm currently working on a combobox widget inside a QTableview. Which works fine and does what I want!

Except of ONE thing: the combobox uses the space which is associated with the Qt::DisplayRole only. But my item consists of a Qt::DecorationRole and a Qt::DisplayRole alltogether.

Therefore, can anyone explain my how to set the itemRoles which are occupied by a delegate in qt?

Thanks a lot donny

NG_
  • 6,895
  • 7
  • 45
  • 67
Donny
  • 549
  • 2
  • 10
  • 24

0 Answers0