Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/ToolTipInstance.qml
Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Line(s) | 117 | PlasmaExtras.Heading { | |||
---|---|---|---|---|---|
121 | maximumLineCount: 1 | 121 | maximumLineCount: 1 | ||
122 | elide: Text.ElideRight | 122 | elide: Text.ElideRight | ||
123 | text: isWin ? generateSubText() : "" | 123 | text: isWin ? generateSubText() : "" | ||
124 | textFormat: Text.PlainText | 124 | textFormat: Text.PlainText | ||
125 | opacity: 0.6 | 125 | opacity: 0.6 | ||
126 | visible: text !== "" | 126 | visible: text !== "" | ||
127 | } | 127 | } | ||
128 | } | 128 | } | ||
129 | | ||||
130 | // Count badge. | ||||
131 | Badge { | ||||
132 | Layout.alignment: Qt.AlignRight | Qt.AlignTop | ||||
133 | height: units.iconSizes.smallMedium | ||||
134 | visible: flatIndex === 0 && smartLauncherCountVisible | ||||
135 | number: smartLauncherCount | ||||
136 | } | ||||
137 | | ||||
129 | // close button | 138 | // close button | ||
130 | MouseArea { | 139 | MouseArea { | ||
131 | Layout.alignment: Qt.AlignRight | Qt.AlignTop | 140 | Layout.alignment: Qt.AlignRight | Qt.AlignTop | ||
132 | 141 | | |||
133 | height: units.iconSizes.smallMedium | 142 | height: units.iconSizes.smallMedium | ||
134 | width: height | 143 | width: height | ||
135 | 144 | | |||
136 | visible: isWin | 145 | visible: isWin | ||
▲ Show 20 Lines • Show All 332 Lines • Show Last 20 Lines |