]> Creatis software - clitk.git/blobdiff - vv/vvProgressDialog.h
Fixed compiling error by MSVC++
[clitk.git] / vv / vvProgressDialog.h
index 99060412343c8daad4629d05a20f89f33283ea25..1105320bf57c991dd03e251f6254a37dfd350b0a 100644 (file)
@@ -22,6 +22,7 @@
 // vv
 #include "ui_vvProgressDialog.h"
 
+//------------------------------------------------------------------------------
 class vvProgressDialog : 
   public QDialog, 
   private Ui::vvProgressDialog
@@ -31,9 +32,11 @@ class vvProgressDialog :
   public:
   vvProgressDialog(std::string message,bool show_progress=false);
   ~vvProgressDialog() {}
+  void SetCancelButtonEnabled(bool b);
   void SetText(std::string message);
   void AddToText(std::string message);
   void SetProgress(unsigned int current,unsigned int max);
 };
+//------------------------------------------------------------------------------
 
 #endif