[IGSTK-Users] Is there any method in Qt that is equivalent to FL::wait()

zhao lian knife.fe at gmail.com
Thu Aug 18 22:57:51 EDT 2011


Hello Patrick

It works. Thank you:)

On Fri, Aug 19, 2011 at 1:50 AM, Patrick Cheng <patrick.p.cheng at gmail.com>wrote:

>
>   QTest::qWait(10);
>   igstk::PulseGenerator::CheckTimeouts();
>
>
> On Thu, Aug 18, 2011 at 1:13 AM, zhao lian <knife.fe at gmail.com> wrote:
>
>> Hello all
>>
>> I am lianzhao, a developer from China.
>> I am new to IGSTK and QT.
>> I am implementing HelloWorld of IGSTK sample with QT.
>> Consider the following code in HelloWorld.cxx
>>
>>   while( !m_GUI->HasQuitted() )
>>     {
>>     Fl::wait(0.001);
>>     ...
>>
>>     }
>>
>>
>>
>> Is there any method in Qt that is equivalent to FL:wait()?
>>
>> I can not rotate the cylinder without this line.
>>
>> Thanks a lot
>>
>>
>> Best Regards
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20110819/1390d706/attachment.html>


More information about the IGSTK-Users mailing list