Hi everyone,<br><br>This might be more of a QT question than a VTK question.<br><br>I am having trouble finding the size of a QVTKWidget that hosts a vtkImageViewer. I want to center the input image and of course I need to find the host window size for that.
<br><br>Does not matter when I call the getRenderWindow()-&gt;GetSize() or the QTWidget size functions it always seems to return the wrong size of the window...Anything in the range from 640 to 86!<br><br>If anyone has found a way to find the correct size of a QT window, please let me know. 
<br><br>By the way, the window is contained in a vertical layout manager.<br><br>Thanks,<br><br>Anja<br>