mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Better reflects what this namespace contains, and replaces the non-standard Qgis prefix with the Qgs standard
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
class QgsProjectionSelectionDialog : QDialog //, private Ui::QgsGenericProjectionSelectorBase
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsprojectionselectiondialog.h>
|
|
%End
|
|
|
|
public:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
QgsProjectionSelectionDialog( QWidget *parent /TransferThis/ = 0,
|
|
const Qt::WindowFlags &fl = QgsGuiUtils::ModalDialogFlags );
|
|
|
|
//! Destructor
|
|
~QgsProjectionSelectionDialog();
|
|
|
|
QgsCoordinateReferenceSystem crs() const;
|
|
|
|
void setMessage( const QString &message );
|
|
|
|
void setShowNoProjection( bool show );
|
|
|
|
bool showNoProjection() const;
|
|
|
|
public slots:
|
|
|
|
|
|
void setCrs( const QgsCoordinateReferenceSystem &crs );
|
|
|
|
/**
|
|
* \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 behavior is undefined if it is called after the dialog is shown.
|
|
*/
|
|
void setOgcWmsCrsFilter( const QSet<QString> &crsFilter );
|
|
};
|