<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi,<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;Qt-4.4.3 has recently added support for rendering Qt widgets on top of a VTK OpenGL scene. I just downloaded the latest release of Qt-4.4.3 and tried it on Mac OS X 10.5.5 and the demo application works well, without any problems.&nbsp;</div><div><br></div><div>I want to be able to use Qt to render a VTK OpenGL scene, as well as utilize this new capability to directly render Qt widgets within the VTK rendered OpenGL scene. This will raise the bar for interactive applications developed using Qt.&nbsp;</div><div><br></div><div>I took a quick look at the QVTKWidget plugin for QtDesigner. It subclasses from QtWidget.&nbsp;</div><div><br></div><div>The functionality outline above requires that you subclass from QtGraphicsView.&nbsp;</div><div><br></div><div>I was just wondering if someone who know the QVTKWidget plugin can tell me of the implementation used for creating QVTKWidget plugin are compatible, i.e. QtWidget can use QtGraphicsView or we can get an instance of QtGraphicsView from QtWidget, and use the technique outlined in the article below to render Qt Widgets directly into a VTK OpenGL scene. &nbsp;Or &nbsp;if we need to re-write QVTKPlugin to support this capability?</div><div><br></div><div>Here is a link to the article and a blog</div><div><br></div><div><a href="http://doc.trolltech.com/qq/qq26-openglcanvas.html">Accelerate your Widgets with OpenGL</a></div><div><br></div><div><a href="http://labs.trolltech.com/blogs/2008/06/27/accelerate-your-widgets-with-opengl/">Qt Labs Blogs » Accelerate your widgets with OpenGL</a></div><div><br></div><div>as well as a screenshot&nbsp;</div><div><br></div><div><img height="232" width="324" apple-width="yes" apple-height="yes" src="cid:B1F8AC4C-402F-4D0C-8BD5-BFB019437746@du.ae"></div><div><br></div><div><div>The sample code can be downloaded using the following command</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">svn checkout&nbsp;<a href="svn://labs.trolltech.com/svn/graphics/dojo/modelviewer">svn://labs.trolltech.com/svn/graphics/dojo/modelviewer</a>&nbsp;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3">Best regards,</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3"><br></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><font class="Apple-style-span" face="Helvetica" size="3">Elvis Dowson</font></div></div></div></div></body></html>