Is there any way to quickly extract R,G, and B values from color property? 

I tried the obvious things like:

Item {
   property color myColor: "blue"

   function getRed() {
      return myColor.red();
   }
}

but I don't get anything useful.  It looks like a QML color is exactly an 
underlying QColor object, but the QColor object isn't exposing any of the 
internal color information in a way that I can reach it from QML.

Thanks!

 - A
_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to