[Interest] Getting started with QML

Alex Strickland sscc at mweb.co.za
Fri Dec 2 09:24:21 CET 2011


On 2011/11/24 01:46 PM, Mark Constable wrote:
> On 2011-11-24 12:07 PM, Alex Strickland wrote:
>> 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.
>
> Not automatically but you can do something like this...

Thank you Mark, I'll check it out.

May I politely prod to see if anyone has an answer for my other question?

"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?"

To expand a bit, it is for a screen system to handle POS orders, and it 
should be configured to show requests from 1, 2, 3 ... etc cash 
registers. Thus the screen would be split into different list boxes 
correspondingly.

Thanks
-- 
Alex



More information about the Interest mailing list