Results 1 to 11 of 11

Thread: QTabWidget transparent background problem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: QTabWidget transparent background problem

    Quote Originally Posted by destroyar0 View Post
    QStyleFactory styleFactory;
    qApplication.setStyle(styleFactory.create("plastiq ue"));
    better use simply in your main function:

    Qt Code:
    1. ...
    2. QApplication::setStyle(new QPlastiqueStyle); // or QCleanlooksStyle, or...
    3. QApplication a(argc, argv);
    4. ...
    To copy to clipboard, switch view to plain text mode 
    Last edited by Lykurg; 20th June 2009 at 11:56. Reason: updated contents: changed order of the code...

Similar Threads

  1. QTabWidget problem
    By alan lenton in forum Qt Programming
    Replies: 5
    Last Post: 25th July 2016, 16:16
  2. transparent background
    By fruzzo in forum Qt Programming
    Replies: 13
    Last Post: 18th March 2008, 14:42
  3. StyleSheet Problem with QTabWidget
    By December in forum Qt Programming
    Replies: 1
    Last Post: 8th August 2007, 22:16
  4. QTabWidget Parenting Problem
    By mclark in forum Newbie
    Replies: 4
    Last Post: 18th January 2007, 15:20
  5. QTabWidget - problem with resizing
    By moowy in forum Qt Programming
    Replies: 5
    Last Post: 14th September 2006, 14:06

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.