hello guys.
Qt Code:
int k=1; while(k<= ui->spinBox->value() || ui->checkBox->isChecked()) { do something k++ }To copy to clipboard, switch view to plain text mode
i try to start a loop.
" k<= spinBox->value() " its a classic loop but i use the "checkBox->isChecked()" if i want the loop is Infinity .
the loop start but if i want to uncheck the checkBox i can't.how stop the loop?
how create and stop a infinite loop?
thanks
Bookmarks