Results 1 to 2 of 2

Thread: Slider groove not very groovy

  1. #1
    Join Date
    Aug 2012
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Slider groove not very groovy

    Hi,

    I'm trying to get rid of what I believe is called "groove" from my slider - basically the line there on the background.
    I'm using a stylesheet and I have managed to change the handle to my liking, as well as the area between the start and the handle - but I have no luck with that groove thing.

    I've tried to change the background color, which for some weird reason broke the whole slider . Changin the height doesn't seem to have any effect at all and it seems like dislay:none doesn't work/exist here. Neither does visibility:hidden.

    I was quite happy to learn one can style items with css, but not so anymore once I learned it doesn't really work all that well as it does in the world of html...

    So, any advise on how to get rid of the groove on my slider would be highly appreciated!

    Cheers,

    -Hannes

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Slider groove not very groovy

    make your own specialisation and override the paint event.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

Similar Threads

  1. customize the groove of qslider
    By oscar_chen in forum Qt Programming
    Replies: 1
    Last Post: 9th October 2023, 20:38
  2. QSlider: changing the groove without changing the handle
    By Olivier Berten in forum Qt Programming
    Replies: 3
    Last Post: 30th April 2013, 10:02
  3. Hide QSlider groove
    By kwikness in forum Qt Programming
    Replies: 1
    Last Post: 18th August 2010, 07:21
  4. Replies: 2
    Last Post: 21st March 2010, 09:01
  5. Transparent QScrollbar groove in QWebView
    By Jonas in forum Qt Programming
    Replies: 0
    Last Post: 20th October 2008, 08:55

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.