[Qt-qml] 答复: 答复: 答复: how to draw line in QML
Carel Combrink
carel.combrink at gmail.com
Mon Dec 5 10:11:56 CET 2011
Hi,
A while back I also needed a line in one of my QML applications. I used the
code from this example
http://www.developer.nokia.com/Community/Wiki/CS001627_-_Creating_a_custom_QML_element_with_Qt
Regards,
Carel
2011/12/5 宫长辉 <gongchanghui at kingrich.com.cn>
> I need to draw a wave composed by 1000 continuous lines.****
>
> And mostly 8 waves were needed in one graph.****
>
> Even the product should be run in ARM.****
>
> ** **
>
> So I’m afraid that it will cost too much CPU and memory, If I implement it
> with rectangle,****
>
> ** **
>
> Regards.****
>
> ** **
>
> ** **
>
> *发件人:* Jesus Fernandez [mailto:jsfdez at gmail.com]
> *发送时间:* 2011年12月5日 16:12
> *收件人:* bea.lam at nokia.com
> *抄送:* gongchanghui at kingrich.com.cn; qt-qml at qt.nokia.com
> *主题:* Re: [Qt-qml] 答复: 答复: how to draw line in QML****
>
> ** **
>
> Anyway for the lines, you can use the rectangle and some math to calc the
> angle and coords if the line is not horizontal or vertical.****
>
> 2011/12/5 <bea.lam at nokia.com>****
>
>
> On 05/12/2011, at 3:40 PM, ext 宫长辉 wrote:
>
> > Thank you fro reply.
> >
> > It seems that using qmlcanvas module will be the nice way to resolve my
> > problem.
> >
> > BTW, when QT quick 2.0 will be released ?
> >****
>
> It is part of Qt 5, which is scheduled for the first half of 2012:
> http://developer.qt.nokia.com/wiki/Qt_5.0****
>
>
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-qml****
>
>
>
> ****
>
> 在此邮件中未发现病毒。
> 检查工具:AVG - www.avg.com
> 版本:2012.0.1873 / 病毒数据库:2102/4657 - 发布日期:12/04/11****
>
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20111205/75f1184e/attachment.html
More information about the Qt-qml
mailing list