Re: QML Buttons and SVG images

2012-11-06 Thread Marco Martin
On Tue, Nov 6, 2012 at 12:22 PM, Dmitry A. Ashkadov 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 highlighte

Re: QML Buttons and SVG images

2012-11-06 Thread Dmitry A. Ashkadov
perfect. :) I worry about time. Sometimes it isn't possible to continue work because it depends on code that isn't approved yet. - Исходное сообщение - От: "Sebastian Kügler" Кому: plasma-devel@kde.org Отправленные: Вторник, 6 Ноябрь 2012 г 15:55:32 Тема: Re: Q

Re: QML Buttons and SVG images

2012-11-06 Thread Sebastian Kügler
Hey Dmitry On Tuesday, November 06, 2012 14:22:39 Dmitry A. Ashkadov wrote: > So, if I understand you right, now I shouldn't use QML Button instead of > IconWidget? If I remove IconWidget then: IconWidget is something we want to get rid of at some point anyway. > * I will have to work with QActi

Re: QML Buttons and SVG images

2012-11-06 Thread Dmitry A. Ashkadov
f icon, if user clicks on it, won't work. P.S. If my review request was approved, my next work would be easier. - Исходное сообщение - От: "Marco Martin" Кому: plasma-devel@kde.org Отправленные: Вторник, 6 Ноябрь 2012 г 13:34:00 Тема: Re: QML Buttons and SVG images On Tue

Re: QML Buttons and SVG images

2012-11-06 Thread Marco Martin
On Tue, Nov 6, 2012 at 10:24 AM, Dmitry A. Ashkadov wrote: >> this should be using the Button QML element, which does support using SVG >> files. > > but did you mean that that QML Button is Button from Plasma Components > (org.kde.plasma.components)? I looked at code of QML button but I didn't

QML Buttons and SVG images

2012-11-06 Thread Dmitry A. Ashkadov
Hello, Aaron! You have said that I can use QML Button item instead of IconWidget: > the real fix here is to not use IconWidget :) that's a QGraphicsWidget thing > and will need to be replaced eventually anyways. > this should be using the Button QML element, which does support using SVG > fi