Saving application settings - this is one of the first things that beginners learn when working with the Qt framework. For this purpose QSettings class that allows you to save the settings or operating system registry or a text file. In this tutorial you will use the easiest option - it is saving the settings in the operating system registry. In order to ensure the visibility of the store the settings in this tutorial use the draft of the lesson
The project is created as an application Qt Widgets, where files are created by default:
mainwindow.h - header file of the main application window;
mainwindow.cpp - source window;
main.cpp - the main source file from which the application starts;
mainwindow.ui - form of the main application window.