2017-02-27 16:58:04 +10:00
|
|
|
class QgsProjectionSelectionTreeWidget : QWidget
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgsprojectionselectiontreewidget.h>
|
|
|
|
%End
|
|
|
|
|
|
|
|
public:
|
2017-03-01 10:14:37 +10:00
|
|
|
QgsProjectionSelectionTreeWidget( QWidget* parent /TransferThis/ = 0 );
|
2017-02-27 16:58:04 +10:00
|
|
|
|
|
|
|
~QgsProjectionSelectionTreeWidget();
|
|
|
|
|
|
|
|
QgsCoordinateReferenceSystem crs() const;
|
|
|
|
|
2017-03-01 10:14:37 +10:00
|
|
|
void setShowNoProjection( bool show );
|
|
|
|
|
|
|
|
bool showNoProjection() const;
|
|
|
|
|
|
|
|
bool hasValidSelection() const;
|
|
|
|
|
2017-02-27 16:58:04 +10:00
|
|
|
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 );
|
|
|
|
};
|
|
|
|
|