|
|
On December 13, 2004 04:25 am, Navdeep Singh wrote:
> Hi all,
>
> can i break the loop by clicking event in QT 3.1 on red hat linux 9.0
>
> I mean if i make a button on a dialog. As i click that button the
> immidiately infinative loop must be interupted and come out form the loop.
Yes. Make sure your infinite loop calls processEvents(). And have it also
check some global flag that you set in your slot that handles the clicked()
signal for the button.
--
Chris Thompson
Central Sewing Machines
8649 63 Avenue, Edmonton AB, T6E 0E8
(780)-469-1147 1-(866)-469-1147
--
List archive and information: http://lists.trolltech.com/qt-interest/
|
|