[Qt-qml] Stroking lines and custom shapes (polygons) in QML?
Bastian Bense
bastibense at gmail.com
Sun Sep 26 18:57:45 CEST 2010
Hello everyone,
right now I’m experimenting a bit with QML to see if it fits some specific
needs of one of my project (mainly navigation elements of the general UI,
and some more complex visualization stuff). While the general concept looks
very interesting, I can’t seem to do a few things.
The first thing I was trying was drawing a simple line between navigation
buttons in a vertically aligned (Column element) layout. While there are
Elements like “Path” or “PathLine”; they all seem to have alignment of other
elements along that specified path in mind.
If that’s the case, it surprises me a bit since other primitives like
Rectangle are there which can have border colors and fill colors or even
gradients.
I don’t really want to use SVG either, because I’d have to generate a lot of
SVGs for a lot of different types of objects in that visualization. And that
would result in a possibly dirtier approach than simply having a
QGraphicsScene with custom painting objects.
Thanks in advance!
Basti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100926/916574ef/attachment.html
More information about the Qt-qml
mailing list