Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/Task.qml
Show First 20 Lines • Show All 328 Lines • ▼ Show 20 Line(s) | 323 | PlasmaCore.ToolTipArea { | |||
---|---|---|---|---|---|
329 | active: !inPopup && !groupDialog.visible && plasmoid.configuration.showToolTips | 329 | active: !inPopup && !groupDialog.visible && plasmoid.configuration.showToolTips | ||
330 | interactive: true | 330 | interactive: true | ||
331 | 331 | | |||
332 | mainItem: toolTipDelegate | 332 | mainItem: toolTipDelegate | ||
333 | 333 | | |||
334 | onContainsMouseChanged: { | 334 | onContainsMouseChanged: { | ||
335 | if (containsMouse) { | 335 | if (containsMouse) { | ||
336 | toolTipDelegate.parentTask = task; | 336 | toolTipDelegate.parentTask = task; | ||
337 | toolTipDelegate.parentIndex = itemIndex; | 337 | toolTipDelegate.rootIndex = tasksModel.makeModelIndex(itemIndex, -1); | ||
338 | 338 | | |||
339 | toolTipDelegate.appName = Qt.binding(function() { | 339 | toolTipDelegate.appName = Qt.binding(function() { | ||
340 | return model.AppName; | 340 | return model.AppName; | ||
341 | }); | 341 | }); | ||
342 | toolTipDelegate.pidParent = Qt.binding(function() { | 342 | toolTipDelegate.pidParent = Qt.binding(function() { | ||
343 | return model.AppPid; | 343 | return model.AppPid; | ||
344 | }); | 344 | }); | ||
345 | toolTipDelegate.windows = Qt.binding(function() { | 345 | toolTipDelegate.windows = Qt.binding(function() { | ||
▲ Show 20 Lines • Show All 240 Lines • Show Last 20 Lines |