Yes, it appears that I've used a different workaround. I'll try to tidy up everything for publishing it there as an example. However, how do I send it? Would it get included in the VTK distribution as an example, or would it appear just in the wiki?<div>
<br></div><div>Thanks!</div><div><br></div><div>Jon<br><br><div class="gmail_quote">2012/1/31 David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote"><div class="im">On Tue, Jan 31, 2012 at 8:30 AM, Jon Agirre <span dir="ltr"><<a href="mailto:jon.agirre@gmail.com" target="_blank">jon.agirre@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Doug, <div><br></div><div>thanks for your reply. I've been able to figure this out myself, according to Murphy's Law of Support Mailing Lists (Despite having spent two weeks on one problem, you only get to solve it right after asking for help in the appropriate mailing list).</div>
<div><br></div><div>The solution seems to be to add the qvtkWidget to a separate QWidget, which acts as a window. There were two problems: 1) qvtkWidget's parent should be the widget I'm summoning to act as separate window. 2) In the QWidget's creator, the flags should be adjusted to something sensible, i.e. Qt::Dialog. I had them set as Qt::Window.</div>
<div><br></div><div>Thanks!</div><div><br></div><div>Jon<br></div></blockquote><div><br></div></div><div>If you've done something that isn't demonstrated here:</div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx#Qt" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx#Qt</a></div>
<div class="gmail_quote"><br></div><div class="gmail_quote">it would be great if you would add an example.<span class="HOEnZb"><font color="#888888"><br clear="all"><br><div>David </div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Dr. Jon Agirre</div>Postdoctoral Scientist - Protein and<br>Virus X-ray Crystallography Group<br>Biophysics Unit (CSIC-UPV/EHU)<br>+0034946013357<br>
</div>