This template uses Qt low level SQL API to interact with the database table or view.
The Simple Template has some advanced functionality not just contains UI and the generated Qt/C++ code that executes the SQL DML, But also contains a set of control buttons that are connected corresponding set of slots to execute query, new, delete, save and close operations.
So this template is ready to use and may not need any changes from the developer.
Files generated by Simple Generator.
Basic Generator (Continue).
Basic Template Part 1
3- Qt UI file (.ui file) for every class or database table or view.In this topic we will explain
The Qt UI file is an XML formatted file that Qt Designer UI uses to represent the widget components.
Sohag Developer's Basic generator generate this file for every class (Database table or view) in the project with following specifications
a- The file name is the same as class name but with all lower case letters.
Files generated by Basic Generator.
This template uses Qt low level sql api to interact with the database table or view.
1- A Qt project file (.pro file) for every Sohag Developer project.
2- A C++ main file (main.cpp file contains main function) for every Sohag Developer project.
3- Qt UI file (.ui file) for every class or database table or view.
4- C++ header file (.h) for every class or database table or view.
5- C++ implementation file (.cpp file) for every class or database table or view.