Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/Task.qml
Show First 20 Lines • Show All 495 Lines • ▼ Show 20 Line(s) | 487 | Loader { | |||
---|---|---|---|---|---|
496 | anchors { | 496 | anchors { | ||
497 | right: parent.right | 497 | right: parent.right | ||
498 | rightMargin: iconBox.adjustMargin(true, parent.width, taskFrame.margins.right) | 498 | rightMargin: iconBox.adjustMargin(true, parent.width, taskFrame.margins.right) | ||
499 | verticalCenter: parent.verticalCenter | 499 | verticalCenter: parent.verticalCenter | ||
500 | } | 500 | } | ||
501 | 501 | | |||
502 | MouseArea { | 502 | MouseArea { | ||
503 | anchors.fill: parent | 503 | anchors.fill: parent | ||
504 | enabled: parent.shown | 504 | enabled: audioStreamIconLoader.shown | ||
505 | hoverEnabled: true | ||||
ngraham: Don't need braces here | |||||
505 | onClicked: toggleMuted() | 506 | onClicked: toggleMuted() | ||
507 | | ||||
508 | PlasmaCore.FrameSvgItem { | ||||
509 | anchors.fill: parent | ||||
510 | visible: audioStreamIconLoader.shown && parent.containsMouse | ||||
511 | imagePath: "widgets/viewitem" | ||||
512 | prefix: "hover" | ||||
513 | } | ||||
506 | } | 514 | } | ||
507 | } | 515 | } | ||
508 | 516 | | |||
509 | PlasmaComponents.Label { | 517 | PlasmaComponents.Label { | ||
510 | id: label | 518 | id: label | ||
511 | 519 | | |||
512 | visible: (inPopup || !iconsOnly && model.IsLauncher !== true | 520 | visible: (inPopup || !iconsOnly && model.IsLauncher !== true | ||
513 | && (parent.width - iconBox.height - units.smallSpacing) >= (theme.mSize(theme.defaultFont).width * LayoutManager.minimumMColumns())) | 521 | && (parent.width - iconBox.height - units.smallSpacing) >= (theme.mSize(theme.defaultFont).width * LayoutManager.minimumMColumns())) | ||
▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines |
Don't need braces here