Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-21093

Create a QSlider-like widget for inputting doubles

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • None

    Description

      I have often wanted a slider widget for inputting floating-point values. Although it is possible to map the desired range to an integer set, this is inconvenient and limits the range of values that the widget can express. It would be extremely useful to have a properly implemented double slider, using double as its internal data representation.

      (I have a partial implementation that I may be able to share. It is based on QWidget, as I do not see any other way to do it properly, and lacks some QSlider features, including tracking, orientation and ticks. However it works and is a fairly clean implementation, although it does not implement the QSlider/QAbstractSlider split, which may be desirable for a proper in-Qt implementation.)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            matthew.woehlke Matthew Woehlke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes