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. QML Slider different from QWidget Slider..Why?

QML Slider different from QWidget Slider..Why?

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 385 Views
  • 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.
  • P Offline
    P Offline
    PSI_lbc
    wrote on last edited by
    #1

    OK. Maybe I'm missing something obvious.

    With a QWidget based slider, you can set a min/max, set a tic interval, set the step size for handle movement for both a standard step and a page step. You can set the handle position to any value between the min and max and have it position to a value between tic marks.

    With a QML Slider, the step size IS the tic interval. If you set a handle position (slider:value) between tick marks it does not move at all until it gets a value change of at least the tic interval size. It does not even accumulate minor increments less than a tic interval.

    This behavior renders the QML Slider with tic marks virtually useless.

    What am I missing? Do I need to create my own slider version in QML?

    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 Extensions
    • Unsolved