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

Create a QSlider-like widget for inputting doubles

XMLWordPrintable

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

      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.)

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

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

              Created:
              Updated:

                There are no open Gerrit changes