QML Buttons and SVG images

Marco Martin notmart at gmail.com
Tue Nov 6 13:17:33 UTC 2012


On Tue, Nov 6, 2012 at 12:22 PM, Dmitry A. Ashkadov
<dmitry.ashkadov at rosalab.ru> wrote:
> So, if I understand you right, now I shouldn't use QML Button instead of IconWidget? If I remove IconWidget then:
>
> * I will have to work with QAction in QML myself (there is thread about QAction).
> * An icon won't be highlighted when user moves mouse cursor over icon.

on this second one, i think i'll enable something like that in svgitem
and qiconitem
probably also the internal class that i'm using in components,
IconLoader should be exported (and that would get decision between
qicon or svg usage, and highlight animation)

Cheers,
Marco Martin


More information about the Plasma-devel mailing list