Skip to content

Commit

Permalink
Added custom projection builder to app menus. Doesnt do anything yet …
Browse files Browse the repository at this point in the history
…exept pop up the dialog.

git-svn-id: http://svn.osgeo.org/qgis/trunk@3122 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Apr 11, 2005
1 parent 9e3e6da commit 5a50992
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 46 deletions.
7 changes: 6 additions & 1 deletion src/qgisapp.cpp
Expand Up @@ -84,7 +84,7 @@
#include "qgsproject.h"
#include "qgsmapserverexport.h"
#include "qgsgeomtypedialog.h"

#include "qgscustomprojectiondialog.h"

#ifdef HAVE_POSTGRESQL
#include "qgsdbsourceselect.h"
Expand Down Expand Up @@ -4413,3 +4413,8 @@ void QgisApp::debugHook()
// show the map canvas extent
std::cout << mMapCanvas->extent() << std::endl;
}
void QgisApp::actionCustomProjection_activated()
{
QgsCustomProjectionDialog * myDialog = new QgsCustomProjectionDialog(this);
myDialog->show();
}
2 changes: 2 additions & 0 deletions src/qgisapp.h
Expand Up @@ -331,6 +331,8 @@ private slots:
void openURL(QString url, bool useQgisDocDirectory=true);
//! Check qgis version against the qgis version server
void checkQgisVersion();
//!Invoke the custom projection dialog
void actionCustomProjection_activated();
//! options dialog slot
void options();
//! Whats-this help slot
Expand Down

0 comments on commit 5a50992

Please sign in to comment.