[Qt-qml] effect: Anything

2010-08-26 Thread alan.westbrook
Hi, I just got the latest creator snapshot, and it's got the docu for the various effects, but they do not appear to be available from importing Qt 4.7, is there another module? Thanks, Alan ___ Qt-qml mailing list Qt-qml@trolltech.com http://lists.tr

[Qt-qml] Transparent background

2010-08-26 Thread Anton Alferov
Hello, Is there any way to make background of the QDeclarativeView semi-transparent? For example I'd like to put few images on it and they should have 50% opacity, whereas the rest part of the window only 10%. Thanks, Anton. ___ Qt-qml mailing list Qt-q

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

2010-08-26 Thread Robinson, David
I'm testing QML application deployment to a Windows PC where no Qt software has previously been installed to see what's involved. I have a C++ application that creates a QDeclarativeView and loads a QML local file. The QML local file happens to be the flickr example with some added multimedia s

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

2010-08-26 Thread Jason H
use the Depends tool (google it) to see what DLLs it needs and Filemon to see how it resolves the DLLs. From: "Robinson, David" To: qt-qml@trolltech.com Sent: Thu, August 26, 2010 6:37:54 AM Subject: [Qt-qml] Qml Application Deployment - What needs to be depl

Re: [Qt-qml] Transparent background

2010-08-26 Thread alan.westbrook
Use the color property to set the background 10%, and then opacity to set the image translucency value: Rectangle { color: "#1a00" Image { opacity: 0.5 } } Alan On Aug 26, 2010, at 2:19 AM, ext Anton Alferov wrote: Hello, Is there any way

Re: [Qt-qml] Transparent background

2010-08-26 Thread Anton Alferov
I suppose that desktop (or other windows) still will not be visible under my window prepared with that code. I think I need to write something like: QDeclarativeView v; v.setAttribute(Qt::WA_TranslucentBackground); but that doesn't work. Thanks, Anton. On 26 August 2010 21:17, wrote: > Use t

Re: [Qt-qml] Transparent background

2010-08-26 Thread Juha Turunen
You could try: http://doc.qt.nokia.com/4.6/qgraphicsview.html#backgroundBrush-prop Juha On Thu, Aug 26, 2010 at 8:43 PM, Anton Alferov wrote: > I suppose that desktop (or other windows) still will not be visible under my > window prepared with that code. > I think I need to write something like

Re: [Qt-qml] Transparent background

2010-08-26 Thread alan.westbrook
Ah, you want the Window translucent, not the view. There is a Win32 API for that, you may need to use that with the handle from the window in question. Alan On Aug 26, 2010, at 10:43 AM, ext Anton Alferov wrote: I suppose that desktop (or other windows) still will not be visible under my wind

Re: [Qt-qml] Transparent background

2010-08-26 Thread alexis.menard
Hello, Translucent background flag works only if you have a window manager that supports it. On Windows I think it works only from Vista if i recall correctly. If it still doesn't work then you want to check the code of qdeclarativeview to see if the background color, the autofillBackground pro

Re: [Qt-qml] Transparent background

2010-08-26 Thread Anton Alferov
Thanks for answers. Alexis, translucent background flag works perfectly with the plain QWidget on Windows XP. But not with the QDeclarativeView (and, btw, not with the QPushButton). Ok, I'll try to check it out for the autofillBackground property. Anton. On 26 August 2010 21:51, wrote: > Hell

Re: [Qt-qml] Transparent background

2010-08-26 Thread alan.westbrook
I believe everything back to Nt4 supports window transparency. Alan On Aug 26, 2010, at 10:51 AM, ext alexis.men...@nokia.com wrote: Hello, Translucent background flag works only if you have a window manager that supports it. On Windows I think it works only fr

[Qt-qml] Pause animation until a condition is met

2010-08-26 Thread Alex
Hi all, I am looking for a way to pause a SequentialAnimation until a certain condition is met. I.e., something similar to PauseAnimation but with a conditional statement instead of a duration. For example: SequentialAnimation { NumberAnimation {} ConditionalPauseAnimation { condition: myCo

[Qt-qml] Linking animations across different scopes

2010-08-26 Thread Alex
Similar to the question I just asked, but different :-) I have a reusable component (A) that exposes a function, which starts a SequentialAnimation within A. This component is used by a higher level component (B), where the function is invoked using a ScriptAction in another SequentialAnimation t

Re: [Qt-qml] effect: Anything

2010-08-26 Thread Martin Jones
The effects were removed some time ago because they were not fast enough to be usable. They are still included in Qt, so if you want to try them you just need to register them yourself, e.g. qmlRegisterType("Effects", 1,0, "Colorize"); BR, Martin. On Thu, 26 Aug 2010 06:00:38 pm Westbrook Ala

Re: [Qt-qml] Pause animation until a condition is met

2010-08-26 Thread michael.brasser
On 27/08/2010, at 8:21 AM, ext Alex wrote: > I am looking for a way to pause a SequentialAnimation until a certain > condition is met. I.e., something similar to PauseAnimation but with > a conditional statement instead of a duration. > > For example: > > SequentialAnimation { > NumberAnimation