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

Add std::format support for geometric types

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Core: Other
    • None

    Description

      It would be convenient to be able to format types like QLine(F), QPoint(F), QRect(F), etc.

      For the FP types it would be nice to reuse the std::format format specifiers that allow to specify the precision.

      Also, some custom format specifiers should be added. For example, for QRect(F) it would be nice to be able to output it in two ways:

      • top-left + bottom-right corners
      • top-left corner + width and height

      Attachments

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

        Activity

          People

            cnn Qt Core & Network
            ivan.solovev Ivan Solovev
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes