[vtkusers] Maximizing a QVTKWidget control
Jothy
jothybasu at gmail.com
Wed Aug 10 11:33:21 EDT 2011
Here is the working one attached.
You need to click the mainWindow/centralWidget and select grid layout.
Jothy
On Wed, Aug 10, 2011 at 4:09 PM, Federico Milano <fmilano at gmail.com> wrote:
> Jothy,
>
> It's still not working. As I'm experimenting on the SimpleView example, I'm
> attaching my SimpleView.ui file. If you please could see it and check if
> there's something wrong in my size policy/stretch/layout settings it would
> really be great.
>
> Thanks again for your time!
>
> Federico
>
>
> On Wed, Aug 10, 2011 at 10:51 AM, Jothy <jothybasu at gmail.com> wrote:
>
>> Have you tried setting the QVTLWidget in a grid layout?
>>
>> Jothy
>>
>> On Wed, Aug 10, 2011 at 2:41 PM, Federico Milano <fmilano at gmail.com>wrote:
>>
>>> Hi. I'm using QVTKWidget to interface Qt and VTK. The problem is that
>>> when I maximize the Qt windows, the QVTKWidget does not change its size.
>>> I've tried many combinations of size policies, but combinations that work
>>> fine for other controls do not work for this one. Do you have any hint or
>>> suggestion?
>>>
>>> Thanks in advance,
>>>
>>> Federico
>>>
>>> _______________________________________________
>>> 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
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110810/b48e13b0/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SimpleViewJothy.ui
Type: application/x-designer
Size: 4592 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110810/b48e13b0/attachment.bin>
More information about the vtkusers
mailing list