Results 1 to 2 of 2

Thread: Is there a way to always put an Pixmap on top of a QWidget?

  1. #1
    Join Date
    Sep 2009
    Location
    Surrey, BC, Canada
    Posts
    110
    Thanks
    1
    Thanked 2 Times in 1 Post
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Is there a way to always put an Pixmap on top of a QWidget?

    Hi, all:

    I'm wondering is there a way to always put an pixmap on top of a QWidget? So that the widget doesn't work the way it should be, but only displaying a picture?

    Cheers
    Pei
    Welcome to Vision Open
    http://www.visionopen.com

  2. #2
    Join Date
    Feb 2012
    Location
    Armenia/Yerevan
    Posts
    400
    Thanks
    15
    Thanked 16 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Is there a way to always put an Pixmap on top of a QWidget?

    Quote Originally Posted by jiapei100 View Post
    Hi, all:

    I'm wondering is there a way to always put an pixmap on top of a QWidget? So that the widget doesn't work the way it should be, but only displaying a picture?

    Cheers
    Pei
    If displaying an image on a widget is only of your concern, why not loading the picture to a QImage or pixmap and set it as the background of the widget? did you try that?

Similar Threads

  1. Find pixmap in pixmap
    By mizim in forum Newbie
    Replies: 4
    Last Post: 8th August 2012, 11:29
  2. Replies: 1
    Last Post: 19th April 2011, 11:17
  3. Replies: 1
    Last Post: 16th September 2010, 15:57
  4. Replies: 1
    Last Post: 12th April 2010, 12:55
  5. QWidget pixmap AFTER displaying html ("rich text")
    By gavrilo princep in forum Newbie
    Replies: 0
    Last Post: 17th July 2007, 01:59

Tags for this Thread

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.