Generate python file from Qt Designer pyuic5 -x mainwindow.ui -o mainwindow.py Default Setting File settings.ini [GeneralSettings] ImageDir = ./ ZoomScale = 0.06 ZoomMaxScale = 2.0 ZoomMinScale = 0.1 [WorkingState] Workingimg = 2 Brushsize = 300 Erasemode = 1