Details
-
Suggestion
-
Resolution: Unresolved
-
P4: Low
-
None
-
None
-
None
Description
In my project, the delay and timeout for tooltip are the same for each control, but must be specified across several files. I currently have properties in main.qml, which are used by every other QML file:
ToolTip.text: qsTr("Click to choose the path to a tileset image")
ToolTip.visible: hovered
ToolTip.delay: toolTipDelay
ToolTip.timeout: toolTipTimeout
Since attached types can't be extended, I can't move these properties into e.g. MyToolTip and then reuse that component everywhere. It would be nice to be able to set the default delay and timeout in the qtquickcontrols2.conf file. Something like this (I forget how the syntax works):
[Controls] Style=Material ToolTip\delay=500 ToolTip\timeout=1000
Attachments
Issue Links
- is duplicated by
-
QTBUG-107562 Add the "start" and "reversed" attributes for ordered lists to the supported HTML subset
- Reported