Skip to content

Provide pressed feedback for ResultView

Kai Uwe Broulik requested to merge work/kbroulik/press-feedback-down into master

Use "down" instead of "pressed" (which is read-only) for indicating pressed down state, and make the highlight show feedback for when the current item is "down".

Also use highlightedTextColor accordingly.

Since the ListView has its own highlight, the ItemDelegate's will not be shown.


@alex @ratijas

So it doesn’t technically need libplasma!991 (merged) to work

Not entirely sure what the history behind the tinting was (I think there was a problem with just using opacity), so I tint it a bit less when pressed otherwise the color becomes super hard to read.

While at it used Qt.alpha and split it into a dedicated property so it can be reused

Screenshot_20231128_133540

Also switch icon to selected state

Screenshot_20231128_133732

Edited by Kai Uwe Broulik

Merge request reports