Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/Task.qml
Show First 20 Lines • Show All 492 Lines • ▼ Show 20 Line(s) | 487 | Loader { | |||
---|---|---|---|---|---|
493 | width: units.roundToIconSize(Math.min(Math.min(iconBox.width, iconBox.height), units.iconSizes.smallMedium)) | 493 | width: units.roundToIconSize(Math.min(Math.min(iconBox.width, iconBox.height), units.iconSizes.smallMedium)) | ||
494 | height: width | 494 | height: width | ||
495 | 495 | | |||
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 | | ||||
502 | MouseArea { | ||||
503 | anchors.fill: parent | ||||
504 | enabled: parent.shown | ||||
505 | onClicked: toggleMuted() | ||||
ngraham: Don't need braces here | |||||
506 | } | ||||
501 | } | 507 | } | ||
502 | 508 | | |||
503 | PlasmaComponents.Label { | 509 | PlasmaComponents.Label { | ||
504 | id: label | 510 | id: label | ||
505 | 511 | | |||
506 | visible: (inPopup || !iconsOnly && model.IsLauncher !== true | 512 | visible: (inPopup || !iconsOnly && model.IsLauncher !== true | ||
507 | && (parent.width - iconBox.height - units.smallSpacing) >= (theme.mSize(theme.defaultFont).width * LayoutManager.minimumMColumns())) | 513 | && (parent.width - iconBox.height - units.smallSpacing) >= (theme.mSize(theme.defaultFont).width * LayoutManager.minimumMColumns())) | ||
508 | 514 | | |||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |
Don't need braces here