Adding QMessageBox and constants