Nyall Dawson
4c992c4077
Apply suggestions from code review
2023-01-17 09:52:58 +10:00
Mathieu Pellerin
77df5b8d8a
Only show failing constraint visual feedback when the attribute table is set to filter for invalid features
2023-01-14 11:37:11 +07:00
Mathieu Pellerin
cd5eddfb59
[attributes table] Brand new feature with failing constraints view
2023-01-13 10:11:42 +07:00
uclaros
111753a13b
remove hack when stopping editing
2022-12-14 12:35:55 +02:00
Nyall Dawson
b6badb60c3
Add a context for QgsMapLayerAction
2022-11-23 13:54:18 +10:00
Mathieu Pellerin
b7e31d4508
[feature][ui] Add a Show in Attribute Table action to the right click menu of legend class symbols ( #49984 )
2022-08-29 10:18:06 +00:00
Nyall Dawson
b24ee8788b
[feature] Support shift+wheel scrolling in attribute table to switch
...
to a horizontal scrolling action instead of vertical
This matches the same behaviour exposed by LibreOffice, and provides
a convenient way to quickly horizontally scroll tables when a mouse
doesn't have a dedicated horizontal scroll wheel.
Sponsored by the City of Canning
2022-03-15 13:16:25 +10:00
nirvn
d8ac5e6f2c
[editor widgets] Provide a show first feature setting to avoid UI freeze of attribute form containing a large number of embedded relations
2021-11-03 18:20:49 -07: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
Even Rouault
0f3011b5ec
Merge pull request #45174 from elpaso/bugfix-gh45139-geojson-field-order
...
Fix geojson attr table field order
2021-10-14 16:55:13 +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
Alessandro Pasotti
0c4d0ead63
Fix attr table model field order when changed in the provider
...
Fixes the GUI part of #45139
2021-09-21 16:59:31 +02:00
Even Rouault
8a6ed7d8f9
Address -Woverloaded-virtual clang virtual and enable the warning
2021-06-25 06:37:49 +10:00
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