Pyqt6 examples. QtWidgets import QDialog from PyQt6.