Results 1 to 2 of 2

Thread: QPushbutton with background image when disabled

  1. #1
    Join Date
    Sep 2008
    Location
    Chennai
    Posts
    36
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt3
    Platforms
    Unix/X11

    Question QPushbutton with background image when disabled

    Is it possible show any image while disabling a QPushbutton ??
    I have one pushbutton in my application, in which I am inserting one pixmap (setPixmap()) and masking the pushbutton with the pixmap. But when ever I am disabaling the pushbutton, the pushbutton image is updating with a gray color blank image, instaed I want to display some image while I am disabaling the button. IS that possible ???

    Thanks in advance ......

  2. #2
    Join Date
    May 2009
    Posts
    7
    Thanks
    3

    Default Re: QPushbutton with background image when disabled

    could you show you code? I don't known how you do this

Similar Threads

  1. QCalendarWidget background image
    By khcbabu in forum Newbie
    Replies: 0
    Last Post: 31st March 2009, 12:51
  2. QPushButton Icon Image
    By QbelcorT in forum Qt Programming
    Replies: 3
    Last Post: 13th March 2009, 14:26
  3. How to stretch background image used in brush-palette
    By Hookem in forum Qt Programming
    Replies: 5
    Last Post: 24th December 2008, 17:03
  4. BG image on QPushButton using style sheets??
    By JimDaniel in forum Newbie
    Replies: 2
    Last Post: 13th September 2007, 03:31
  5. Setting background image of QFrame
    By Claymore in forum Qt Programming
    Replies: 2
    Last Post: 12th February 2007, 19:50

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.