Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.11
-
None
Description
This suggestion issue collects Shape item improvement ideas for Qt 5.11 and beyond.
- radial gradient -> done in 5.10 already
- conical gradient -> done in 5.10 already
- dedicated, simple ellipse item
- maybe others too (rounded rect)
- get a better idea about performance (qmlbench?), compare generic to nvpr, extend best practices in docs if needed, etc.
- pattern fill (lines/sparse/dense, like in QBrush)
- image-based fill (like Qt::TexturePattern in QBrush) -> yet better, fill with any QSGTextureProvider (so layers too, which would effectively provide clipping a subtree to a shape, ShaderEffects-style)
- fills with custom fragment shaders?
- reevaluate the (currently removed, at least when it comes to the public bits) JS data definition API
- Quick only supports clipping to the bounding rects of the clipper. Consider enhancing this? (clip to shapes...)
- hit testing? https://codereview.qt-project.org/#/c/206443/
Attachments
Issue Links
- relates to
-
QTBUG-64508 QML Shape asynchronous z-ordering issue
- Open
-
QTBUG-63105 Shapes do not work with OpacityMask if invisible
- Closed
-
QTBUG-64951 Shapes performance investigation
- Closed
-
QTBUG-59429 ClipperItem for QtQuick
- Reported
-
QDS-27 Implementation of additional Qt Quick shape items
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-61857 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
201088,12 | shapes: Add support for radial gradients | dev | qt/qtdeclarative | Status: MERGED | -2 | 0 |
201198,6 | shapes: Add support for conical gradients | dev | qt/qtdeclarative | Status: MERGED | -2 | 0 |