[Qt-interest] bloody ungraspable control of my pusbutton
S. Aguinaga
sa_jr at yahoo.com
Tue Feb 2 05:21:56 CET 2010
Dear Fellows,
I have a question for the best of you.
I have a button that initiates a tone stimulus using my audio device.
This stimulus is meant to be continuous until the pushbutton is toggled,
but what is happening is that once my code goes into the audio loop it
never allows control back to my pushbutton, in other words, I can't toggle it
and right now the only way out is to go to the terminal and do control-C.
here is the loop:
while ( contToneButton->isChecked() ) {
chk_msg();
c = (int) floor((1 + oct0) * ncue / 2);
cue(c);
(void) ar_io_cur_seg(dvid);
};
have any of you come across something like this an do you mind sharing
your methods?
Thank you
// Sal Aguinaga
// Northwestern University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100201/7e4e0a55/attachment.html
More information about the Qt-interest-old
mailing list