This is based on the example in pyside6 changed to use a QDialog and not a QMainWindow. The MenuBar is gone, the Status Bar is gone.