timoutcallback to mainwindow

This commit is contained in:
doitux
2007-05-30 07:21:24 +00:00
parent ba82acbd06
commit 1f70aeeefe
4 changed files with 28 additions and 3 deletions
+8 -2
View File
@@ -11,7 +11,9 @@
//
#include "mysetlabel.h"
// using namespace std;
#include "mainwindowimpl.h"
using namespace std;
MySetLabel::MySetLabel(QGroupBox* parent)
: QLabel(parent), timeOutAnimation(FALSE), timeOutValue(0), timeOutFrame(0)
@@ -54,7 +56,11 @@ void MySetLabel::nextTimeOutAnimationFrame() {
timeOutFrame++;
update();
}
else stopTimeOutAnimation();
else {
stopTimeOutAnimation();
//callback
myW->userActionTimeOutReached();
}
}