Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Does Qt has a doubleSlider which works with double values?
Forum Updated to NodeBB v4.3 + New Features

Does Qt has a doubleSlider which works with double values?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 641 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.
  • S Offline
    S Offline
    SId7117
    wrote on last edited by
    #1

    Hi all,
    I need a slider which returns double values. The slider in QT Creator works only with integer values. Any help in this regard is greatly appreciated.

    1 Reply Last reply
    0
    • B Offline
      B Offline
      Bonnie
      wrote on last edited by
      #2

      No, and there's no need to.
      If I want a slider with value 0.0 - 1.0, I can set a silder of 0 - 100, and get the value as value() * 1.0 / 100

      1 Reply Last reply
      6

      • Login

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