Results 1 to 8 of 8

Thread: Some questions about custom drawing for QTabWidget/QTabBar

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #8
    Join Date
    Sep 2009
    Posts
    57
    Thanks
    7
    Thanked 5 Times in 4 Posts

    Default Re: Some questions about custom drawing for QTabWidget/QTabBar

    I am looking to do something similar -- i.e. changing the way tab bars are painted. The stylesheet settings are pretty limited and I would rather re-implement paint/paintEvent than "use graphicsscene" and "implement the complete behaviour of tab bar yourself" .. since this is really saying "write a custom widget and don't use QTabBar".

    Has anyone managed to get any success with painting the background and individual tabs of a QTabBar?

    What about the OP -- what did you do to resolve this?
    Last edited by liversedge; 5th June 2011 at 20:14. Reason: wrong bbcode tag usage

Similar Threads

  1. Drawing standard widgets using a custom paint engine
    By Waywocket in forum Qt Programming
    Replies: 26
    Last Post: 21st October 2010, 20:40
  2. Replies: 1
    Last Post: 3rd November 2009, 22:26
  3. Replies: 0
    Last Post: 10th October 2009, 05:44
  4. custom QColumnView, some questions
    By Mystical Groovy in forum Qt Programming
    Replies: 1
    Last Post: 9th October 2009, 14:03
  5. Some questions about custom style
    By charlse in forum Qt Programming
    Replies: 0
    Last Post: 2nd April 2009, 09:54

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
  •  
Qt is a trademark of The Qt Company.