[Interest] What is Qt.red for in QML?

Jérôme Godbout jerome at bodycad.com
Fri Feb 6 02:36:39 CET 2015


Sorry read too fast the original post, try to print it, if the int is 0, I would guess it's an indexer for rgba values of some sort. May be wrong on this not near my computer to test



> On Feb 5, 2015, at 8:29 PM, Ian Monroe <ian at monroe.nu> wrote:
> 
>> On Thu, Feb 5, 2015 at 3:33 PM, Jérôme Godbout <jerome at bodycad.com> wrote:
>> you can use the string version
>> color: 'red'
>> or rgba value
>> color: Qt.rgba(1,0,0,1)
> 
> Doesn't answer Jason's question, I assume it is some historical oddity.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150205/530b2bc6/attachment.html>


More information about the Interest mailing list