PDA

View Full Version : A little help needed with QPainter



ayanda83
13th April 2015, 09:01
Hi there guys, How can I apply a frame onto an existing image using QPainter. I want to be able to import an image into my application and then apply different frames to it. please see attached photo for an idea of what I am trying to achieve.11077. I want to load the picture in a QListView with all four frames applied to it. I am more interest in the frames in the attachment. I don't necessarily have to use QPainter, if there is an easier way to achieve this I would use it. I just thought QPainter would make a lot of sense in this scenario.

Thanking you in advance.

wysota
13th April 2015, 09:20
What exactly is that you don't know how to implement? QPainter has a family of "draw" methods for drawing things.