I have looked at the following site, and I am trying to get it working: http://stackoverflow.com/questions/2...other-qml-file
I did not get it working with this code:
ToClick.qml:
ToChange
{
id:luncherList
}
(in mousearea:)
onClicked:
{
luncherList.callUrl = 'T';
}
ToChange
{
id:luncherList
}
(in mousearea:)
onClicked:
{
luncherList.callUrl = 'T';
}
To copy to clipboard, switch view to plain text mode
ToChange.qml:
visible: false
property alias callUrl: item1.visible
onCallUrlChanged:
{
item1.visible = (callUrl != 'T' ? false : true);
}
visible: false
property alias callUrl: item1.visible
onCallUrlChanged:
{
item1.visible = (callUrl != 'T' ? false : true);
}
To copy to clipboard, switch view to plain text mode
What do I have to do to make visible the rectangle of item1 in ToChange.qml on click of ToClick.qml?
Bookmarks