[Qt-interest] [Qt-qml] QML Action element

Stephen Kelly steveire at gmail.com
Sat Dec 4 13:43:57 CET 2010


Pekka.E.Jokela at nokia.com wrote:

> Hi,
> I remember some rumors that QtQuick would implement QML Action element
> (equals QAction) as built in type. What is the current status?
> 
> Thanks,
>  -Pekka

I don't remember any such rumours. Do you mean this?

http://labs.qt.nokia.com/2010/07/20/designing-code-for-qml-uis/

I think action handling in the real world has far more complex needs than 
are provided for simply by QAction being a QObject.

We have a bunch of files like this:

http://websvn.kde.org/trunk/KDE/kdepim/mobile/mail/KMailActions.qml?view=markup

And we manage the state of them (disabled, hidden) largely from C++ as a 
result of changes in application state (something is selected or not).

I don't know what would make it easier though. What would a QML Action built 
in type do?

Steve.



More information about the Qt-interest-old mailing list