Results 1 to 2 of 2

Thread: A little help needed with QPainter

  1. #1
    Join Date
    Jul 2012
    Posts
    201
    Thanks
    26
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default A little help needed with QPainter

    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.pg4.jpg. 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.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: A little help needed with QPainter

    What exactly is that you don't know how to implement? QPainter has a family of "draw" methods for drawing things.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 2
    Last Post: 26th December 2012, 01:03
  2. Needed, another RenderHint for QPainter
    By grabalon in forum Qt Programming
    Replies: 1
    Last Post: 30th July 2010, 01:32
  3. QPainter(&QPrinter) & QPainter(&QImage) communication
    By gufeatza in forum Qt Programming
    Replies: 2
    Last Post: 2nd February 2010, 07:25
  4. Replies: 5
    Last Post: 7th September 2009, 20:57
  5. Replies: 3
    Last Post: 30th April 2006, 19:22

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.