Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/ToolTipInstance.qml
Show First 20 Lines • Show All 85 Lines • ▼ Show 20 Line(s) | 84 | PlasmaCore.IconItem { | |||
---|---|---|---|---|---|
86 | Layout.preferredHeight: units.iconSizes.medium | 86 | Layout.preferredHeight: units.iconSizes.medium | ||
87 | source: icon | 87 | source: icon | ||
88 | animated: false | 88 | animated: false | ||
89 | usesPlasmaTheme: false | 89 | usesPlasmaTheme: false | ||
90 | visible: !isWin | 90 | visible: !isWin | ||
91 | } | 91 | } | ||
92 | // all textlabels | 92 | // all textlabels | ||
93 | Column { | 93 | Column { | ||
94 | RowLayout { | ||||
95 | width: isWin ? textWidth : undefined | ||||
96 | spacing: units.smallSpacing | ||||
97 | | ||||
94 | PlasmaExtras.Heading { | 98 | PlasmaExtras.Heading { | ||
95 | level: 3 | 99 | level: 3 | ||
96 | width: isWin ? textWidth : undefined | 100 | Layout.fillWidth: true | ||
97 | height: undefined | | |||
98 | maximumLineCount: 1 | 101 | maximumLineCount: 1 | ||
99 | elide: Text.ElideRight | 102 | elide: Text.ElideRight | ||
100 | text: appName | 103 | text: appName | ||
101 | opacity: flatIndex == 0 | 104 | opacity: flatIndex == 0 | ||
102 | textFormat: Text.PlainText | 105 | textFormat: Text.PlainText | ||
103 | visible: text !== "" | 106 | visible: text !== "" | ||
104 | } | 107 | } | ||
108 | | ||||
109 | Rectangle { | ||||
110 | width: units.iconSizes.smallMedium | ||||
111 | height: units.iconSizes.smallMedium | ||||
112 | radius: width | ||||
113 | color: theme.highlightColor | ||||
114 | visible: flatIndex === 0 && smartLauncherCountVisible | ||||
115 | | ||||
116 | PlasmaComponents.Label { | ||||
117 | anchors.centerIn: parent | ||||
118 | width: height | ||||
119 | height: Math.round(parent.height) | ||||
120 | horizontalAlignment: Text.AlignHCenter | ||||
121 | verticalAlignment: Text.AlignVCenter | ||||
122 | fontSizeMode: Text.Fit | ||||
123 | font.pointSize: 1024 | ||||
124 | minimumPointSize: 5 | ||||
125 | color: theme.backgroundColor | ||||
126 | text: smartLauncherCount | ||||
127 | } | ||||
128 | } | ||||
129 | } | ||||
130 | | ||||
105 | // window title | 131 | // window title | ||
106 | PlasmaExtras.Heading { | 132 | PlasmaExtras.Heading { | ||
107 | level: 5 | 133 | level: 5 | ||
108 | width: isWin ? textWidth : undefined | 134 | width: isWin ? textWidth : undefined | ||
109 | height: undefined | 135 | height: undefined | ||
110 | maximumLineCount: 1 | 136 | maximumLineCount: 1 | ||
111 | elide: Text.ElideRight | 137 | elide: Text.ElideRight | ||
112 | text: generateTitle() | 138 | text: generateTitle() | ||
▲ Show 20 Lines • Show All 356 Lines • Show Last 20 Lines |