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

QPainter should have drawString with QStringView

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.2.3
    • GUI: Painting
    • None
    • All

    Description

      QPainter should have drawString to draw using QStringView.

      For example, if I have long QString and want to draw some substrings from this string. This substrings is temporary objects that using only for drawing. So in paintEvent created many temporary strings. It can be avoided if draw substrings of QString using QStringView(or QStringRef in qt5) constructed from part of QString.

      Attachments

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

        Activity

          People

            vgt Eirik Aavitsland
            vjacheslav vjacheslav
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes