Hello Patrick<div><br></div><div>It works. Thank you:)</div><div><br><div class="gmail_quote">On Fri, Aug 19, 2011 at 1:50 AM, Patrick Cheng <span dir="ltr"><<a href="mailto:patrick.p.cheng@gmail.com">patrick.p.cheng@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><br></div><div>  QTest::qWait(10);</div><div>  igstk::PulseGenerator::CheckTimeouts();</div><div><br></div><br><div class="gmail_quote">

<div><div></div><div class="h5">On Thu, Aug 18, 2011 at 1:13 AM, zhao lian <span dir="ltr"><<a href="mailto:knife.fe@gmail.com" target="_blank">knife.fe@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">Hello all<div><br></div><div>I am lianzhao, a developer from China.</div><div>

I am new to IGSTK and QT.</div><div>I am implementing HelloWorld of IGSTK sample with QT.</div>
<div>Consider the following code in HelloWorld.cxx</div>

<div><pre style="font-family:NSimSun;font-size:13px;background-color:white;background-repeat:initial initial">  <span style="color:blue">while</span>( !m_GUI->HasQuitted() )
    {
    Fl::wait(0.001);
    ...

    }
</pre><pre style="font-family:NSimSun;font-size:13px;background-color:white;background-repeat:initial initial"><br></pre><pre style="font-family:NSimSun;font-size:13px;background-color:white;background-repeat:initial initial">

Is there any method in Qt that is equivalent to FL:wait()?</pre><pre style="font-family:NSimSun;font-size:13px;background-color:white;background-repeat:initial initial">I can not rotate the cylinder without this line.</pre>


<pre style="font-family:NSimSun;font-size:13px;background-color:white;background-repeat:initial initial">Thanks a lot</pre><pre style="font-family:NSimSun;font-size:13px;background-color:white;background-repeat:initial initial">

Best Regards</pre></div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users</a><br></blockquote></div><br>
</blockquote></div><br></div>