[Qt-qml] Overlapping MouseAreas / big cursor for recording video

2010-08-29 Thread Cornelius Hald
Hi, I just finished writing the question below when I found out a working solution for me, so I thought I share it. Maybe someone has the same problem... I've got it working by changing the top-most MouseArea that I'm using for the cursor to look like this: MouseArea { anchors.fill: parent

Re: [Qt-qml] Overlapping MouseAreas / big cursor for recording video

2010-08-29 Thread Cornelius Hald
On Sun, 2010-08-29 at 15:55 +0200, Cornelius Hald wrote: > MouseArea { > anchors.fill: parent > hoverEnabled: true > acceptedButtons: Qt.RightButton > onMousePositionChanged: { > cursor.x = mouse.x; > cursor.y = mouse.y; > } > } > > Now this MouseArea is only li

Re: [Qt-qml] How to use XmlRole with more complex XML

2010-08-29 Thread michael.brasser
On 27/08/2010, at 5:54 PM, ext Marko Mattila wrote: I've been trying to figure out how to get data out of XML when dealing with little bit more complex XML than is dealt in the Qt Quick examples or in XmlQuery documentation. Here is the xml: The final version of Aarne

Re: [Qt-qml] how can I change the property of QML element in C++ application?

2010-08-29 Thread michael.brasser
On 27/08/2010, at 6:52 PM, ext Wei, James wrote: I have a QML file and I want to integrate it into a graphics view framework based UI application written in C++. QDeclarativeEngine *engine = new QDeclarativeEngine; QDeclarativeComponent component(engine, QUrl::fromLocalFile("Button.qml"));

Re: [Qt-qml] Overlapping MouseAreas / big cursor for recording video

2010-08-29 Thread michael.brasser
On 30/08/2010, at 12:59 AM, ext Cornelius Hald wrote: > On Sun, 2010-08-29 at 15:55 +0200, Cornelius Hald wrote: >> MouseArea { >>anchors.fill: parent >>hoverEnabled: true >>acceptedButtons: Qt.RightButton >>onMousePositionChanged: { >>cursor.x = mouse.x; >>cursor.y

Re: [Qt-qml] Multiple qml files in one .cpp

2010-08-29 Thread aaron.kennedy
Hi, We cannot reproduce this problem. Please file a bug with the complete C++ and QML source you are using, the sha1 (or package name) of the Qt you are using and the OS you are on. Cheers, Aaron On 27/08/10 10:33 PM, "ext Sulamita Garcia" wrote: On Fri, Aug 27, 2010 at 12:39 PM, Kai K

Re: [Qt-qml] Qml Application Deployment - What needs to be deployed to support QML image formats?

2010-08-29 Thread henrik.hartz
On Aug 27, 2010, at 10:25 AM, ext denis.dzyube...@nokia.com wrote: > On 26. aug. 2010, at 12.37, ext Robinson, David wrote: >> Now when the app runs the QML is loaded the multimedia import is located & >> the backends are found but even though I have included the imports for >> ‘imageformats’,

Re: [Qt-qml] Transparent background

2010-08-29 Thread henrik.hartz
Try to set the windowOpacity on the toplevel QWidget (I guess it's your QDeclarativeView) http://doc.qt.nokia.com/4.7-snapshot/qwidget.html#windowOpacity-prop Note this depends on what capabilities the platform has in actuall