[Android-development] Look of widgets on Android

Rutledge Shawn Shawn.Rutledge at theqtcompany.com
Mon Dec 29 09:52:49 CET 2014


On 29 Dec 2014, at 08:59, A. Savelov <s_savelov at mail.ru> wrote:

> You understood me right: I wanted to clip off left 200 pixels. In general, I'm seeking for approach in Qml similar to QScrollArea in widgets, where I can dynamically form and draw part of the scene which is updated (in widgets I could get rect for update from QPaintEvent). The main criterion is effectiveness.

Using QPainter to render every frame might be slow though, depending on whether it happens to use the raster engine.  (renderTarget)

You could put the canvas in a Flickable, and set clip: true on that.


More information about the Android-development mailing list