> Far superior alternatives? Maybe not "far" superior, but AFAIK QGraphicsScene / QGraphicsView handles this.
------- Jean-Michaël Celerier http://www.jcelerier.name On Fri, Mar 23, 2018 at 2:44 PM, Mitch Curtis <mitch.cur...@qt.io> wrote: > I'd like to get some discussion going around this: > > https://bugreports.qt.io/browse/QTBUG-67274 > > As I understand it, clipping (the "clip" property) doesn't prevent items > that aren't visible (in the sense of being out of the viewport, not the > "visible" property) from actually being rendered. > > It would be useful if we had a way to do this with minimal effort from the > user. I'm thinking of a e.g. a property or flag in QQuickItem that, when > set, would cause the scenegraph to use the shape (could start off as just > being a bounding rect) of child items to determine whether or not that item > is visible with regards to its parents bounding rect. That way, any regular > old item can benefit from it easily. > > Does anyone else have ideas about this? > > Comments about how it will never work and I should feel bad for suggesting > it? > > Far superior alternatives? > > Please, share your thoughts! :D > _______________________________________________ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development >
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development