[vtkusers] Qt with QVTKWidget: Setting a QLabel's parent widget to a QVTKWidget Problem

Clinton Stimpson clinton at elemtech.com
Mon Jan 4 11:37:20 EST 2010


It should work except maybe if you're setting a transparent background 
for the label.  What platform is this problem on?

Clint

On 01/04/2010 09:08 AM, Steven Ferrell wrote:
> I have created a QLabel which has as its parent a QVTKWidget, ie
> QLabel *renderTitle = new QLabel(title, vtkWidget);
>
> The label text does not render at all normally.  If I resize the 
> windows and play around with their size it will eventually show some 
> of the text, but it becomes garbled.
>
> Do I need to perform some sort of update within some sort of event in 
> order to have a QLabel within a QVTKWidget display properly?
>
>
> _______________________________________________
> 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/20100104/68bfe241/attachment.htm>


More information about the vtkusers mailing list