Get pain/look of a widget as a pixmap/style?
Solved
General and Desktop
-
Hey
I'm in need of creating pixmaps for a few different widgets in qt. Say QPushButton/QLineEdit/QComboBox. How can I redirect them into a pixmap each so I can display pictures of them around in app?
I need to use pixmap sadly and I want to capture them as they have to represent current style shet option.
Can any1 help ? I tried creating new button via
QStylePainter c; QStyleOptionButton option;
But sadly no luck... Never did that before so I'm lost.
TIA
-