Skip to content

Commit

Permalink
Add dox
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 17, 2024
1 parent 3e05a42 commit 585123a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ A widget for selecting a projection.
CrsNotSet,
};


explicit QgsProjectionSelectionWidget( QWidget *parent /TransferThis/ = 0,
QgsCoordinateReferenceSystemProxyModel::Filters filters = QgsCoordinateReferenceSystemProxyModel::FilterHorizontal | QgsCoordinateReferenceSystemProxyModel::FilterCompound );
%Docstring
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ A widget for selecting a projection.
CrsNotSet,
};


explicit QgsProjectionSelectionWidget( QWidget *parent /TransferThis/ = 0,
QgsCoordinateReferenceSystemProxyModel::Filters filters = QgsCoordinateReferenceSystemProxyModel::FilterHorizontal | QgsCoordinateReferenceSystemProxyModel::FilterCompound );
%Docstring
Expand Down
5 changes: 5 additions & 0 deletions src/gui/proj/qgsprojectionselectionwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ class GUI_EXPORT QgsProjectionSelectionWidget : public QWidget
RecentCrs = 1 << 5, //!< Recently used CRS
CrsNotSet = 1 << 6, //!< Not set (hidden by default)
};

/**
* Flags for predefined CRS options shown in widget.
* \since QGIS 3.36
*/
Q_DECLARE_FLAGS( CrsOptions, CrsOption ) SIP_SKIP;

/**
Expand Down

0 comments on commit 585123a

Please sign in to comment.