Results 1 to 2 of 2

Thread: QTabWidget QSS transparency not working under Windows

  1. #1
    Join Date
    Jan 2011
    Posts
    1
    Qt products
    Qt4

    Default QTabWidget QSS transparency not working under Windows

    Hello, I have a QTabWidget in my test QDialog. I set dialog's background color and I want the QTabWidget to be transparent.
    If I use Windows style then the tab is opaque. If I use plastique style it is ok (transparent).
    I use Qt style sheets.
    Qt Code:
    1. m_tabWidget->setStyleSheet("QTabWidget{ background-color: rgba(0, 0, 0, 0)}");
    To copy to clipboard, switch view to plain text mode 
    Is it window style's bug? I searched for this bug on Nokia's site but couldn't find it.
    I use Qt 4.7 on Windows 7.
    Thank you for any help.

  2. #2
    Join Date
    Feb 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTabWidget QSS transparency not working under Windows

    Hello,

    i have the same problem with QDialogs on windows xp and ubuntu 10.10 since i switched from qt 4.5.0 (embedded) to qt 4.7.0 (not embedded).

    Any ideas?

    hardy

Similar Threads

  1. Replies: 1
    Last Post: 6th December 2010, 15:18
  2. Getting Phonon working on windows XP
    By keshava in forum Installation and Deployment
    Replies: 0
    Last Post: 12th May 2009, 16:37
  3. Windows fonts not working in QT?
    By frenetic in forum Installation and Deployment
    Replies: 2
    Last Post: 10th January 2009, 02:17
  4. Transparency problems with system tray in Windows
    By lliehu in forum Qt Programming
    Replies: 2
    Last Post: 8th December 2007, 15:37

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.