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

Modernize comparisons [Core: Geometric Classes]

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P2: Important
    • 6.8.0 FF
    • None
    • Core: Other
    • None
    • 8
    • 2a847dd93 (dev), fa0d77e29 (dev), 30bf16335 (dev), 473d06970 (dev), 8a54d25a4 (dev), 9d4e1b9f8 (dev), d999e6469 (dev), 9bedf8a53 (dev), eb178d3e5 (dev), a4341827a (dev), c2826805d (dev), 3ca9877f8 (dev)
    • Foundation Sprint 103, Foundation Sprint 104, Foundation Sprint 105, Foundation Sprint 106, Foundation Sprint 107

    Description

      See epic for the big picture and (the latest version of) QTBUG-104113 for a detailed description of the necessary changes.

      This is basically QSize, QMargins, QRect, QPoint, QLine and their F variants.

      The dilemma here is that op== for the F variants is broken: it uses qFuzzyCompare instead of overloading qFuzzyCompare for a proper user opt-in. So we probably need to get that API bug out of the way before we can use use the new framework on the F types.

      Acceptance criteria:

      • Implemented using the new framework for non-F- and mixed-type comparsions
      • Implemented qFuzzy* overloads for the F types
      • Deprecated op== for F versions
      • Created follow-up task for Qt 7 to re-implement the F-type op=='s as exact

      Attachments

        Issue Links

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

          Activity

            People

              ivan.solovev Ivan Solovev
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: