[Qt-interest] Generating icons at runtime
Robert Hairgrove
evorgriahr at hispeed.ch
Thu Feb 5 02:02:56 CET 2009
Robert Hairgrove wrote:
> What would be the best way to go about this with QPixmap, QIcon et al.?
> I assume one would need to create a new QPixmap object for the
> background with an appropriate fill color (e.g. 32x32 pixels), then call
> setMask() with a 1-color (indexed) bitmap having a transparent background.
Never mind ... QPainter to the rescue! :)
More information about the Qt-interest-old
mailing list