[vtkusers] QVTKWidget + Dock/Undocking + MAC OS
clinton at elemtech.com
clinton at elemtech.com
Tue Feb 23 09:09:29 EST 2016
This problem also occurs if I swap out the QVTKWidget for a QGLWidget.
I would suggest you send a bug report to the Qt developers with a QGLWidget based example.
Clint
----- On Feb 17, 2016, at 5:15 PM, rakesh patil <prakeshofficial at gmail.com> wrote:
> Hi,
> So apart from changing the versions, there is no other work around for this
> problem. ?
> Thanks
> On Wednesday, February 17, 2016, Fetzer, Andreas < a.fetzer at dkfz-heidelberg.de >
> wrote:
>> Hi,
>> VTK 6.2 and Qt 4.8.6 works fine.
>> If we use Qt 5.x it doesn't work.
>> We narrowed it down to the QVTKWidget's c'tor:
>> If we uncomment the Qt::MSWindowsOwnDC flag it partially solves our problem.
>> There are still cases where our Views do not react :-/
>> Cheers,
>> Andreas
>> Von: rakesh patil < prakeshofficial at gmail.com <mailto: prakeshofficial at gmail.com
>> >>
>> Datum: Wednesday 17 February 2016 18:22
>> An: Andreas Fetzer < a.fetzer at dkfz-heidelberg.de <mailto:
>> a.fetzer at dkfz-heidelberg.de >>
>> Cc: VTK Users < vtkusers at vtk.org <mailto: vtkusers at vtk.org >>
>> Betreff: Re: QVTKWidget + Dock/Undocking + MAC OS
>> Hi,
>> You mean to say, vtk 6.3 + Qt 4.8.6 works fine. ? There won't be any flickering
>> hapenning on MAC. ?
>> On Wednesday, February 17, 2016, Fetzer, Andreas < a.fetzer at dkfz-heidelberg.de
>> <mailto: a.fetzer at dkfz-heidelberg.de >> wrote:
>> Hi,
>> we are facing a similar problem on Mac OS X 10.9+ with VTK 6.2 and Qt 5.x.
>> (Strangely with Qt 4.8.6 everything works fine)
>> We write our own Plugins that add new GUI components to our Application.
>> If we add a QVTKWidget to a plugin, all it's widgets do not react to mouse
>> clicks anymore.
>> This happens even if we just instantiate the QVTKWidget without adding it to the
>> plugin.
>> Currently we suspect that the QVTKWidget or VTKInteractors consume some Qt
>> events
>> or do not forward these events. But we do not have a solution yet.
>> We would be glad about any hints.
>> Best regards,
>> Andreas
>> Von: vtkusers < vtkusers-bounces at vtk.org <javascript:;><mailto:
>> vtkusers-bounces at vtk.org <javascript:;>>> on behalf of rakesh patil <
>> prakeshofficial at gmail.com <javascript:;><mailto: prakeshofficial at gmail.com
>> <javascript:;>>>
>> Datum: Tuesday 16 February 2016 17:33
>> An: VTK Users < vtkusers at vtk.org <javascript:;><mailto: vtkusers at vtk.org
>> <javascript:;>>>
>> Betreff: Re: [vtkusers] QVTKWidget + Dock/Undocking + MAC OS
>> Hi,
>> Since, I got no reply for this, I have prepared a small test case. It is a
>> dock/undock example from Qt and I have just added QVTKWidget to it. Atleast the
>> flickering should be disabled somehow. Can some experts help me?
>> I am using Qt 5.5 and vtk 6.3. This happens only on MAC (tested on OS X Yosemite
>> & OS X El Capitan).
>> On Sun, Feb 7, 2016 at 8:17 PM, rakesh patil < prakeshofficial at gmail.com
>> <javascript:;><mailto: prakeshofficial at gmail.com <javascript:;>>> wrote:
>> Hello,
>> I am facing a very strange issue with Dock/Undocking when one of the docked
>> widget is QVTKWidget. I have a centralWidget which contains four tabs. Each tab
>> is an inherited from QWidget. Among these, one widget is QVTKWidget. The issue
>> what I am facing is when I click on the bar and try to undock, the mouse events
>> are lost. I release the mouse button and move the mouse, QVTKWidget keeps
>> moving along with the mouse. I need to click once again on the tab and then it
>> gets undocked fully. Some times while undocking or docking, I observed
>> flickering effect on the renderwindow.
>> It gives feeling like QDockWidget is passing some information/signal to its
>> widgets, which QVTKWidget is not able to process, and other QWidgets are able
>> to process. Has anyone come across this type of scenario?
>> Thanks in advance
> _______________________________________________
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160223/3d50da79/attachment.html>
More information about the vtkusers
mailing list