16 Commits

Author SHA1 Message Date
Nyall Dawson
adc7b6a143 CRS selection dialog can now be opened inlined 2022-01-11 19:50:46 +10:00
Nyall Dawson
e692969896 Use combo box instead of tab in projection selection dialog
to select CRS type, and split widget out from dialog class
2022-01-11 19:50:46 +10:00
Nyall Dawson
d8de543872 Add "Custom CRS" tab to projection selection dialog
This allows users to just directly enter a custom CRS definition
(from proj or wkt), instead of requiring them to add a custom
CRS to their database.

It's much friendlier for users who just want to defined a custom
projection for e.g. an overview map.
2022-01-11 19:50:46 +10:00
Denis Rouzaud
ba8a445850 run sipify 2021-03-22 21:13:52 +01:00
Nyall Dawson
50b9beaad6 [sipify] Catch more class references and insert :py:class: annotations 2021-01-31 05:41:22 +10:00
Nyall Dawson
7b28cc6b0c Fix paper-cut when selecting projection from widget where it looks
like the user has made a selection, but they've only selected one
of the projection category headings and so when they click OK they
see no change.

Now instead we disable the OK button in this dialog whenever the
user has a non-crs list item selected.
2021-01-29 11:25:06 +10:00
Nyall Dawson
c3a26db4ba [layouts] When selecting a CRS for a map item, don't show misleading
"no crs" option at the top of the dialog.

Instead, correctly label this option as "Use project CRS", which
is what it actually means.
2020-09-23 14:13:35 +10:00
Nyall Dawson
c68d05cc40 Improve misleading/confusing API, and fix "layer has no CRS" message
incorrectly show at the top of many projection selection dialog boxes
2020-09-23 14:13:35 +10:00
Nyall Dawson
05c25194d1 Also use splitter in QgsProjectionSelectionDialog 2020-09-23 14:13:35 +10:00
Harrissou Sant-anna
5c83cd07cc Move some cpp code samples to python 2020-07-21 10:13:45 +10:00
Nyall Dawson
81a9db9f57 [sipify] Fix creation of cross references 2020-06-15 13:43:58 +10:00
Nyall Dawson
b69389b650 Run clang-tidy modernization checks 2018-06-05 12:50:39 +10:00
Denis Rouzaud
65bb60e96c run sipify 2018-05-28 10:39:34 -08:00
Nyall Dawson
f8bc97030b Remove extra space added before first line of docstring 2018-05-28 08:22:11 +10:00
Nyall Dawson
38850bdb94 [pyqgis] Ensure that multiline param tags are indented for additional lines 2018-05-27 18:54:09 +10:00
Denis Rouzaud
9ed1548494 move auto generated sip file in dedicated folder (gui) 2018-05-14 10:31:17 -04:00