Hi devs: Given https://issues.qgis.org/issues/17347 I'm working on fixing MetaSearch provider connections in master. The core part of the code is currently at [1]. A standalone example can be found at [2]. Result is that the WMS/WMTS provider opens connecting to the selected WMS/WMTS (good). When clicking 'Ok', 'Close', or 'Add', the WMS/WMTS layer is added (expecting 'Close' to simply close the dialog and 'Ok' to add the layer and then close). Finally clicking the 'X' (top right) closes the dialog as expected.
- are there other slots to call instead? - should the Data Source Manager be used instead [3]? Are there plans for providing Python binding to this? Thanks ..Tom [1] https://github.com/qgis/QGIS/blob/master/python/plugins/MetaSearch/dialogs/maindialog.py#L759-L792 [2] https://gist.github.com/tomkralidis/dccb49efa760a585be38ee0c3188b8b3 [3] http://qgis.org/api/classQgsDataSourceManagerDialog.html _______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer