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. Qt Quick Desktop Components: Dial - step size
Forum Updated to NodeBB v4.3 + New Features

Qt Quick Desktop Components: Dial - step size

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 2 Posters 2.4k 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.
  • F Offline
    F Offline
    frankiefrank
    wrote on last edited by
    #1

    I'm not sure where to ask questions about the Desktop components, so if it's not here, I'd be happy to be directed to wherever it's better.

    I'm talking about this project:
    http://qt.gitorious.org/qt-components/desktop

    I was using the Dial.qml and I see that there's no way to access a step property. How can I use the step size in order to make my values "stepped", like the way the Slider works?

    "Roads? Where we're going, we don't need roads."

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jens
      wrote on last edited by
      #2

      I simply had not implemented that. I just pushed a fix that adds tickMarksEnabled to the slider. You should also set the stepSize to control the tick marks.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        frankiefrank
        wrote on last edited by
        #3

        Thanks Jens, I didn't understand though, I was talking about the Dial control, were you talking about a fix you pushed to the dial or to the slider?

        "Roads? Where we're going, we don't need roads."

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Jens
          wrote on last edited by
          #4

          I pushed a fix to the Dial control that adds a tickMarksEnabled property, just like in the Slider. Sorry for the confusion. Don't hesitate to report missing features like this on the bug tracker in the future. Mark as "Qt Quick Components"/desktop.

          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