1 #ifndef vvProgressDialog_h
2 #define vvProgressDialog_h
3 #include "ui_vvProgressDialog.h"
6 class vvProgressDialog : public QDialog, private Ui::vvProgressDialog
11 vvProgressDialog(std::string message,bool show_progress=false) {
13 textLabel->setText(message.c_str());
20 void Update(std::string message)
22 textLabel->setText(message.c_str());
24 void SetProgress(unsigned int current,unsigned int max)
26 progressBar->setMaximum(max);
27 progressBar->setValue(current);
29 ~vvProgressDialog() {}