QProxyStyle subclassing not working
Unsolved
General and Desktop
-
I need to skip the QProxyStyle::drawPrimitive in a QTableView, so I implemented my own drawPrimitive in a class that eredits QProxyStyle, and implemented this function to do nothing. Then I use setStyle of the QTableView. Now I can see in debug that any time the QTableView is designed the application calls my drawPrimitive that does nothing, but still the gui calls QProxyStyle::drawPrimitive! Why?
-
@pedrito said:
Now I can see in debug that any time the QTableView is designed the application calls my drawPrimitive that does nothing, but still the gui calls QProxyStyle::drawPrimitive! Why?
How can you see that it is called?!
And why can't you see on this way from where it is called?!