-
Notifications
You must be signed in to change notification settings - Fork 6
Clean up and fixes #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Line lengths, too much whitespace, coding headers, unused imports, etc
was broken anyways, missing trailing 0 in the number :o)
- DataSourceProvider: Document functions - InterfaceHandler: remove vars and parser, merge functions
- Signals were connected multiple times - Selection of active profile triggered cascade of UI updates
There is no standard or rules that provide a safe way to identify plugins' options... ref: https://hannes.enjoys.it/blog/2023/07/plugins-in-qgis3-ini/
Also improve names and method signatures in DataSourceProvider This makes using the parsers less error-prone (no need to call .clear()) and makes following the code much easier (no need to track what ini file a instance variable parser might have changed to).
Use paths to profiles as common parameter standard, so that the functions themselves handle the information as to where THEIR relevant information is stored and how to access it. TODO: - Plugins - Data source connections
|
Current state is a mixed-bag as I had to jump projects midway:
|
|
This was left with broken parts, at least transfer of data sources and bookmarks does not work at the moment. To not halt development and contributions, let's merge it anyways. The main version of the plugin had its own issues (silent failures, missing something things, etc) so while this makes things a bit worse in terms of usability for now, it provides a better base for future development and fixes. 🤞 |
Lots of changes, following a dive into the code in preparation of the plugin leaving the "experimental" state.
Some cosmetics, some refactoring, some fixes, some new features. This branch is meant for testing, not code review.
When merging
mainthe work from #6 was overwritten because it was not necessary anymore.