Details
Description
Implement clipping in a way compatible with QML
In QGraphicsView and therefore also in the form editor the clip property is inherited by QML.
import QtQuick Item { id: root clip: true width: 640 height: 480 Text { id: _text x: 25 y: 16 width: 103 height: 111 text: qsTr("314") font.pixelSize: 90 font.bold: true } }
Since we cannot change/control how clip works in graphics view we have ti implement our own clipping.
Attachments
For Gerrit Dashboard: QDS-14044 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
608624,3 | FromEditorItem: Fix for the clipping issues | qds/dev | qt-creator/qt-creator | Status: MERGED | +2 | +1 |
608625,2 | qml2puppet: update pixmap when clipping changes | qds/dev | qt-creator/qt-creator | Status: MERGED | +2 | +1 |