On Monday 21 June 2010 07:11:38 Allison Warwick (Nokia-D-Qt/Brisbane) wrote:
> > drawing functions can be very handy for prototyping. At the moment,
> > you'd be required to dip back to C++ to do these things.
> 
> Or PhotoShop.

Yes, if the image is static. As soon as you have dynamic content, it's back to 
C++ again.

> > Could something like this eventually become part of Qt's standard Qml
> > plugins?
> 
> No, it's evil, and must be stopped at all costs.
> 
> But seriously, why bother with an ugly boring ellipse that takes more CPU
> than an image (...)

I agree, imperative painting can't replace snazzy graphics. 

But if you're not a designer, allergic to graphics software, or simply just 
doing an initial prototype that doesn't have to look good, some rudimentary 
painting can be very handy even for static ui components. Otherwise, why not 
remove Rectangle? Surely you could always use a better-looking Image instead?

And if you want something dynamic and it's beyond the scope of a BorderImage, 
you have no choice anyway.

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

Reply via email to