<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Apr 11, 2017 at 1:19 AM, Elvis Stansvik <span dir="ltr"><<a href="mailto:elvis.stansvik@orexplore.com" target="_blank">elvis.stansvik@orexplore.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
</span>Thanks David & Clint for your insights.<br>
<br>
David: Is your VTK/Qt widget class something you could share? It<br>
sounds like it has accumulated a lot of battlefield wisdom that could<br>
be useful to others :)<br></blockquote><div><br></div><div>It's part of an internal project, so I can't release it (or at least, not yet).</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Regarding your noop QPaintEngine, what problem have you bumped into<br>
that this is solving?</blockquote><div><br></div><div>This was needed in order to get rendering to work on a Windows system.</div><div>Qt was always erasing the VTK scene by painting over it with the widget's</div><div>background color.  I tried setting the WA_NoSystemBackground flag and</div><div>the WA_PaintOnScreen flag to stop Qt from doing this, but the only trick</div><div>that always worked was replacing the QPaintEngine with a dummy. </div><div><br></div><div> - David</div></div></div></div>