[Qt-qml] Accessing QColor's lighter from QML Javascript?

Martin Jones martin.jones at nokia.com
Thu Apr 15 08:59:44 CEST 2010


On Thu, 15 Apr 2010 04:53:13 pm ext Brett Morgan wrote:
> Is there a lighter way of getting to qt convenience functions like
> QColor's lighter() from QML hosted javascript?

Not generally speaking, but there are a number of useful methods in the Qt 
global object, including Qt.lighter()

http://qt.nokia.com/doc/4.7-snapshot/qdeclarativeglobalobject.html#qt-lighter-
color-basecolor

-- 
Martin



More information about the Qt-qml mailing list