[vtkusers] QVTKWidget and Qt4 layouts
José M. Rodriguez Bacallao
jmrbcu at gmail.com
Thu Dec 13 15:14:49 EST 2012
Hello folks, does anyone know how to reorganize a bunch of QVTKWidgets in a
grid layout without flickering?
I have a bunch of viewer widgets in a QGridLayout, the viewer widget is
composed of a titlebar (a custom widget) and a QVTKWidget in a QVBoxLayout.
Those viewers are arranged in a grid layout. What I am trying to do is to
change the number of rows and columns in the layout. The problem is that
when I add more widgets, the main widget (the one with the QGridLayout)
flicker. I have set the attribute WA_NativeWindow to the viewer widget, the
QVTKWidget and I still getting a flicker.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121213/1ceae69d/attachment.htm>
More information about the vtkusers
mailing list