"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
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
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
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