In this tutorial, I am going to show you how to save your #PyQt5 application settings with #QSettings class.

When you create a desktop application, normally you want to have a “preference” option allowing users to save application settings such as window size, last closed position, font style, background color, etc, so next time when the user re-open the application, all the configurations will resume to the last session.

I will be using Windows 10 for the demonstration. The settings I want to save are window size and last closed position.


Buy Me a Coffee? Your support is much appreciated!
PayPal Me: https://www.paypal.me/jiejenn/5
Venmo: @Jie-Jenn





Source Code: