Re: [Interest] QWindow::setTransientParent()

2014-11-25 Thread Agocs Laszlo
erest Subject: Re: [Interest] QWindow::setTransientParent() > renderPixmap() can be replaced with a call to grabFramebuffer(). They both > perform (potentially expensive) readbacks. Thanks Laszlo. The expense is probably OK, since this is for exporting graphics as a file or on the cli

Re: [Interest] QWindow::setTransientParent()

2014-11-24 Thread John Weeks
> renderPixmap() can be replaced with a call to grabFramebuffer(). They both > perform (potentially expensive) readbacks. Thanks Laszlo. The expense is probably OK, since this is for exporting graphics as a file or on the clipboard. But grabFramebuffer() gives you the same resolution as on scr

Re: [Interest] QWindow::setTransientParent()

2014-11-24 Thread Agocs Laszlo
John Weeks Sent: Friday, November 21, 2014 11:12 PM To: interest@qt-project.org Subject: Re: [Interest] QWindow::setTransientParent() Shawn- > QGLWidget is obsolete, because it has the disadvantage of requiring its own > platform window for the GL content to render into, which has caused v

Re: [Interest] QWindow::setTransientParent()

2014-11-21 Thread John Weeks
Shawn- > QGLWidget is obsolete, because it has the disadvantage of requiring its own > platform window for the GL content to render into, which has caused various > problems over the years. QOpenGLWidget (new in Qt 5.4) simplifies some > things: Qt uses FBO tricks to composite the OpenGL conte

Re: [Interest] QWindow::setTransientParent()

2014-11-07 Thread John Weeks
Thanks, Sean. I have not seen any behavior problems associated with the warning. We actually see the warning on Windows more than on Macintosh. On Windows we run in an MDI window. In certain cases we need a winID in order to wrap native GUI elements (we allow customers to create plugins with wi

Re: [Interest] QWindow::setTransientParent()

2014-11-07 Thread Rutledge Shawn
On 7 Nov 2014, at 02:05, John Weeks wrote: > Can anyone tell me about QWindow::setTransientParent()? When building with > Qt 5 I keep seeing warnings: > > void QWindow::setTransientParent(QWindow *) QWidgetWindow(0x118c39a10, name = > "QWidgetClassWindow") must be a top level window. > > On

[Interest] QWindow::setTransientParent()

2014-11-06 Thread John Weeks
Can anyone tell me about QWindow::setTransientParent()? When building with Qt 5 I keep seeing warnings: void QWindow::setTransientParent(QWindow *) QWidgetWindow(0x118c39a10, name = "QWidgetClassWindow") must be a top level window. One situation where I see it is on Macintosh: Our applicatio

Re: [Interest] QWindow::setTransientParent fails on windows

2013-09-27 Thread Rutledge Shawn
On 27 Sep 2013, at 10:50 AM, Roland Winklmeier wrote: > In the mean time I found some other weird stuff. I did some tests with QML > windows: > > ApplicationWindow { > id: mainWindow > title: "My MainWindow" > width: 640 > height: 480 > > Button { > text: "Child" >

Re: [Interest] QWindow::setTransientParent fails on windows

2013-09-27 Thread Roland Winklmeier
> Hope that helps, > > ** ** > > Tony > > ** ** > > ** ** > > *From:* interest-bounces+tony=rightsoft.com...@qt-project.org [mailto: > interest-bounces+tony=rightsoft.com...@qt-project.org] *On Behalf Of *Roland > Winklmeier > *Sent:* Thursday,

Re: [Interest] QWindow::setTransientParent fails on windows

2013-09-25 Thread Tony Rietwyk
Winklmeier Sent: Thursday, 26 September 2013 2:34 AM To: interest@qt-project.org Subject: [Interest] QWindow::setTransientParent fails on windows Hi there, I'm currently struggling with QWindow::setTransientParent on a windows platform. I have two different windows and want to set one as th

[Interest] QWindow::setTransientParent fails on windows

2013-09-25 Thread Roland Winklmeier
Hi there, I'm currently struggling with QWindow::setTransientParent on a windows platform. I have two different windows and want to set one as the child of the other. Using QWindow::setParent() was not successful, because it was embedded into the parent (I got the parent QWindow* by calling fromWi