57 Commits

Author SHA1 Message Date
Nyall Dawson
ffa99b7b64 Fix doxygen blocks which don't use the * prefix on all lines, which
prevents the auto format and sipify scripts from doing their full
formatting magic
2021-04-19 12:54:13 +10:00
Denis Rouzaud
ba8a445850 run sipify 2021-03-22 21:13:52 +01:00
Nyall Dawson
c6370c7f52
Speed up QGIS compilation by removing all Qt Module-wide includes
Refs https://www.kdab.com/beware-of-qt-module-wide-includes/
2021-03-05 11:23:15 +10:00
Nyall Dawson
50b9beaad6 [sipify] Catch more class references and insert :py:class: annotations 2021-01-31 05:41:22 +10:00
Alessandro Pasotti
d79e1a9795 Do not silently fail while filtering on exp error
Fixes #40316
2020-11-27 16:07:14 +01:00
Ivan Ivanov
b7ff23aa33
Scroll to newly added feature in the attribute table view
Refs #37847
2020-10-16 10:44:35 +10:00
Nyall Dawson
81a9db9f57 [sipify] Fix creation of cross references 2020-06-15 13:43:58 +10:00
signedav
160063a4dd
Merge pull request #36188 from signedav/filterfix
Avoid long loading in attribute table on model change
2020-05-13 22:27:16 +02:00
David Signer
c6823d8dd4 split the disconnecting and connecting on filtermodel change to methods, so the disconnect can be called on qgsdualview before the reload of the layer without doing an invalidate() (called in setFilterMode of the qgsattributetablefiltermodel) 2020-05-11 11:33:52 +02:00
Denis Rouzaud
7e0c438b9c
enhance sorting capabilities in attribute table list/form view (#36199) 2020-05-06 06:45:22 +02:00
David Signer
0290b8c7da timer on reload visible features (according to extend) and on filtering features (according to filter) to avoid long reload time in case a signal (like featureAdded) is called multiple times in short period 2020-05-05 07:35:50 +02:00
David Signer
7c541948f5 extentsChanged deprecated as reloadVisible (private) 2020-03-18 15:48:50 +01:00
David Signer
8562f785cf docs 2020-03-18 15:01:24 +01:00
David Signer
5475cfd18c style and docs 2020-03-16 17:20:07 +01:00
David Signer
00492ca966 filterFeatures functionality in attributetable filter model instead of the widget for re-filtering on main model data changed (e.g. add feature) 2020-03-16 10:51:55 +01:00
David Signer
18dddffeab reload visible filter on dataChange of table model and use the same (renamed) slot (extendsChanged to reloadVisibleChanged 2020-03-16 10:51:55 +01:00
Alessandro Pasotti
195efa42a1 Final touches to the parent form API 2020-03-04 08:52:52 +01:00
Denis Rouzaud
181bfd4fb8
fix ownership issues in dualview/attributetable (#34403)
* fix ownership issues in dualview/attributetable

correctly fix #33120

* update dox + bindings
2020-02-11 20:49:19 +01:00
Alex
1a2df928cc fix the attribute table
Fixes #33439 Fixes #33665 and keep fixed #32933
2020-01-15 08:23:07 -05:00
Alessandro Pasotti
bcdbc3a85d Attribute table pass fid on ctx menu signals
instead of passing an index that could belong to
one of the (three) models that live in the dual
view.

This hopefully makes the code a bit less error
prone and readable.

Fixes #32952
2019-11-21 05:00:27 +10:00
Denis Rouzaud
758d7cff4a run sipify to update deprecation annotations 2019-10-15 13:17:38 +02:00
Nyall Dawson
b9310ca47b Spelling 2019-09-26 12:41:04 +10:00
Nyall Dawson
a8d145a80a Use a proper panel widget for conditional formatting configuration widget
Fixes a number of UI issues, including poor hi-dpi compatibility.
2019-09-26 12:41:04 +10:00
Nyall Dawson
b9b690caac Remember splitter width for conditional formatting panel in attribute table 2019-09-26 12:41:04 +10:00
Nyall Dawson
f672124e39 Take the nuclear option 2019-08-08 11:19:55 +10:00
Nyall Dawson
013779824f Attempt to fix doxygen warning 2019-08-08 11:19:55 +10:00
Denis Rouzaud
09126ded98
make flashing independent from panning/zooming in attribte table in attribute editor mode (#29955) 2019-05-26 22:21:10 -05:00
Denis Rouzaud
c0a0f7d6c9 add first/last buttons 2019-05-15 06:52:08 -05:00
Denis Rouzaud
f680466bf7 [FEATURE] add toolbar in attribute table to browse feature list
arrows allow browsing the feature list in the attribute table in form view
the current edited feature can be highlighted and the map canvas automatically panned or zoomed
2019-05-15 06:52:08 -05: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
Matthias Kuhn
2fb37042a5
Fix TODO and docstrings 2019-02-07 14:36:43 +01:00
Pierre-Eric Pelloux-Prayer
25f2aba44d Include qgis_sip.h instead of qgis.h where possible (#8961)
This PR continues the work started in PR #8951.

This commit replaces occurences of #include "qgis.h" by #include "qgis_sip.h",
where possible = when files only depends on SIP_XXX features.
2019-01-24 11:33:22 -05:00
Nathan Woodrow
f928c2e545
[FIX] - Respect selection order in attribute table copy. (#8048)
Only copy fields shown in view for current table.
2018-10-08 12:07:28 +10:00
Matthias Kuhn
b75f9f3b5b
Merge pull request #7801 from signedav/qml-widget
[FEATURE] QML chart and drawings widget
2018-09-14 11:35:26 +02:00
signedav
b3e4755e2e Enum Mode in QgsAttributeEditorContext
instead of QgsAttributeForm - because it's used on places not including QgsAttributeForm
now it's able to use @form_mode in expressions of containers and QML widgets
2018-09-11 12:14:20 +02:00
Denis Rouzaud
4b7da692d6 run sipify all 2018-09-10 11:41:57 -04:00
Matthias Kuhn
1bfc2785c9 Remove unrequired qgsfeature.h includes 2018-09-04 14:55:21 +02:00
Nyall Dawson
8f55093642 Add some missing dox 2018-06-05 10:19:13 +10:00
Nyall Dawson
2ed144ac59 Apply clang-tidy readability-avoid-const-params-in-decls fixit
Checks whether a function declaration has parameters that are
top level const.

const values in declarations do not affect the signature of a
function, so they should not be put there.
2018-06-05 10:19:13 +10:00
Nyall Dawson
a804a33bc7 Remove some useless \returns dox 2018-05-28 09:48:46 +10:00
Nyall Dawson
f8bc97030b Remove extra space added before first line of docstring 2018-05-28 08:22:11 +10:00
Nyall Dawson
9f650fead9 Fix incorrect param docstring when doxygen \param has extra
trailing spaces or uses tabs
2018-05-27 18:54:09 +10:00
Nyall Dawson
38850bdb94 [pyqgis] Ensure that multiline param tags are indented for additional lines 2018-05-27 18:54:09 +10:00
Nyall Dawson
c864d22d1f Add "get ..." to doxygen compliance blacklist
Should be "gets ..." for consistent tense, or better yet
"returns ..." for consistency.
2018-05-27 14:05:06 +10:00
Nyall Dawson
94cf3fc788 Use "customize" instead of "customise"
Since we default to US spelling, we should always be using "customize"
2018-05-26 15:44:04 +10:00
Nyall Dawson
5e360f90e8 Add unit test to prevent deprecated methods without description
And add missing descriptions
2018-05-25 16:31:03 +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
Nyall Dawson
2cb8a33884 Fix broken see also links 2018-05-25 11:16:18 +10:00
Matthias Kuhn
b76acbe46a
More docstring fixes 2018-05-17 13:51:43 +02:00