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

Documentation for QGraphicsItem::setCacheMode is wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.0
    • 4.7.2
    • Widgets: GraphicsView
    • None
    • Linux
    • 645f9eec00b63c076cad488c7ec19a5be9e5dd5e

    Description

      This statement is wrong: "When enabled, the item's paint() function will be called only once for each call to update(); for any subsequent repaint requests, the Graphics View framework will redraw from the cache."

      The cached pixmap is also cleared from the Qt side, internally, without prior update request. Please clarify how this cache is supposed to be used.

      Attachments

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

        Activity

          People

            peppe Giuseppe D'Angelo
            mikhas Michael Hasselmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes