D9227: [Breeze widget style] Override QLineEditIconButton paint event to force Active icon on press

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Dec 7 09:35:09 UTC 2017


broulik added a comment.


  So that in `polish()` I change the icon for `QLineEditIconButton` to be a `QIcon` which has manually put the `QIcon::Active` pixmaps in `QIcon::Selected` category? However what are the implications of this wrt speed (how often is `polish` called, I don't think I can "mark" the icon as "already tampered with") and when app changes the icon (need to update the thing)?

REPOSITORY
  R31 Breeze

REVISION DETAIL
  https://phabricator.kde.org/D9227

To: broulik, #plasma, #vdg, hpereiradacosta
Cc: ngraham, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171207/a5c87eea/attachment.html>


More information about the Plasma-devel mailing list