First thing QAbstractItemView::AllEditTriggers is a strange thing, every action will start the editor, you will have problem selecting the item in the first place.
Try to set the current index to -1 when you start, and then try selecting the first item, and see the magic.When this ComboBox is opened the first item's delegate's createEditor() is not called but when you move to second item it is called and delegate is properly created.
The problem is not with the first item, the problem is selecting (hovring) over an already selected item. Try this, set the index to 4 when you start, and move the mouse on to 4th item (note not to cross over any other items in the combo), you will need to take mouse out of the combo widget and bring it over the 4th item from outside directly.The problem is only with selecting first item for first time. If you have got only one item in comboBox this item is unselectable.
I think this is just the begining of other host of operational problems, and I think it is contributed by improper use of QAbstractItemView::AllEditTriggers. Also I don't think you are able to see the items normaly in the combo box, I mean only the drop down will work, but after selection the item will not be displayed in the combo.
Bookmarks