[QGIS-trac] [Quantum GIS] #1514: Request: Default web browser
action "openurl"
Quantum GIS
qgis at qgis.org
Mon Jan 26 12:44:30 EST 2009
#1514: Request: Default web browser action "openurl"
-----------------------------------------------+----------------------------
Reporter: mwtoews | Owner: nobody
Type: enhancement | Status: new
Priority: minor: annoyance or enhancement | Milestone: Version 1.0.1
Component: GUI | Version: HEAD
Keywords: browser, open, url | Platform_version:
Platform: All | Must_fix: No
Status_info: 0 |
-----------------------------------------------+----------------------------
The most common function for a layer action is to open a particular web
site in a browser. However, the present solution is to use a specific
command (e.g., iexplore, firefox, konqueror) to open a web browser, which
is not cross-platform compatible and does not adhere to the default web
browser as chosen by the user or computer administrator. This makes
actions hard to implement among several users with different computer
setups that share a common QGS file.
I've done some quick research, and new since Qt 4.2 is a function
"openUrl()" to do this trick. See:
* http://lists.trolltech.com/qt-interest/2006-09/thread00676-0.html -
discussion
* http://doc.trolltech.com/4.4/qdesktopservices.html#openUrl -
documentation
I'd like to propose a cross-platform compatible action command named
"openurl" to simply open a URL in the default web browser.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1514>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list