Re: [Qt-qml] painting

2010-06-21 Thread warwick.allison
> 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. If it's rudimentary, use a plain rectangle with some text in it describing what y

Re: [Qt-qml] painting

2010-06-21 Thread warwick.allison
> What would be the best way of implementing a 'show route' feature to a > QML maps application? (Route is returned as a lat,lon polyline) Build it into the map viewer element, since it'll need to do 3D if the map supports that. The route is probably rendered in by either the remote map server o

[Qt-qml] BorderImage with QPixmap or QImage

2010-06-21 Thread maxprofitisback maxprofitisback
Hi, I am able to use a BorderImage item with the "source" property but I would to like set content of my BorderImage directly with a QPixmap or a QImage. There is "pixmap" property in Image item, is there something similar in BorderImage item? Thanks! _

Re: [Qt-qml] Exporting overloaded methods to QML

2010-06-21 Thread Kent Hansen
On 18. juni 2010 20:14, ext Artur Souza (MoRpHeUz) wrote: > On Fri, Jun 18, 2010 at 11:04 AM, Kent Hansen wrote: > > >> This doesn't work. QtDeclarative currently doesn't use the same QObject >> method call logic as QtScript. You can "fix" that by uncommenting the two >> lines after "// Uncomm

Re: [Qt-qml] Audio - Qt.multimedia

2010-06-21 Thread Cristian Daniel Stamateanu
Thanks, in ubuntu it works perfectly. It seems like a windows bug. I hope it will be fixed till release of Qt 4.7 Regards, Cristi warwick.alli...@nokia.com wrote: >> QDeclarativeEngine::importPlugin "Qt.multimedia" from >> "C:/Qt/qtcreator-1.3.83/bin/Qt/multimedia/multimedia.dll" > > This is the

Re: [Qt-qml] painting

2010-06-21 Thread Christian Kamm
On Monday 21 June 2010 11:00:20 Alpert Alan (Nokia-D-Qt/Brisbane) wrote: > Rectangles are all you need in prototyping. If you really don't care about > how it looks, then a rectangle looks good enough in all ellipse cases I > can think of. Just imagine the smooth curves along with imaging the subtl

Re: [Qt-qml] painting

2010-06-21 Thread Alan Alpert
Mandag 21. juni 2010 17:54:41 skrev Kamm Christian.D (Nokia-D/Berlin) : > 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. > > > >

Re: [Qt-qml] painting

2010-06-21 Thread Christian Kamm
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'

Re: [Qt-qml] painting

2010-06-21 Thread Alan Alpert
Mandag 21. juni 2010 17:13:25 skrev Mikola Tapani (Nokia-D/Tampere) : > What would be the best way of implementing a 'show route' feature to a QML > maps application? (Route is returned as a lat,lon polyline) The best way would be to have the application logic backend generate the route overlay

Re: [Qt-qml] QML's QScriptClass

2010-06-21 Thread Kent Hansen
On 21. juni 2010 06:55, Allison Warwick (Nokia-D-Qt/Brisbane) wrote: >> I saw the quite impressive QML presentation at LinuxTag and I liked it. >> But what I dislike is QML's SQL-based database interface, so I decided >> to implement a MongoDB-based NoSQL database interface for QML. >> > I wr

Re: [Qt-qml] painting

2010-06-21 Thread tapani.mikola
What would be the best way of implementing a 'show route' feature to a QML maps application? (Route is returned as a lat,lon polyline) moveTo and then a series of lineTo:s (with a selected brush) would be the old 'imperative way'. - Tapani On 06/21/2010 08:11 AM, Allison Warwick (Nokia-D-Qt/Br