inherit progressbar from QDialog