[Interest] Getting started with QML

Alex Strickland sscc at mweb.co.za
Thu Nov 24 11:07:06 CET 2011


Hi

Some QML noob questions.

How do I "program" a grid, at startup I might want 1 row/1 col, or 1 
row/2 cols ... 2 rows/3 cols? I know a model in a Repeater can reference 
parent.rows and parent.columns, but how do I "inject" these values?

Can the members of the grid be lists?

If I maximise a screen, is there a way to scale everything? Does my 
initial rectangle of 400x400 scale up to the screen pixels? Does x = 5 
become 20 if, for arguments sake, my screen is 1600x1600.

TIA
-- 
Alex



More information about the Interest mailing list