Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/Task.qml
Show First 20 Lines • Show All 282 Lines • ▼ Show 20 Line(s) | 279 | anchors { | |||
---|---|---|---|---|---|
283 | bottomMargin: (!tasks.vertical && taskList.rows > 1) ? units.smallSpacing / 4 : 0 | 283 | bottomMargin: (!tasks.vertical && taskList.rows > 1) ? units.smallSpacing / 4 : 0 | ||
284 | leftMargin: ((inPopup || tasks.vertical) && taskList.columns > 1) ? units.smallSpacing / 4 : 0 | 284 | leftMargin: ((inPopup || tasks.vertical) && taskList.columns > 1) ? units.smallSpacing / 4 : 0 | ||
285 | rightMargin: ((inPopup || tasks.vertical) && taskList.columns > 1) ? units.smallSpacing / 4 : 0 | 285 | rightMargin: ((inPopup || tasks.vertical) && taskList.columns > 1) ? units.smallSpacing / 4 : 0 | ||
286 | } | 286 | } | ||
287 | 287 | | |||
288 | imagePath: "widgets/tasks" | 288 | imagePath: "widgets/tasks" | ||
289 | property string basePrefix: "normal" | 289 | property string basePrefix: "normal" | ||
290 | prefix: TaskTools.taskPrefix(basePrefix) | 290 | prefix: TaskTools.taskPrefix(basePrefix) | ||
291 | onRepaintNeeded: updatePrefix() | | |||
292 | | ||||
293 | function updatePrefix() { | | |||
294 | prefix = Qt.binding(function() { | | |||
295 | return TaskTools.taskPrefix(basePrefix); | | |||
296 | }); | | |||
297 | } | | |||
298 | | ||||
299 | 291 | | |||
300 | PlasmaCore.ToolTipArea { | 292 | PlasmaCore.ToolTipArea { | ||
301 | id: toolTipArea | 293 | id: toolTipArea | ||
302 | 294 | | |||
303 | anchors.fill: parent | 295 | anchors.fill: parent | ||
304 | location: plasmoid.location | 296 | location: plasmoid.location | ||
305 | 297 | | |||
306 | active: !inPopup && !groupDialog.visible && plasmoid.configuration.showToolTips | 298 | active: !inPopup && !groupDialog.visible && plasmoid.configuration.showToolTips | ||
▲ Show 20 Lines • Show All 248 Lines • Show Last 20 Lines |