tuxit

3rd August 2011, 12:34

I tried to output the values of a

Rectangle {

id='myrect'

...

}

with myrect.top myrect.left

and it doesn't return a double or real value that i can use in calculations

it writes only QVariant(QDeclarativeAnchorLine)

i need to calculate and do some control, is it possible or qml does not allow us to do such calculations?

Rectangle {

id='myrect'

...

}

with myrect.top myrect.left

and it doesn't return a double or real value that i can use in calculations

it writes only QVariant(QDeclarativeAnchorLine)

i need to calculate and do some control, is it possible or qml does not allow us to do such calculations?