guys i have a scenario in which i send signal every certain amount of time delay.
connect(timer, SIGNAL(timeout()), this, SLOT(drawDemo()));
timer->start(30);
QTimer *timer = new QTimer(this);
connect(timer, SIGNAL(timeout()), this, SLOT(drawDemo()));
timer->start(30);
To copy to clipboard, switch view to plain text mode
i receive this signal on a slot which do a hards drawing.sometimes when the slot takes very long time more than the period of the signal delay time
void drawDemo()
{
//heavy drawing
}
void drawDemo()
{
//heavy drawing
}
To copy to clipboard, switch view to plain text mode
my question is what happens when the time comes of the signal ??
i mean does the qt sense the signal ? o it will be busy finish the slot?
and wait will happen if it will handle the signal while the slot is doing ?
do the qt has a queue for lost signals ? or it just discard ?or what happens exactly in that scenario ?
Bookmarks