Re: [Interest] qmlx11 plugin

2014-02-06 Thread Damian Ivanov
The eventFiler is already re-implemented as bool X11Support::xEventFilter(XEvent * event), the only problem is I want to start receiving the events, I guess it's one line of code that should look like m_instance-xEventFilter(event); where m_instance is an instance of the class. Trying to do so

Re: [Interest] Draw a shadow around a Rectangle using DropShadow. Should be possible, right?

2014-02-06 Thread Sze Howe Koh
On 5 February 2014 23:35, Mark Gaiser mark...@gmail.com wrote: I can't get it to work with a rectangle.. import QtQuick 2.0 import QtGraphicalEffects 1.0 Rectangle { width: 800 height: 600 DropShadow { horizontalOffset: 3 verticalOffset: 3 radius:

Re: [Interest] Draw a shadow around a Rectangle using DropShadow. Should be possible, right?

2014-02-06 Thread Mark Gaiser
On Thu, Feb 6, 2014 at 11:33 AM, Sze Howe Koh szehowe@gmail.com wrote: On 5 February 2014 23:35, Mark Gaiser mark...@gmail.com wrote: I can't get it to work with a rectangle.. import QtQuick 2.0 import QtGraphicalEffects 1.0 Rectangle { width: 800 height: 600 DropShadow

Re: [Interest] Draw a shadow around a Rectangle using DropShadow. Should be possible, right?

2014-02-06 Thread Sze Howe Koh
On 6 February 2014 19:59, Mark Gaiser mark...@gmail.com wrote: On Thu, Feb 6, 2014 at 11:33 AM, Sze Howe Koh szehowe@gmail.com wrote: On 5 February 2014 23:35, Mark Gaiser mark...@gmail.com wrote: I can't get it to work with a rectangle.. import QtQuick 2.0 import QtGraphicalEffects 1.0

Re: [Interest] Draw a shadow around a Rectangle using DropShadow. Should be possible, right?

2014-02-06 Thread Mark Gaiser
On Thu, Feb 6, 2014 at 2:03 PM, Sze Howe Koh szehowe@gmail.com wrote: On 6 February 2014 19:59, Mark Gaiser mark...@gmail.com wrote: On Thu, Feb 6, 2014 at 11:33 AM, Sze Howe Koh szehowe@gmail.com wrote: On 5 February 2014 23:35, Mark Gaiser mark...@gmail.com wrote: I can't get it to

Re: [Interest] Draw a shadow around a Rectangle using DropShadow. Should be possible, right?

2014-02-06 Thread Mark Gaiser
Done: https://bugreports.qt-project.org/browse/QTBUG-36689 (DropShadow doesn't work on rectangle) https://bugreports.qt-project.org/browse/QTBUG-36690 (Effects not always applied on application startup) On Thu, Feb 6, 2014 at 2:48 PM, Mark Gaiser mark...@gmail.com wrote: On Thu, Feb 6, 2014 at

[Interest] Qt 5.2.1 still failing on Galaxy Tab 3

2014-02-06 Thread Bob Hood
Well, I held off and waited for 5.2.1. I just tried the included Qt Quick 2.0 demos with my Galaxy Tab 3 7 (Android 4.1), and they are still failing, although they work on my Android phone (Android 2.3.3). The QtWidgets examples work fine, but anything using the declarative system (samegame,

[Interest] Context menu and touch

2014-02-06 Thread Phil Hannent
Hi, We've recently updated an application from MSVC Qt4.5.4 to MinGW Qt 5.2.0 and a tester noticed that they could no longer activate the context menu of when using the Windows long hold feature. In our testing we also found the same thing and that double click doesn't work. According to the

[Interest] QVideoProbe in QML?

2014-02-06 Thread Jason H
I have a QML project (Lin/Android) that I need to scan bar codes using the camera or video playback (for testing). I found the QVideoProbe class. But not sure how to use it in QML. I have a C++ class that will do the bar code recognition, it takes a QImage or QUrl of an image. The reader works

Re: [Interest] Context menu and touch

2014-02-06 Thread Agocs Laszlo
Hi, If you are only interested in widget apps (not Qt Quick 2), launch the app with -platform windows:mousefromtouch. This should restore the OS-provided tap-and-hold - right click translation. This is handled better in 5.3. There the OS provided touch - mouse translations should work out of

Re: [Interest] Draw a shadow around a Rectangle using DropShadow. Should be possible, right?

2014-02-06 Thread Mark Gaiser
For completeness. Gunnar Sletta just responded. The right QML code: import QtQuick 2.0 import QtGraphicalEffects 1.0 Rectangle { width: 800 height: 600 Rectangle{ id: brContainer width: 500 + 16 height: 50 + 16 anchors.centerIn: parent

Re: [Interest] Context menu and touch

2014-02-06 Thread Phil Hannent
Hi, Wow, thank you for the quick reply that is massively helpful. Thanks Phil On 6 February 2014 15:03, Agocs Laszlo laszlo.ag...@digia.com wrote: Hi, If you are only interested in widget apps (not Qt Quick 2), launch the app with -platform windows:mousefromtouch. This should restore the

Re: [Interest] QVideoProbe in QML?

2014-02-06 Thread Tr3wory
LOL, I didn't find that class, so I wrote one for my own little more than a week ago: http://lists.qt-project.org/pipermail/interest/2014-January/010992.html I believe no QML class exist with the same functionality (fix me if I'm wrong, looks like I'm not good at finding classes :) ), so you need

Re: [Interest] QVideoProbe in QML?

2014-02-06 Thread Jason H
Awesome. I can probably figure out the QML stuff, but the pixel conversion was giving my nightmares. From: Tr3wory t...@freemail.hu To: Interests Qt interest@qt-project.org Sent: Thursday, February 6, 2014 11:34 AM Subject: Re: [Interest] QVideoProbe in QML?

[Interest] QVideoProbe Woes

2014-02-06 Thread Jason H
So I made a basic wrapper class (included below) for QVideoProbe to expose it to QML. I can set the source property, but when I do it reports it gets a QDeclaritiveAudio class instance, ans the setSource() call fails. How can I get the video part of it? Output:

Re: [Interest] qmlx11 plugin

2014-02-06 Thread Rutledge Shawn
On 5 Feb 2014, at 6:22 PM, Thiago Macieira wrote: Em qua 05 fev 2014, às 14:59:23, Rutledge Shawn escreveu: Personally I wish we had some of that as QPA APIs (at least window list and window icons), but of course it assumes that we can do the same thing on the other platforms. In my

[Interest] Render QQuickView into another window?

2014-02-06 Thread Max Savenkov
I want to render QQuickView contents to another, _non-Qt_ OpenGL window, preferably without showing QQuickView's own window. Is this possible in any way? ___ Interest mailing list Interest@qt-project.org