Re: QActions in QML

2012-11-24 Thread Dmitry A. Ashkadov
"Sebastian Kügler" Кому: kde-core-devel@kde.org, plasma-de...@kde.org Отправленные: Вторник, 30 Октябрь 2012 г 20:47:30 Тема: Re: QActions in QML On Sunday, October 28, 2012 22:33:55 Daker Fernandes Pinheiro wrote: > This just worked: > http://paste.kde.org/584660/ > Where QAct

Re: QActions in QML

2012-10-30 Thread Sebastian Kügler
On Sunday, October 28, 2012 22:33:55 Daker Fernandes Pinheiro wrote: > This just worked: > http://paste.kde.org/584660/ > Where QAction is > http://paste.kde.org/584672/ I saw that, but you're cheating :) Creating a new Type that wraps QAction is always possible, but it's not a good solution. A

Re: QActions in QML

2012-10-29 Thread Daker Fernandes Pinheiro
Sebas, This just worked: http://paste.kde.org/584660/ Where QAction is http://paste.kde.org/584672/ Cheers, Daker Fernandes Pinheiro http://codecereal.blogspot.com 2012/10/28 Sebastian Kügler > On Thursday, October 25, 2012 20:00:25 Aaron J. Seigo wrote: > > not automatically, no. but QActio

QActions in QML

2012-10-28 Thread Sebastian Kügler
On Thursday, October 25, 2012 20:00:25 Aaron J. Seigo wrote: > not automatically, no. but QActions are QObjects, so you can attach to their > signals in the QML. And it's quite wonky, for example offering a list of QActions (QDeclarativeListProperty or QList, even with the payload casted to QObje