]> Creatis software - clitk.git/blob - vv/vvQProgressDialogITKCommand.h
remove antique RCS headers
[clitk.git] / vv / vvQProgressDialogITKCommand.h
1 /*=========================================================================
2
3 Program:   vv
4 Language:  C++
5 Author :   Pierre Seroul (pierre.seroul@gmail.com)
6
7 Copyright (C) 2008
8 Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
9 CREATIS-LRMN http://www.creatis.insa-lyon.fr
10
11 This program is free software: you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation, version 3 of the License.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 GNU General Public License for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program.  If not, see <http://www.gnu.org/licenses/>.
22
23 =========================================================================*/
24 #ifndef VVQPROGRESSDIALOGITKCOMMAND_H
25 #define VVQPROGRESSDIALOGITKCOMMAND_H
26
27
28 // itk include
29 #include "itkCommand.h"
30
31 // qt include
32 #include <QProgressDialog>
33
34 class vvQProgressDialogITKCommand : public itk::Command {
35
36 public:
37     typedef vvQProgressDialogITKCommand    Self;
38     typedef itk::Command                   Superclass;
39     typedef itk::SmartPointer<Self>        Pointer;
40
41     itkNewMacro(Self);
42
43     void Initialize(QString title, float sec, int max);
44
45     void Execute(itk::Object *caller, const itk::EventObject & event);
46     void Execute(const itk::Object *caller, const itk::EventObject & event);
47
48 protected:
49     vvQProgressDialogITKCommand();
50     QProgressDialog progress;
51     int i;
52
53 }; // end class vvQProgressDialogITKCommand
54
55 #endif /* end #define VVQPROGRESSDIALOGITKCOMMAND_H */
56