mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
This option allows users to select "no projection", when there's no suitable projection to select...
38 lines
790 B
Plaintext
38 lines
790 B
Plaintext
class QgsProjectionSelectionTreeWidget : QWidget
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsprojectionselectiontreewidget.h>
|
|
%End
|
|
|
|
public:
|
|
QgsProjectionSelectionTreeWidget( QWidget* parent /TransferThis/ = 0 );
|
|
|
|
~QgsProjectionSelectionTreeWidget();
|
|
|
|
QgsCoordinateReferenceSystem crs() const;
|
|
|
|
void setShowNoProjection( bool show );
|
|
|
|
bool showNoProjection() const;
|
|
|
|
bool hasValidSelection() const;
|
|
|
|
public slots:
|
|
|
|
void setCrs( const QgsCoordinateReferenceSystem& crs );
|
|
void setOgcWmsCrsFilter( const QSet<QString>& crsFilter );
|
|
void pushProjectionToFront();
|
|
|
|
signals:
|
|
|
|
void crsSelected();
|
|
void initialized();
|
|
void projectionDoubleClicked();
|
|
|
|
protected:
|
|
void showEvent( QShowEvent * event );
|
|
|
|
void resizeEvent( QResizeEvent * event );
|
|
};
|
|
|