[vtkusers] qcombobox as a child of qvtkwidget doesn't show up on mac.

rakesh patil prakeshofficial at gmail.com
Tue Jan 5 12:52:17 EST 2016


Hello,

I have derived my own class from QVTKwidget class. In the constructor of
the class I am creating a combo box whose parent will be QVTKwidget.
Example:

Class mywidget : public QVTKwidget
{
   public:
      mywidget ();
};

mywidget::mywidget ()
{
  ...
  ...

  mycombo = new QCombobox (this);
  mycombo->setGeometry (0, 0, width, height);
  ...
}

on MAC, the combo box appears below QVTKwidget and all vtk objects are
rendered on top of the combo box, thus hiding it behind QVTKwidget. I need
the combo box to appear above(on top of) QVTKwidget at top left corner. Can
anyone help me to overcome this problem. ?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160105/fa307aee/attachment.html>


More information about the vtkusers mailing list