1 /*=========================================================================
5 Author : Pierre Seroul (pierre.seroul@gmail.com)
8 Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
9 CREATIS-LRMN http://www.creatis.insa-lyon.fr
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.
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.
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/>.
23 =========================================================================*/
24 #ifndef VVQPROGRESSDIALOGITKCOMMAND_H
25 #define VVQPROGRESSDIALOGITKCOMMAND_H
29 #include "itkCommand.h"
32 #include <QProgressDialog>
34 class vvQProgressDialogITKCommand : public itk::Command {
37 typedef vvQProgressDialogITKCommand Self;
38 typedef itk::Command Superclass;
39 typedef itk::SmartPointer<Self> Pointer;
43 void Initialize(QString title, float sec, int max);
45 void Execute(itk::Object *caller, const itk::EventObject & event);
46 void Execute(const itk::Object *caller, const itk::EventObject & event);
49 vvQProgressDialogITKCommand();
50 QProgressDialog progress;
53 }; // end class vvQProgressDialogITKCommand
55 #endif /* end #define VVQPROGRESSDIALOGITKCOMMAND_H */