Acts as the central component that manages the functionality of the PreCourlis plugin within the QGIS environment, providing a bridge between the plugin's features and the QGIS platform.
It is responsible for loading custom algorithms provider, creating toolbars and calling dialog.
## PreCourlis.core module
This module contains classes which do not depend on graphical interface.
The `PreCourlisFileLine` class provides common functionalities for handling PreCourlis files, it is responsible for:
- creating new vector layers with fields required by the plugin
- converting features to sections and vice versa
- managing sedimentary interfaces inside the vector layer
The `PointsSelection` class is responsible for creating and maintaining a memory layer used to show in QGIS canvas the points selected in the profile dialog.
The `Settings` class is responsible for reading and writing plugin settings in the QGIS project file and user settings.
## PreCourlis.lib.mascaret
Those two files comes from the Mascaret project and have been slightly adapted to be used inside the plugin.
The `PreCourlisFileBase` class provides common functionality for handling PreCourlis files, while the `PreCourlisFileLine` class handles individual lines in the file.
They contain notably:
-`Section` class with is used in the the profile dialog
-`MascaretGeoFile` class which is used to read and write .geo and .georef files.
### PreCourlis.processing module
## PreCourlis.processing module
This module contains all the custom algorithms for processing data.
### Precourlis.ui module
## PreCourlis.ui
This module contains the Qt ui ressource files of the plugin.
This folder contains the Qt Designer (user interface) files of the plugin.
### Precourlis.widgets module
## PreCourlis.widgets module
These widgets are used to manage the user interface of the PreCourlis plugin within the QGIS environment. They provide a way for users to interact with the plugin's functionality and modify its settings.