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

QDoubleSpinBox - Pasting a double not rounding it

    XMLWordPrintable

Details

    Description

      If I have a QDoubleSpinBox with decimals set to 2, and I try to paste in 99.456 nothing happens. It would be reasonable (and I would expect it to) paste in 99.46.

      From the docs:

      Note: QDoubleSpinBox will round numbers so they can be displayed with the current precision.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            asm Andy M
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes