mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
added qgis webpage and qgis sf page slots
git-svn-id: http://svn.osgeo.org/qgis/trunk@802 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
98a6cb05e0
commit
3e61b07e9f
@ -1689,9 +1689,16 @@ void QgisApp::options()
|
||||
|
||||
void QgisApp::helpContents()
|
||||
{
|
||||
openURL("index.html");
|
||||
openURL("index.html");
|
||||
}
|
||||
void QgisApp::helpQgisHomePage()
|
||||
{
|
||||
openURL("http://qgis.org", false);
|
||||
}
|
||||
void QgisApp::helpQgisSourceForge()
|
||||
{
|
||||
openURL("http://sourceforge.net/projects/qgis", false);
|
||||
}
|
||||
|
||||
void QgisApp::openURL(QString url, bool useQgisDocDirectory)
|
||||
{
|
||||
// open help in user browser
|
||||
|
@ -155,6 +155,10 @@ private:
|
||||
QString activeLayerSource();
|
||||
//! Open the help contents in a browser
|
||||
void helpContents();
|
||||
//! Open the QGIS homepage in users browser
|
||||
void helpQgisHomePage();
|
||||
//! Open the QGIS Sourceforge page in users browser
|
||||
void helpQgisSourceForge();
|
||||
//! Open a url in the users configured browser
|
||||
void openURL(QString url, bool useQgisDocDirectory=true);
|
||||
//! Check qgis version against the qgis version server
|
||||
|
Loading…
x
Reference in New Issue
Block a user