PDA

View Full Version : [4.7] QML properties load order



bunjee
25th September 2010, 00:45
Hey guys,

Is there a way to specify the "first load" order for QML properties.

For instance:


Item {
loadMeFirst: 1

width: 200
height: 200
}

When calling create QDeclarativeComponent::create(QDeclarativeContext * context = 0), I want "setLoadMeFirst" to be called before "setWidth" and "setHeight".

Thanks.