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

Document (or make private) QPaintDevice::encodeMetricF(PaintDeviceMetric metric, double value)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • 6.8.0 RC
    • 6.8
    • GUI: Painting
    • None

    Description

      int QPaintDevice::encodeMetricF(PaintDeviceMetric metric, double value) is new public API in Qt 6.8, introduced in https://codereview.qt-project.org/c/qt/qtbase/+/560069 and mentioned in that change log.

      However, as pointed out in header review, it is not documented (not even as \internal).

      Decide what to do with that API before 6.8 RC. Options could be:

      • keep as public static function, but document
      • document as \internal
      • make it an internal qt_encodeMetrics() function
      • make it a private function and add friends where needed

       

      Attachments

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

        Activity

          People

            vgt Eirik Aavitsland
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes