Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activate the help button in select projection Dialog #1561

Merged
merged 2 commits into from
Aug 25, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions python/gui/qgsgenericprojectionselector.sip
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ class QgsGenericProjectionSelector : QDialog //, private Ui::QgsGenericProjectio
void setSelectedCrsId( long theID );
void setSelectedAuthId( QString authId );

void on_buttonBox_helpRequested();

/**
* \brief filters this dialog by the given CRSs
*
Expand Down
4 changes: 4 additions & 0 deletions src/gui/qgsgenericprojectionselector.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

#include <QSet>

#include "qgscontexthelp.h"

/**
* \ingroup gui
* A generic dialog to prompt the user for a Coordinate Reference System.
Expand Down Expand Up @@ -67,6 +69,8 @@ class GUI_EXPORT QgsGenericProjectionSelector : public QDialog, private Ui::QgsG
void setSelectedCrsId( long theID );
void setSelectedAuthId( QString authId );

void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }

/**
* \brief filters this dialog by the given CRSs
*
Expand Down