Answer the question
In order to leave comments, you need to log in
Why is the QStyledItemDelegate::paint method called twice?
Probably, again, no one except me will answer my question ... (:
I have a QLisView, I have my delegate inherited from QStyledItemDelegate.
What I see: when the list is displayed, the paint method of my delegate is called twice, despite the fact that the model contains only one element Why can this happen or should it be so? UPD. I mixed up something (:
In general, is it correct to draw your widget in the list in this method?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question