Changeset View
Changeset View
Standalone View
Standalone View
plasmoid/package/contents/ui/PrinterItem.qml
Show First 20 Lines • Show All 161 Lines • ▼ Show 20 Line(s) | 142 | ListView { | |||
---|---|---|---|---|---|
162 | highlight: PlasmaComponents.Highlight{} | 162 | highlight: PlasmaComponents.Highlight{} | ||
163 | delegate: actionItem | 163 | delegate: actionItem | ||
164 | 164 | | |||
165 | 165 | | |||
166 | Behavior on opacity { NumberAnimation { duration: units.shortDuration * 3 } } | 166 | Behavior on opacity { NumberAnimation { duration: units.shortDuration * 3 } } | ||
167 | 167 | | |||
168 | Component.onCompleted: currentIndex = -1 | 168 | Component.onCompleted: currentIndex = -1 | ||
169 | 169 | | |||
170 | PrintManager.ProcessRunner { | | |||
171 | id: processRunner | | |||
172 | } | | |||
173 | | ||||
174 | Component { | 170 | Component { | ||
175 | id: actionItem | 171 | id: actionItem | ||
176 | 172 | | |||
177 | Item { | 173 | Item { | ||
178 | height: Math.max(actionIcon.height, actionText.height + jobsCountText.height) + Math.round(units.gridUnit / 3) | 174 | height: Math.max(actionIcon.height, actionText.height + jobsCountText.height) + Math.round(units.gridUnit / 3) | ||
179 | width: actionsList.width | 175 | width: actionsList.width | ||
180 | 176 | | |||
181 | PlasmaCore.IconItem { | 177 | PlasmaCore.IconItem { | ||
▲ Show 20 Lines • Show All 125 Lines • Show Last 20 Lines |