Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
-
63899f3185b443ba3cdb7f34cf09f0ac01c5c037
Description
I'm using a custom, non-attached ToolTip to display different types of information to the user. I need it to be non-attached because I want to position it manually. The issue is that I need to set a bunch of properties and then call open()
infoToolTip.text = "Reloaded assets" infoToolTip.timeout = 1000 infoToolTip.open() // ... infoToolTip.text = "Did some other stuff with text that takes a longer time to read" infoToolTip.timeout = 1500 infoToolTip.open()
rather than call show() like I can with an attached ToolTip. So the suggestion is to add show():
infoToolTip.show("Reloaded assets", 1000) // ... infoToolTip.show("Did some other stuff with text that takes a longer time to read", 2000)
Attachments
For Gerrit Dashboard: QTBUG-62890 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
219231,4 | QQuickToolTip: add non-attached show() and hide() methods | dev | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |