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

Modernize comparisons [Core: Geometric Classes]

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Core: Other
    • None
    • 8
    • 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

          For Gerrit Dashboard: QTBUG-120308
          # Subject Branch Project Status CR V

          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: