mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
- update methods of existing classes - add comment to methods missing in the sip bindings - split up collective sip files into single files and use same directory structure in python/ as in src/ - add a lot of missing classes (some might not make sense because of missing python methods in those classes) - remove some non-existing methods from the header files - add scripts/sipdiff - replace some usages of std::vector and std::set with QVector/QSet
53 lines
1.6 KiB
Plaintext
53 lines
1.6 KiB
Plaintext
|
|
/**
|
|
* \class QgsGenericProjectionSelector
|
|
* \brief A generic dialog to prompt the user for a Coordinate Reference System
|
|
*/
|
|
class QgsGenericProjectionSelector : QDialog //, private Ui::QgsGenericProjectionSelectorBase
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsgenericprojectionselector.h>
|
|
%End
|
|
|
|
public:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
QgsGenericProjectionSelector( QWidget *parent = 0,
|
|
Qt::WFlags fl = QgisGui::ModalDialogFlags );
|
|
|
|
//! Destructor
|
|
~QgsGenericProjectionSelector();
|
|
|
|
public slots:
|
|
/** If no parameter is passed, the message will be a generic
|
|
* 'define the CRS for this layer'.
|
|
*/
|
|
void setMessage( QString theMessage = "" );
|
|
long selectedCrsId();
|
|
QString selectedAuthId();
|
|
|
|
long selectedEpsg() /Deprecated/;
|
|
QString selectedProj4String() /Deprecated/;
|
|
|
|
void setSelectedCrsName( QString theName );
|
|
void setSelectedCrsId( long theID );
|
|
void setSelectedAuthId( QString authId );
|
|
|
|
void setSelectedEpsg( long theID ) /Deprecated/;
|
|
|
|
/**
|
|
* \brief filters this dialog by the given CRSs
|
|
*
|
|
* Sets this dialog to filter the available projections to those listed
|
|
* by the given Coordinate Reference Systems.
|
|
*
|
|
* \param crsFilter a list of OGC Coordinate Reference Systems to filter the
|
|
* list of projections by. This is useful in (e.g.) WMS situations
|
|
* where you just want to offer what the WMS server can support.
|
|
*
|
|
* \warning This function's behaviour is undefined if it is called after the dialog is shown.
|
|
*/
|
|
void setOgcWmsCrsFilter( QSet<QString> crsFilter );
|
|
};
|