Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to change the handle of a horizontal slider?

How to change the handle of a horizontal slider?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ronak5
    wrote on last edited by
    #1

    Hello,
    I see square icon handle by default on the slider. Is it possible to customize it to round handle and also fill some different color on dragging the slider?
    Thanks.

    J.HilkJ 1 Reply Last reply
    0
    • R Ronak5

      Hello,
      I see square icon handle by default on the slider. Is it possible to customize it to round handle and also fill some different color on dragging the slider?
      Thanks.

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by J.Hilk
      #2

      hi @Ronak5

      take a look here
      https://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-slider

      the handle properereproperty is what you want to customize.


      Edit: properere, what's that supposed to be x)


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      R 1 Reply Last reply
      1
      • J.HilkJ J.Hilk

        hi @Ronak5

        take a look here
        https://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-slider

        the handle properereproperty is what you want to customize.


        Edit: properere, what's that supposed to be x)

        R Offline
        R Offline
        Ronak5
        wrote on last edited by
        #3

        @J.Hilk said in How to change the handle of a horizontal slider?:

        properere

        hey thanks a lot for the hint.

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved