Hi Frederico,
QmitkStdMultiWidget calls UpdateAllWidgets() at the end of many of its methods.
Did you try this as well? Possibly there are a few flaws in the implementation
as we only use this widget in the workbench, where it works fine as fas as I
can see.
Best,
Stefan
From: Federico Milano [mailto:fmil...@gmail.com]
Sent: Montag, 31. Oktober 2016 15:20
To: mitk-users@lists.sourceforge.net
Subject: [mitk-users] QmitkStdMultiWidget update in Qt application
Hi. I'm using QmitkStdMultiWidget in a standalone Qt application (not the MITK
Workbench). I'm having a problem when changing the size of the
QmitkStdMultiWidget container widget. The actual size changes, but the render
windows are not updated (see attached screenshot). If I capture the Qt
resizeEvent and I execute a ForceImmediateUpdateAll it updates the render
windows ok. But if I execute a RequestUpdate in that event handler nothing
happens.
Then I have several questions:
1) Is it the intended behaviour that the render windows in QmitkStdMultiWidget
don't get updated when changing the size of the underlying QWidget?
2) If so, how can I update the render windows? I would prefer to do it using
the message loop, but it seems that it is necessary to force the update. Is
that correct?
Thanks!
Federico
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users