I want to show all ToolTips of buttons when a helper button's clicking triggered.
I could do it with only a button with ToolTip.show("Some instruction", -1), but when I called this method with more than 1 buttons, only last called ToolTip show itself.
I found the ToolTip inherits Popup, so I think I can solve my problem if I can make multiple Popups to show on a window.
Below is what I wanted to do. Any ideas?
Button {
id: helperButton
text: "Help"
onClicked: {
otherButton1.ToolTip.show("button 1's instruction", -1)
otherButton2.ToolTip.show("button 2's instruction", -1)
otherButton3.ToolTip.show("button 3's instruction", -1)
}
}
/// Result: Only ToolTip of @otherButton3 shows. I want all buttons' ToolTip show at the same time.
