[Interest] How do I clean up items in the QtQuick2 scenegraph?

2013-06-25 Thread Preet
I have a couple of custom QQuickItems that I'd like to be destroyed before the application exits if they are present in the scene. The ~QQuickItem() destructors aren't called unless I explicitly call delete myQQuickView; I call delete from the main thread, but I'm worried about what goes on w

[Interest] Qt5.1, Get "HWND" from "QWidget" ?

2013-06-25 Thread Charley Bay
I'm porting QWidget code to Qt5.1, it is going fine, we happen to be using the "QtWinMigrate" add-on from: http://qt.gitorious.org/qt-solutions/qt-solutions/trees/master/qtwinmigrate I recall the discussion last year about the "work-around" to get a (MS-Windows) native-HWND from a QWidget, as per

Re: [Interest] Place a QWidget below a button (and follow it!)

2013-06-25 Thread Sensei
On 6/13/13 8:38 PM, Andre Somers wrote: > While Bill is right, there is another way that allows you to do this > without changing the main window for it: event filters. That will allow > you to keep all the code you need for this in one place, in the widget > that you want to make move. > > What I'

[Interest] QGLWidget and QGraphicsView

2013-06-25 Thread Yves Bailly
Greetings all, Using Qt 5.0.2 on Windows 7 (Visual C++ 2010), I'm trying to use a QGLWidget-based class as viewport for a QGraphicsView, using the setViewport() method. However it seems the paintGL() method is never called. The code look like this, where "Gl_Widget" inherits from QGLWidget: QG

Re: [Interest] qml desktop corner

2013-06-25 Thread Rutledge Shawn
On 25 Jun 2013, at 10:55 AM, Damian Ivanov wrote: > Hi all, > > Is there a way to anchor the whole qml application to an desktop edge > (e.g like a side bar with icons and stuff). > Something like anchor.app.desktop.left/right/bottom/top or is C/C++ > detecting resolution and stuff absolutely ne

[Interest] qml desktop corner

2013-06-25 Thread Damian Ivanov
Hi all, Is there a way to anchor the whole qml application to an desktop edge (e.g like a side bar with icons and stuff). Something like anchor.app.desktop.left/right/bottom/top or is C/C++ detecting resolution and stuff absolutely necessary for that? Thanks __