QGIS/python/gui/qgsprojectionselectiontreewidget.sip
Nyall Dawson 3c7c65e6d5 Allow a "no projection" option in projection selection widget/dialog
This option allows users to select "no projection", when
there's no suitable projection to select...
2017-03-01 10:14:37 +10:00

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 );
};