Hi Simon, <div><br></div><div>Thank you for the reply. Can you point me to some links to examples related to this (texture button for popup) ? </div><div><br></div><div>Thanks<br><br>On Tuesday, January 5, 2016, Simon ESNEAULT <<a href="mailto:simon.esneault@gmail.com">simon.esneault@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<br><br>Well from my experience, it's is not easy to draw a qt widget on top of a QVTKWidget, especially on OSX.<br>You can try to add some Qt flags (Qt::Tool or Qt::WindowStaysOnTopHint) to the combobox. This may or not work, depending the version of Qt you're running, and it may also introduce some weird behavior ...<br><br>I would rather advice you put the widget beside the QVTKWidget, in a vertical/horizontal layout, or you use some of VTK widget if you really want to draw within the view (use a TextureButton together with a qt popup menu for example)<br><br>Good luck<br>Simon</div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-05 18:52 GMT+01:00 rakesh patil <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','prakeshofficial@gmail.com');" target="_blank">prakeshofficial@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello, <div><br></div><div>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:</div><div><br></div><div>Class mywidget : public QVTKwidget</div><div>{</div><div>   public:</div><div>      mywidget ();</div><div>};</div><div><br></div><div>mywidget::mywidget ()</div><div>{</div><div>  ...</div><div>  ...</div><div><br></div><div>  mycombo = new QCombobox (this);</div><div>  mycombo->setGeometry (0, 0, width, height);</div><div>  ...</div><div>}</div><div><br></div><div>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. ?</div><div><br></div><div>Thanks</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>------------------------------------------------------------------<br>Simon Esneault<div>Rennes, France<br>------------------------------------------------------------------</div></div></div></div>
</div>
</blockquote></div>