QGIS API Documentation
2.8.2-Wien
|
A widget for selecting a projection. More...
#include <qgsprojectionselectionwidget.h>
Public Types | |
enum | CrsOption { LayerCrs, ProjectCrs, CurrentCrs, DefaultCrs, RecentCrs } |
Predefined CRS options shown in widget. More... |
Public Slots | |
void | selectCrs () |
void | setCrs (const QgsCoordinateReferenceSystem &crs) |
void | setLayerCrs (const QgsCoordinateReferenceSystem &crs) |
Signals | |
void | crsChanged (QgsCoordinateReferenceSystem) |
Public Member Functions | |
QgsProjectionSelectionWidget (QWidget *parent=0) | |
QgsCoordinateReferenceSystem | crs () const |
QgsGenericProjectionSelector * | dialog () |
void | setOptionVisible (const CrsOption option, const bool visible) |
A widget for selecting a projection.
Definition at line 35 of file qgsprojectionselectionwidget.h.
Predefined CRS options shown in widget.
Definition at line 42 of file qgsprojectionselectionwidget.h.
|
explicit |
Definition at line 25 of file qgsprojectionselectionwidget.cpp.
QgsCoordinateReferenceSystem QgsProjectionSelectionWidget::crs | ( | ) | const |
Definition at line 74 of file qgsprojectionselectionwidget.cpp.
|
signal |
|
inline |
Definition at line 57 of file qgsprojectionselectionwidget.h.
|
slot |
Definition at line 134 of file qgsprojectionselectionwidget.cpp.
|
slot |
Definition at line 185 of file qgsprojectionselectionwidget.cpp.
|
slot |
Definition at line 203 of file qgsprojectionselectionwidget.cpp.
void QgsProjectionSelectionWidget::setOptionVisible | ( | const CrsOption | option, |
const bool | visible | ||
) |
Definition at line 97 of file qgsprojectionselectionwidget.cpp.