Let's say I'm trying to make the logic like this: "If parent component is 
anchored, make a child green, otherwise make it red"

Sent from Mailspring 
(https://link.getmailspring.com/link/1523013678.local-18836154-ab75-v1.2.1-7e744...@getmailspring.com/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=aW50ZXJlc3RAcXQtcHJvamVjdC5vcmc%3D),
 the best free email app for work
On Apr 6 2018, at 2:20 pm, Mitch Curtis <mitch.cur...@qt.io> wrote:
>
> What are you trying to do?
>
> From: Interest [mailto:interest-bounces+mitch.curtis=qt...@qt-project.org] On 
> Behalf Of Alexander Ivash
> Sent: Friday, 6 April 2018 11:40 AM
> To: interest@qt-project.org
> Subject: [Interest] How to determine whether QML item is anchored?
>
>
>
>
>
> What I'm missing? It seems like even not anchored item has 
> anchors.right/left/top/bottom set, so it is not possible to compare with 
> 'undefined' or something. Of course introducing change handler allows to 
> track moment of anchoring (although still no way to track un-anchoring), but 
> this is a bit ugly and not 'Qt-way'.
>
>
> Sent from Mailspring 
> (https://link.getmailspring.com/link/1523013678.local-18836154-ab75-v1.2.1-7e744...@getmailspring.com/1?redirect=https%3A%2F%2Flink.getmailspring.com%2Flink%2F1523007448.local-615ef209-6912-v1.2.1-7e7447b6%40getmailspring.com%2F0%3Fredirect%3Dhttps%253A%252F%252Fgetmailspring.com%252F%26recipient%3DaW50ZXJlc3RAcXQtcHJvamVjdC5vcmc%253D&recipient=aW50ZXJlc3RAcXQtcHJvamVjdC5vcmc%3D),
>  the best free email app for work
>
>
>
>
>
>
>

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to