Results 1 to 2 of 2

Thread: qtabwidiget

  1. #1
    Join Date
    Jan 2006
    Posts
    976
    Thanks
    53
    Qt products
    Qt3
    Platforms
    Windows

    Default qtabwidiget

    Hi, I'd like to change the color of background of qtabWidget , but only on the part where apperar the title; How? I need also restore the origial value (gray)....thanks
    Regards

  2. #2
    Join Date
    Jun 2006
    Posts
    2
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: qtabwidiget

    Did you tried to inherit your own class from QTabBar and overwrite the paint-methode? QTabWidget allows you to replace the original QTabBar with the methode 'setTabBar(...). I never did it before but probably it works...

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.