Results 1 to 2 of 2

Thread: Qt::WA_NoSystemBackground not working for all widgets

  1. #1
    Join Date
    Jul 2011
    Posts
    8
    Qt products
    Qt4
    Platforms
    Windows Symbian S60

    Default Qt::WA_NoSystemBackground not working for all widgets

    hey all,

    I was trying to specify attributes for the widgets using Qt::WA_NoSystemBackground so that the widgets do not take the background image of the form.

    It worked well for the labels and scroll area text browser. Some how it does not give the desired effect for the radio buttons and the text box. I see a separate background for the radio buttons and the the text box.

    This is how i have used

    Qt Code:
    1. ui->passwordRadiobutton->setAttribute(Qt::WA_NoSystemBackground);
    To copy to clipboard, switch view to plain text mode 

    any suggestion?

  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: Qt::WA_NoSystemBackground not working for all widgets

    Why are you using WA_NoSystemBackground for it? What is it exactly that you want to achieve?
    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: 30th March 2011, 20:20
  2. QApplication::setFont working only for some widgets?
    By golanwe in forum Qt Programming
    Replies: 0
    Last Post: 13th January 2011, 17:47
  3. Replies: 5
    Last Post: 18th April 2010, 23:31
  4. Replies: 2
    Last Post: 31st July 2009, 09:18
  5. widgets behind hidden widgets not working
    By bpetty in forum Newbie
    Replies: 13
    Last Post: 7th September 2007, 20:23

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.