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

QGraphicsDropShadowEffect the shadow scalable is not correct in the scene

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.14
    • Active Qt

    Description

      The QGraphicsDropShadowEffect is strongly tied to pixels and not to scene units. This leads to the fact that when scaling QGraphicsView, the item shadow runs away to the side, because the number of pixels is fixed, but the size of the item has changed.
      This is not critical when viewing a document, but it may be critical when printing a document. When the user sees one picture on the screen, and a slightly different one is printed on the sheet.

      To fix this, needs to add Hints method where developer can specify what want to bind the shadow size: to screen pixels or to scene units.

       

      https://forum.qt.io/topic/142888/qgraphicsdropshadoweffect-the-shadow-scalable-is-not-correct-in-the-scene

      Attachments

        Activity

          People

            owolff Oliver Wolff
            qtfc 123 789
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: