[Qt-qml] 回复 :Re: About transparent and East Asian languages

michael.brasser at nokia.com michael.brasser at nokia.com
Tue Sep 28 00:58:42 CEST 2010


On 28/09/2010, at 8:50 AM, ext luoj at neusoft.com wrote:
>> Is this what you are looking for?
>> 
>> Rectangle {
>>   color: "transparent"
>>   width: 80
>>   height: 80
>> }
>> 
>> Items are transparent as well, but do not support the border.width 
>> type properties.
> 
> Thank you.
> Rectangle will be transparented.
> But how appoint color "#000000" transparent?

Hi,

QML supports specifying a color as #AARRGGBB (see http://doc.trolltech.com/4.7/qml-color.html for more on color support in QML), so "#00000000" would be fully transparent.

Regards,
Michael





More information about the Qt-qml mailing list