Skip to content

kstyle: Draw KIconButton as icon with edit overlay

Kai Uwe Broulik requested to merge work/kbroulik/fancy-icon-button into master

Otherwise it's just a non-descript button with an icon. Adding an edit overlay makes it clear that this thing can be used to edit the icon.

kstyle: Add _breeze_round_button property for drawing circular buttons

This is used in Qt Quick for example for edit overlays. With this, something similar can be used in Qt Widgets.


Used by frameworks/kiconthemes!185 (merged)

Below a certain size (when the button would just cover the icon) it’s rendered as a regular push button as before.

Screenshot_20250620_082604

File properties dialog:

Screenshot_20250620_095818

Edit places entry:

Screenshot_20250620_095847

File type editor:

Screenshot_20250620_105620

Edited by Kai Uwe Broulik

Merge request reports

Loading