+ Reply to Thread
Results 1 to 1 of 1

Thread: Implementing Spotify's volume slider with QSlider.

  1. #1
    Join Date
    May 2017
    Qt products

    Default Implementing Spotify's volume slider with QSlider.

    Hi everyone, this is my first post!

    So, I'm trying to create a volume slider similar to the one found in the desktop version of Spotify on Windows. I'm posting images showing the behaviors I'm interested in if you are not familiar with Spotify. As you see when you hover the sub-page is turning green and the handle appears. So my issues are 2.

    1) Can't turn green the sub-page on QSlider::sub-page:hover.
    2) Can't show the handle only on QSlider::groove:hover.

    I don't know if it is doable with setStyleSheet(), but I prefer it over having to subclass QSlider. I'm happy to post the relevant code if you want, though I believe that I can't set background on sub-page.
    Attached Images Attached Images

+ Reply to Thread

Similar Threads

  1. Volume Slider changes nothing in terms of volume
    By zgulser in forum Qt Programming
    Replies: 1
    Last Post: 28th September 2012, 15:55
  2. system volume in qslider controller
    By breakthecode in forum Newbie
    Replies: 1
    Last Post: 13th December 2011, 06:07
  3. how controll system volume in qslider
    By breakthecode in forum Qt Programming
    Replies: 2
    Last Post: 11th December 2011, 20:08
  4. Phonon and Volume Slider (Nokia N8)
    By abashir in forum Newbie
    Replies: 0
    Last Post: 6th January 2011, 22:46
  5. Replies: 2
    Last Post: 21st March 2010, 09:01


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts