Results 1 to 13 of 13

Thread: Display image in Qt with rounder corners

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Display image in Qt with rounder corners

    You could draw a rounded rect into a QBitmap and use that as a mask on the pixmap.

    Cheers,
    _

  2. The following user says thank you to anda_skoa for this useful post:

    Cupidvogel (20th November 2015)

Similar Threads

  1. Replies: 1
    Last Post: 18th October 2015, 12:06
  2. how to remove previous image to display new image in QImage
    By iswaryasenthilkumar in forum Newbie
    Replies: 6
    Last Post: 5th January 2015, 10:53
  3. Modify image to have round corners
    By migel in forum Newbie
    Replies: 1
    Last Post: 4th September 2012, 11:38
  4. Replies: 1
    Last Post: 18th January 2012, 10:00

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
  •  
Qt is a trademark of The Qt Company.