Opened 15 years ago
Last modified 14 years ago
#1514 new enhancement
Request: Default web browser action "openurl"
Reported by: | mwtoews | Owned by: | nobody |
---|---|---|---|
Priority: | minor: annoyance | Milestone: | Version 1.7.0 |
Component: | GUI | Version: | Trunk |
Keywords: | browser, open, url | Cc: | |
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
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.
Attachments (1)
Change History (2)
by , 15 years ago
Attachment: | openurl.png added |
---|
comment:1 by , 14 years ago
Milestone: | Version 1.0.3 → Version 1.6.0 |
---|
Conceptual use of command