1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
5 - University of LYON http://www.universite-lyon.fr/
6 - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
7 - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the copyright notices for more information.
13 It is distributed under dual licence
15 - BSD See included LICENSE.txt file
16 - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ======================================================================-====*/
18 #ifndef VVQPROGRESSDIALOGITKCOMMAND_H
19 #define VVQPROGRESSDIALOGITKCOMMAND_H
20 #include "itkCommand.h"
23 #include <QProgressDialog>
25 class vvQProgressDialogITKCommand : public itk::Command {
28 typedef vvQProgressDialogITKCommand Self;
29 typedef itk::Command Superclass;
30 typedef itk::SmartPointer<Self> Pointer;
34 void Initialize(QString title, float sec, int max);
36 void Execute(itk::Object *caller, const itk::EventObject & event);
37 void Execute(const itk::Object *caller, const itk::EventObject & event);
40 vvQProgressDialogITKCommand();
41 QProgressDialog progress;
44 }; // end class vvQProgressDialogITKCommand
46 #endif /* end #define VVQPROGRESSDIALOGITKCOMMAND_H */