29
29
onEntered: toolTipHideTimer.running = false
30
30
onExited: toolTipHideTimer.running = true
32
width: childrenRect.width
35
property variant icon: tooltipDialog.appletDelegate.icon
36
property string title: tooltipDialog.appletDelegate.title
37
property string description: tooltipDialog.appletDelegate.description
38
property string author: tooltipDialog.appletDelegate.author
39
property string email: tooltipDialog.appletDelegate.email
40
property string license: tooltipDialog.appletDelegate.license
41
property string pluginName: tooltipDialog.appletDelegate.pluginName
42
property bool local: tooltipDialog.appletDelegate.local
37
property string description
38
property string author
40
property string license
41
property string pluginName
44
onClicked: tooltipDialog.visible = false
47
onAppletDelegateChanged: {
48
if (!tooltipDialog.appletDelegate) {
51
icon = tooltipDialog.appletDelegate.icon
52
title = tooltipDialog.appletDelegate.title
53
description = tooltipDialog.appletDelegate.description
54
author = tooltipDialog.appletDelegate.author
55
email = tooltipDialog.appletDelegate.email
56
license = tooltipDialog.appletDelegate.license
57
pluginName = tooltipDialog.appletDelegate.pluginName
58
local = tooltipDialog.appletDelegate.local
45
62
id: tooltipIconWidget
46
63
anchors.left: parent.left
80
95
anchors.top: tooltipIconWidget.bottom
81
96
anchors.topMargin: 16
97
anchors.bottom: uninstallButton.top
98
anchors.bottomMargin: 4
86
color: theme.textColor
87
anchors.right: licenseText.left
102
PlasmaComponents.Label {
103
text: i18n("License: ")
88
104
wrapMode: Text.Wrap
106
PlasmaComponents.Label {
93
color: theme.textColor
98
color: theme.textColor
99
anchors.right: authorText.left
111
PlasmaComponents.Label {
112
text: i18n("Author: ")
115
PlasmaComponents.Label {
105
color: theme.textColor
106
117
wrapMode: Text.Wrap
110
121
PlasmaComponents.Button {
112
124
horizontalCenter: parent.horizontalCenter
113
125
bottom: parent.bottom