This is example for creating a Settings windows with the logic for a Pyhon app. UI is done using QtDesinger, and then file is converted into .py by using the command: python -m PyQt5.uic.pyuic -x ...