Hi,
I have a panel which has something like:
Item {
id:
functions;
}
DropList {
id: dropList
visible = false
items:
}
ButtonsContainer {
id:
items: GetItFromFunctionInItem()
onItemClicked: {
var value = text
}
Item {
id:
functions;
}
DropList {
id: dropList
visible = false
items:
}
ButtonsContainer {
id:
items: GetItFromFunctionInItem()
onItemClicked: {
var value = text
}
To copy to clipboard, switch view to plain text mode
I want to do something like:
ButtonsContainer {
id:
onItemClicked: {
var value = text
dropList.visible = true
}
ButtonsContainer {
id:
onItemClicked: {
var value = text
dropList.visible = true
}
To copy to clipboard, switch view to plain text mode
How do I do this? If I try to access the "visible" property of DropList in ButtonsContainer::OnItermClicked, it does not work.
My requirement is that once a value is selected, the drop list should become visible so that two more options are visible.
Please help.
Regards,
rsmitha.
Bookmarks