http://stackoverflow.com/questions/23041066/setting-proxy-parameter-in-qgis-plugins-how-to
 

The only problem is the url exclusions is not implemented in qt class.
Regards 

Enrico ferreguti

----- Messaggio originale -----
Da: "Rémi Cura" <[email protected]>
Inviato: ‎02/‎03/‎2015 18:20
A: "qgis-developer" <[email protected]>; 
"[email protected]" <[email protected]>
Oggetto: [Qgis-user] accessing a web page from within a plug-in

Hey dear Qgis list,


my question is related to network and plugin.


>From within our plugin we would like to display a User Guide.

This guide already exists on GitHub, and it would be good to directly display 
the html fo the github page in the plugin.



Of course internet is not always accessible, so we have a local version of html 
pages in the plugin directory.


SO there is 2 questions :

- Are we sure that using the `QWebView` to connect to internet will include the 
QGIS proxy settings? (what is the best practice here?)

- How to check if it is possible to access an internet page, so that if it is 
not possible to get the online version, we could fall back on the local version?


Thanks for your time ,

Cheers,

Rémi-C
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to