[vtkusers] Re: AW: vtk_qt -- making the renderwindow dynamically resize

Josh Snyder jsnyder at nmr.mgh.harvard.edu
Wed Aug 13 10:35:40 EDT 2003


Worked great. Thanks again,

Josh

Josh Snyder wrote:

> Yes, I'm using the latest vtk-qt version. I'll try the qhbox and let 
> you know. Thanks,
>
> Josh
>
> Carsten Kubler wrote:
>
>> Hello,
>>
>>  
>>
>>> I just installed vtk_qt and got it working to the point where I can 
>>> make a renderWindow appear inside a qframe in my application, but 
>>> I'm not sure how to get the renderwindow to expand and fill the 
>>> qframe when it is resized. I'd be very grateful if you could tell me 
>>> how to do this.
>>>   
>>
>>
>> Try to use a qhbox between qframe and vtkqglrenderwindow
>>
>>  
>>
>>> Also, my code differs from the vtk_qt example since I'm using a 
>>> qframe and not a qscrollview. Since qframe has no addchild method, I 
>>> just left that part of the example steps out of my code, and it 
>>> seems to work fine. Will this cause any problems?
>>>   
>>
>>
>> Do you use the latest version of vtk-qt?
>>
>> Carsten
>




More information about the vtkusers mailing list