> 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?

Example:
Image {
    id: image
    width: 80; height: 80
    source:"someimg.bmp"
    transparent: "#000000" // appoint transparent color.
}



----- 原邮件 -----
从: [email protected]
日期: 星期二, 九月 28日, 2010 上午4:31
主题: Re: [Qt-qml] About transparent and East Asian languages

> 
> 
> On Mon, 2010-09-27 at 14:33 +0800, 罗军 wrote:
> Hello everyone,
> 
> I have two question:
> 1. How do I appoint transparent color for a bitmap picture?
> Hi,
> 
> 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.
> 
> - Nigel
> 
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------

_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to