[Qt-qml] no basic property define confuse

罗军 luoj at neusoft.com
Wed Sep 29 10:40:14 CEST 2010


Hello, everyone:

Rectangle {
    property Text myText1

    myText1: Text {
        text: "myText1"
        font.pointSize: 18
    }

    Text {
        id: myText2
        y: 24
        text:  "myText2"
        font.pointSize: 18
    }
}

Why don't display myText1?
What's diffrent between them?
How do I display myText1?

Thanks a lot.

Best regards.
---------------------------------------------------------------------------------------------------
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. 
---------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100929/0f44a236/attachment.html 


More information about the Qt-qml mailing list