Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Looking for Slider with value update text
Qt 6.12 LTS is out! See what's new in the release blog

Looking for Slider with value update text

Scheduled Pinned Locked Moved Solved QML and Qt Quick
4 Posts 2 Posters 1.1k 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
    RobM
    wrote on last edited by
    #1

    Hey guys, I am looking for a slider or something similar that allows the user to see their current value e.g. if they move the slider from 0 to 50% and the range is 0 to 100% it will update a display value that tells them their current value. Does QT already have a Type with that kind of built in functionality? I do not believe the normal Slider has that functionality built in.

    ODБOïO 1 Reply Last reply
    0
    • R RobM

      Hey guys, I am looking for a slider or something similar that allows the user to see their current value e.g. if they move the slider from 0 to 50% and the range is 0 to 100% it will update a display value that tells them their current value. Does QT already have a Type with that kind of built in functionality? I do not believe the normal Slider has that functionality built in.

      ODБOïO Offline
      ODБOïO Offline
      ODБOï
      wrote on last edited by ODБOï
      #2

      Hi
      @RobM said in Looking for Slider with value update text:

      Does QT already have a Type with that kind of built in functionality?

      No, but you can easily customize QML Slider and add something to display the value

      edit I fixed the link

      R 1 Reply Last reply
      1
      • ODБOïO ODБOï

        Hi
        @RobM said in Looking for Slider with value update text:

        Does QT already have a Type with that kind of built in functionality?

        No, but you can easily customize QML Slider and add something to display the value

        edit I fixed the link

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

        @LeLev Yeah I went that route. I was hoping there was some sort of more advanced slider out there already. I do have one more quesiton. What is the type of value ? For instance, in the back-end, can I assume the type or will I need to cast it?

        ODБOïO 1 Reply Last reply
        0
        • R RobM

          @LeLev Yeah I went that route. I was hoping there was some sort of more advanced slider out there already. I do have one more quesiton. What is the type of value ? For instance, in the back-end, can I assume the type or will I need to cast it?

          ODБOïO Offline
          ODБOïO Offline
          ODБOï
          wrote on last edited by
          #4

          @RobM
          https://doc.qt.io/qt-5/qtqml-cppintegration-data.html
          https://doc.qt.io/qt-5/qml-qtquick-controls2-slider.html#value-prop

          1 Reply Last reply
          0

          • Login

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