Do we need this to be a QDialog subclass or can it just be a QWidget subclass