# Chart themes To generated the file `ui_themewidget.py`, the following command need to be executed: `pyside2-uic themewidget.ui > ui_themewidget.py` Also, if you modify the UI file, then you would need to run the previous command again.