Restore API: ToolTip.visualParent becomes target
This commit is contained in:
parent
e4ee4d6dd0
commit
010f471bc7
@ -44,7 +44,7 @@ MouseArea {
|
||||
property alias subText: tooltipWindow.subText // string
|
||||
property alias iconSource: tooltipIcon.source // icon name
|
||||
property alias image: tooltipImage.source // string / url to the image
|
||||
property Item visualParent: parent
|
||||
property Item target: parent
|
||||
|
||||
// private props
|
||||
property int _s: theme.iconSizes.small / 2
|
||||
@ -73,7 +73,7 @@ MouseArea {
|
||||
|
||||
PlasmaCore.ToolTipWindow {
|
||||
id: tooltipWindow
|
||||
visualParent: tooltip.visualParent
|
||||
visualParent: tooltip.target
|
||||
|
||||
mainItem: PlasmaCore.FrameSvgItem {
|
||||
id: tooltipSvg
|
||||
|
@ -100,7 +100,7 @@ PlasmaComponents.Page {
|
||||
// Rectangle { color: "orange"; opacity: 0.3; anchors.fill: parent; }
|
||||
PlasmaCore.ToolTip {
|
||||
anchors.fill: parent
|
||||
visualParent: akonadiIcon
|
||||
target: akonadiIcon
|
||||
iconSource: "klipper"
|
||||
mainText: "Fish sighted in the wild, in the wild, a fish was seen."
|
||||
subText: "A mean-looking grouper swam by."
|
||||
|
Loading…
Reference in New Issue
Block a user