QtSleeper.cpp
Go to the documentation of this file.
1 #include "ProgressExamples.h"
2 
3 #include "DummyWindow.h"
4 
5 // QT
6 #include <QApplication>
7 
8 
9 void QtSleeper(int argc, char *argv[])
10 {
11  QApplication app(argc, argv);
12 
13  //create dummy window and show
14  DummyWindow* dW = new DummyWindow(NULL);
15  dW->show();
16 
17  app.exec();
18 
19  delete dW;
20 }
These routines show how to use the progress bar.
void QtSleeper(int argc, char *argv[])
Definition: QtSleeper.cpp:9