Re: [QGIS-Developer] Access DB manager connection details in a python plugins

2021-07-23 Thread Florian El Ahdab
erConnection.html > > metadata = QgsProviderRegistry.instance().providerMetadata('postgres') > connection = metadata.findConnection("name_of_connection) > connection.executeSql("SELECT ....") > > > > Le jeu. 22 juil. 2021 à 22:09, Florian El Ahdab a > écrit : >

[QGIS-Developer] Access DB manager connection details in a python plugins

2021-07-22 Thread Florian El Ahdab
Hi. I would like to take advantage of the db manager from a python plugin. That would allow me to avoid handling the database configuration myself and would make the overall ui more consistent for the user. I can't find any relevant reference to do that. Has anyone achieved anything like that ?

Re: [QGIS-Developer] Multiprocessing QGIS

2021-03-28 Thread Florian El Ahdab
Hi. I am posting my reply again because I missed the qgis-developer mail list first... It is indeed possible to achieve multiprocessing in QGIS. But you should rely on Qt multi thread mechanisms rather than on the python multiprocessing module. Qgis is written in C++, based on the Qt library.

[QGIS-Developer] Translation for french

2021-03-19 Thread Florian El Ahdab
Hello everyone. I went to transifex and requested to join the QGis Desktop project a few days ago to help with the translation to French which is nearly complete. Can anyone validate my request please ? Regards. Florian El-Ahdab. ___ QGIS-Developer