I do not want the password and username to be saved in the QGIS project.
Instead of standard QGis dialog(QgsCredentialDialog) I want to display "my dialog" for entering username and password. On the "button connect" :connect to DB(Postgresql) (just like standard dialog of qgis is doing but I want to do it with my dialog)
The idea is to connect the signal that is emitted when the project starts to load into QGIS...
Anyone have solution for this?