Re: [Interest] QML blur behind window

2014-01-30 Thread Gunnar Sletta
On 30 Jan 2014, at 17:11, Damian Ivanov wrote: > Hi all, > > QML has some high quality blur effects. I have a semi transparent > window and want to blur whats behind it, so it's semi-transparent but > the space behind it should be blurred. Can this be done in QML? If you have access to the con

[Interest] How to get QAudioBUffer from QMediaPlayer ?

2014-01-30 Thread Megido _
http://qt-project.org/forums/viewthread/37659 ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Strange socket problem. QTcpSocket. Windows/Linux

2014-01-30 Thread Hamish Moffatt
On 29/01/14 19:48, Guido Seifert wrote: > >> Can you say what is happening at the TCP level? Are the packets being sent? >> Do >> they have the PSH flag set? Does the TV send back ACK packets? > To tell you the truth, I don't know. This is normally a bit too low-level for > me. > More or less

[Interest] New window in Qt makes the application activate

2014-01-30 Thread John Weeks
If you have some iterative process going in your Qt application, the application is not the active application, and that iterative process involves making windows, every time a new window appears, the application is yanked to the front and made active. I find that very annoying, and so do our c

Re: [Interest] Real time QML development

2014-01-30 Thread Bob Hood
On 1/30/2014 4:33 PM, Joshua Kolden wrote: > I posted this in another response, but here it is under it’s own thread, and > with a youtube link. > > This is a video I did to show how I’m using QML to do GUI development > interactively. Figured the Qt/QML community might be interested. Hope it’s

[Interest] Real time QML development

2014-01-30 Thread Joshua Kolden
I posted this in another response, but here it is under it’s own thread, and with a youtube link. This is a video I did to show how I’m using QML to do GUI development interactively. Figured the Qt/QML community might be interested. Hope it’s interesting / helpful. http://www.youtube.com/wa

Re: [Interest] Setting an QObjects dynamic property from another thread

2014-01-30 Thread Thiago Macieira
On quinta-feira, 30 de janeiro de 2014 16:51:41, Philipp Kursawe wrote: > Such operation should be possible, yet it fails cause setProperty calls: > > QDynamicPropertyChangeEvent ev(name); > QCoreApplication::sendEvent(this, &ev); > > sendEvent cannot be called from another thread the object does

[Interest] QML blur behind window

2014-01-30 Thread Damian Ivanov
Hi all, QML has some high quality blur effects. I have a semi transparent window and want to blur whats behind it, so it's semi-transparent but the space behind it should be blurred. Can this be done in QML? Thanks in advance. ___ Interest mailing list

Re: [Interest] Setting an QObjects dynamic property from another thread

2014-01-30 Thread Bo Thorsen
Hi Phillip, No, across threads you have to use postEvent. sendEvent delivers the event directly to the receiver eventHandler, so you would have the eventHandler running from another thread. http://qt-project.org/doc/qt-5.0/qtcore/qcoreapplication.html#postEvent Bo. Den 30-01-2014 16:51, Phili

[Interest] Setting an QObjects dynamic property from another thread

2014-01-30 Thread Philipp Kursawe
Such operation should be possible, yet it fails cause setProperty calls: QDynamicPropertyChangeEvent ev(name); QCoreApplication::sendEvent(this, &ev); sendEvent cannot be called from another thread the object does not belong to. Is this a bug? Shouldn't that be postEvent instead?

Re: [Interest] QGLContext rendering in a native window

2014-01-30 Thread Thomas Sevaldrud
Ok, it appears that I was overcomplicating this a bit :-) The simple solution just creating a normal QWindow with a parent created from QWindow::fromWinId((WId)hwnd). At least this works just as I needed, although the documentation for QWindow::setParent() should probably be updated? At least, th

[Interest] RFC: Unix signal convenience class

2014-01-30 Thread Alejandro Exojo
In the Qt documentation there is a page explaining how to use a pair of sockets for handling a Unix signal and end up triggering a Qt signal. However, being a noob, it always seemed to me like a bit complex. There is a (IMHO, really nice) presentation called "Qt for non graphical applications" by T

Re: [Interest] Qt 5.2 winextras - QWinJumpList

2014-01-30 Thread Nurmi J-P
On Thu, 2014-01-30 at 15:50 +0100, Miroslav Špehar wrote: > Thanks, for the answer, i am already aware of this example. > There is even somewhere in documentation mentioned that filetype > association is needed so 'recent' jump list would be shown. Is there > some kind of prerequisite for 'tasks'

Re: [Interest] Qt 5.2 winextras - QWinJumpList

2014-01-30 Thread Nurmi J-P
On Wed, 2014-01-22 at 11:49 +0100, Miroslav Špehar wrote: > Hi, > > > does anyone have an example of a very simple jump list code for > windows 7/8 using Qt 5.2? > Code examples > on http://qt-project.org/doc/qt-5/qtwinextras-overview.html seem to > use outdated API (and i couldn't find them usin

Re: [Interest] Using QNAM from threads

2014-01-30 Thread Konrad Rosenbaum
On Thursday, Thursday 30 January 2014 at 10:50, Philipp Kursawe wrote: > So having multiple QNAM in an app is not > really an issue? Correct, you can have as many QNAM in as many threads as you like (each QNAM limited to one thread of course). The only thing you have to be aware of is that each

[Interest] QGLContext rendering in a native window

2014-01-30 Thread Thomas Sevaldrud
Hi, I'm trying to use QGLContext to render into a native Win32 window, and I'm wondering what'ts the best way to do this. What I've done this far is the following: Given a natively created window with a valid HWND, I Create a QWindow with the following parameters: setSurfaceType(QWindow::Ope

Re: [Interest] Using QNAM from threads

2014-01-30 Thread Philipp Kursawe
In QML you can provide a QNAM factory. This is supposed to return a new QNAM for the calling thread. So having multiple QNAM in an app is not really an issue? On Thu, Jan 30, 2014 at 3:33 AM, Thiago Macieira wrote: > On quarta-feira, 29 de janeiro de 2014 21:45:47, phil.kursawe@gmail.comwrote: >

[Interest] Qt 5.2 QML Startup Time

2014-01-30 Thread Daiwei Li
Hello, I'm looking into upgrading my QML/C++ app (about ~150-200 QML files) from Qt 5.1 to Qt 5.2 and have noticed a large increase in startup time. I measured the time it took from QQmlApplicationEngine::load to the objectCreated signal being fired for the window and I'm seeing about 1 second on

[Interest] QTreeWidget event processing

2014-01-30 Thread alfa
Hi all, I would like to have the following feature when using QTreeWidget via signal and slot mechanism. As an item(item_0) is entered, then a slot will be connected(that simply sets a value on (item_1)). To achieve that, I did the following: self.treeWidget.itemEntered(item_0, 0).connect(self.