PDA

View Full Version : How to determine size of up/down arrow (QStyle::PE_IndicatorArrowDown)?



yogeshm02
14th November 2009, 15:03
Hi,
I want to draw up/down arrow in an item delegate. I can draw it using...
QApplication::style()->drawPrimitive(QStyle::PE_IndicatorArrowDown, &opt, painter);
...but the point is that I'm unable to find a proper way to get its size hint so that I may be able to adjust spacing for rest of the content accordingly. Can someone help in the matter, please?
Regards,
Yogesh M