As a basic example,
from PySide2.QtWidgets import QApplication, QDialog, QCheckBox, QHBoxLayout import sys app = QAppl