[Qt-qml] 2d table view

michael.brasser at nokia.com michael.brasser at nokia.com
Tue Apr 27 05:10:13 CEST 2010


Hi,

On 26/04/2010, at 6:18 PM, ext Christian Kamm wrote:
> I want to show a flickable tile-based map view. The GridView element seems not 
> to be designed for for this usecase: it shows only one-dimensional models and, 
> more importantly, adjusts the number of shown columns to fit the view width.
> 
> If I put a Grid into a Flickable, performace goes down drastically: all the 
> elements in the grid are instantiated, no matter if visible or not.
> 
> This usecase sounds like an ideal candidate for a two-dimensional model and a 
> 'TableView'. Are there plans to build such a component? Is someone working on 
> it already? Is there a good way to achieve this behavior today?

We've experimented with a TiledFlickable in the past, though it wasn't included for 4.7. Table/tree views were low priority for the initial release, but probably make sense as future additions (though I don't know of any concrete plans yet).

Michael



More information about the Qt-qml mailing list