Reputation: 503
I'm looking for a method, no matter how roundabout, to horizontally stitch together three pixmaps into one (ie 20x20 + 20x20 + 20x20 -> 60x20). If it helps any, what I actually have is three png resources and I need to join them together and return a QIcon. Anyone any suggestions on routes to take?
Upvotes: 2
Views: 1786
Reputation: 310
For just what you said, you don't even need to do it in Qt. Why don't you just use any image editor to stitch the 3 images together? Sorry this may not answer your question on Qt but hope this solves your problem.
Upvotes: 0
Reputation: 8221
The simplest method: You create a new QPixmap with the desired size and paint the 3 pixmaps into this pixmap (QPixmap is a QPaintDevice)
Upvotes: 5