Results 1 to 14 of 14

Thread: QTabBar stylesheet references (changing base color)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QTabBar stylesheet references (changing base color)

    Can you show the stylesheet for styling the line you wanted?
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  2. #2
    Join Date
    Mar 2011
    Posts
    8

    Default Re: QTabBar stylesheet references (changing base color)

    It was a dumb rect. I'm deactivating it.
    I think the best solution is to play with the bottom margin or border of my QDockWidget.

    I'll post the stylesheet when i'm done.

  3. #3
    Join Date
    Mar 2011
    Posts
    8

    Default Re: QTabBar stylesheet references (changing base color)

    Ok, I couldn't solve this with stylesheet.

    In fact there is a gap in the QMainWindow between the Docks Widgets and the Central Widgets, I couldn't manage to reduce it, so I did it drawing a rec behing the widgets ... sounds crap to me, but I hope I will find a better solution later.

Similar Threads

  1. QTabBar and different background color
    By smrtak in forum Qt Programming
    Replies: 5
    Last Post: 15th May 2012, 16:49
  2. Replies: 2
    Last Post: 8th February 2011, 14:53
  3. Changing Slider Base
    By eLancaster in forum Newbie
    Replies: 1
    Last Post: 5th December 2010, 16:28
  4. QTabBar tab color
    By Oleg in forum Qt Programming
    Replies: 3
    Last Post: 29th March 2010, 09:11
  5. QTabBar stylesheet problem
    By shud in forum Qt Programming
    Replies: 1
    Last Post: 28th November 2009, 12:54

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.