19 Commits

Author SHA1 Message Date
Benjamin Jakimow
01b61dc1eb fixed style 2022-01-07 11:30:49 +10:00
Benjamin Jakimow
dc1866f0af sipified files 2022-01-07 11:30:49 +10:00
Benjamin Jakimow
9b3e437ae3 addresses #46673 (QgsProcessingMapLayerComboBox shows layers out of
QgsProcessingParameterWidgetContext)

added a `setProject(QgsProject *project)` to QgsMapLayerModel,
QgsMapLayerProxyModel and QgsMapLayerComboBox

QgsProcessingMapLayerComboBox::setWidgetContext(...) now uses the
context project
2022-01-07 11:30:49 +10:00
Juergen E. Fischer
c6008b7ee1 fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
reverting 3fb0f66 (followup #45348)

Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
nirvn
ef84e48a09 Run sipify_all.sh 2021-10-12 16:34:05 +10:00
Denis Rouzaud
ec16736306 run sipify 2021-10-12 16:34:05 +10:00
Nyall Dawson
3f977b51a3 [api] Also expose method for adding additional (non-project) layers
to QgsMapLayerComboBox
2021-09-06 16:24:15 +10:00
Nyall Dawson
f0aafd2081 [api] Allow the text and icon for the 'empty layer' option in QgsMapLayerComboBox to
be customised
2021-03-30 11:51:32 +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
Juergen E. Fischer
b81d306047 spelling fixes (closes #32408) 2019-10-26 10:50:30 +10:00
Nyall Dawson
cf63a7af97 [needs-docs] Allow dragging project layers from legend over map layer comboboxes to select
Greatly assists with usability of the combobox with large projects,
especially those with multiple copies of layers with the same name...
2019-06-13 04:57:37 +10:00
Nyall Dawson
b6d66becab Sipify 2019-02-27 09:41:11 +10:00
Nyall Dawson
519a30f10c Standardise dox for signals 2019-02-26 03:24:31 +10:00
Tudor Bărăscu
a92b049a70 fix dislpay typo 2018-06-14 13:02:40 +03: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
1c615c15cc More documentation compliance
Use Qt style "returns .." tense instead of "return ..", and lock
this in with a documentation compliance unit test
2018-05-25 15:09:00 +10:00
Denis Rouzaud
9ed1548494 move auto generated sip file in dedicated folder (gui) 2018-05-14 10:31:17 -04:00