Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as C++ by Eyyub ( 17 years ago )
//appeler par un bouton :
QTimer timer; 
connect(&timer;, SIGNAL(timeout()), this, SLOT(timerEvent()));
timer.start(spinBoxMinutes->value()); 

void FenPrincipale::timerEvent()
{
QMessageBox::critical(this, "test", "e");//test pour voir si le slot est appelé
}

 

Revise this Paste

Parent: 9671
Children: 9673
Your Name: Code Language: