Germán Carrillo
b0ddb95a4a
[test] Attribute forms properties: don't lose the fix #59654 (implement it with the model/view approach, distinguishing when the relation is in the relation manager and when it's not); add tests for 2 scenarios: invalid relation that is in the relation manager and invalid relation that is only in Form Layout but not in relation manager
2025-05-05 11:26:54 -05:00
Germán Carrillo
019f809b78
Address review
2025-05-05 11:26:50 -05:00
Germán Carrillo
cac4013a14
[ui] Attributes form properties: Refresh right panel after changing layout mode to have the proper widgets displayed
2025-05-05 11:24:29 -05:00
Germán Carrillo
ec649376a4
Add more unit tests for qgsattributesformmodel.cpp
2025-05-05 11:24:29 -05:00
Germán Carrillo
1a6f628d3c
Disable copy constructor on QgsAttributesFormTreeNode (for VS)
2025-05-05 11:24:29 -05:00
Germán Carrillo
6db9451ddf
Add initial set of unit tests for qgsattributesformmodel.cpp
2025-05-05 11:24:29 -05:00
Germán Carrillo
26a358e574
Attributes forms: make sure an internal moved index moves all its children by serializing the editor element (Available Widgets items don't need the whole editor serialization, so each model has its own mime type ); avoid serializing redundant child items, since a parent will anyway include all its children; avoid drag and drop of Category items (widgetType) from Available Widgets
2025-05-05 11:24:29 -05:00
Germán Carrillo
2a32d0c2ef
[feature] Switch between field aliases and names in the Form Layou panel (DnD designer)
2025-05-05 11:24:29 -05:00
Germán Carrillo
128ef31f12
[wip] Attribute forms: Add doc strings and other code cleanups
2025-05-05 11:24:22 -05:00
Germán Carrillo
914642009b
[wip] Attribute forms: On dropped item, if it's external (from Available Widgets) then select the last node dropped and if it's of a special kind like Qml, Html, Text or Spacer, open its corresponding dialog. Otherwise, if it's internal (from Form Layout), clear the current index to avoid confusion on item being selected or just being current
2025-05-05 11:07:54 -05:00
Germán Carrillo
b3f8e32f1b
[wip] Make sure Form Layout view can accept both external copies and internal moves
2025-05-05 11:07:54 -05:00
Germán Carrillo
c96c989add
[wip] Add container, onItemDoubleClick (create 2 subclasses for tree view's base subclass to get ride of type()). Invert selection. Remove selected items. Other cleanups. Drag and drop initial (partial) implementation.
2025-05-05 11:07:54 -05:00
Germán Carrillo
89246fbbb6
[tmp] partial, Compĺete apply(), updatedFields(), createAttributeEditorWidget() and populate() methods. Handy node methods to access specific children nodes. Other cleanups.
2025-05-05 11:07:54 -05:00
Germán Carrillo
6c6845a1c0
[wip] partial, includes selection synchronization behavior, container info load and storage, copy & paste, among others
2025-05-05 11:07:50 -05:00
Germán Carrillo
a55c09ec12
[wip] partial, includes loading of Form Layout tree items (still no interaction with them)
2025-05-05 11:06:31 -05:00
Germán Carrillo
840af922a2
[wip] partial, includes AvailableWidget panel
2025-05-05 11:01:44 -05:00
rldhont
1c4e75c365
Merge pull request #61624 from dmarteau/server-fix-conditional-short-circuit
...
[SERVER] Fix conditional short circuit statement
2025-05-05 15:54:36 +02:00
qgis-bot
1b8ea08aff
auto sipify 🍺
2025-05-05 09:46:38 +00:00
Alexander Bruy
a1ec95cf70
Merge pull request #61542 from boardend/content_cache_invalidatate
...
Add invalidateCacheEntry() for QgsAbstractContentCache implementations
2025-05-05 10:43:33 +01:00
kit234
d9688af299
Delete the menu at the right time
2025-05-05 16:46:02 +08:00
qgis-bot
49e3244421
auto sipify 🍺
2025-05-04 21:18:42 +00:00
Nyall Dawson
72ad735b1e
[api] Add QgsSipUtils, with method to test if object is owned by Python
...
QgsSipUtils.isPyOwned will return True if an object is owned
by python, or False if ownership is held by another object
or c++ class.
This gives a way to test in advance if we can safely assign
an object to a method which takes ownership (which always results
in a crash).
2025-05-05 07:15:43 +10:00
qgis-bot
19f246ecb1
auto sipify 🍺
2025-05-04 07:58:22 +00:00
Nyall Dawson
169657a0fb
Sipify
2025-05-04 17:55:25 +10:00
Nyall Dawson
f1b8682e36
Improve API for exporting to SLD
...
Deprecate old methods and make methods always take QgsSldExportContext.
Add capacity to QgsSldExportContext to collect export errors and
warnings.
The old API had no way to reliably report errors/warnings during
export to users.
2025-05-04 17:55:25 +10:00
Nyall Dawson
1896cf2247
[sipify] Better cleanup of method state
2025-05-04 07:42:31 +10:00
Nyall Dawson
35f5280342
Sipify
2025-05-04 07:42:31 +10:00
Nyall Dawson
12fe733a2b
[sipify] Discard docstrings for skipped operators
2025-05-04 07:42:31 +10:00
Nyall Dawson
d8e2e77047
Regenerate missing docs lists
2025-05-04 07:42:19 +10:00
Nyall Dawson
53edd25dc3
Move doc test config to json file
2025-05-04 07:42:19 +10:00
kit234
24af10467d
Add a "Select/Deselect All" right menu within the multi-select list in the layer properites. Detail #61701
2025-05-04 01:38:12 +08:00
Nathan
44c0ee12c5
Remove QGIS_PREFIX_PATH from qgis.env and update cmake rules
...
QGIS_PREFIX_PATH isn't required as qgisbuildpath.txt is in output
and is used at started to set those paths
2025-05-03 17:10:57 +10:00
Valentin Buira
698ad226af
Fix signal not found because of rename
2025-05-02 16:08:45 +02:00
Michael Schmuki
1672330cdc
Add invalidateCacheEntry() for QgsAbstractContentCache implementations
2025-05-02 11:59:09 +02:00
Nyall Dawson
e737cc1045
Keep full numeric precision when dumping expressions
...
Fixes loss of precision when creating rules from imported SLD files
Fixes #33289
2025-05-02 07:38:10 +10:00
qgis-bot
9bcd9c3d77
auto sipify 🍺
2025-05-01 20:10:12 +00:00
Nyall Dawson
13624a3d4e
Improve docs
2025-05-02 06:07:14 +10:00
Nyall Dawson
7e76c79224
Improve docs
2025-05-02 06:07:14 +10:00
Nyall Dawson
7a6caff38d
Use unique_ptr
2025-05-02 06:07:14 +10:00
Nyall Dawson
a1de92cc52
Add missing transfer
2025-05-02 06:07:14 +10:00
Alexander Bruy
5c22e59ead
Merge pull request #61685 from agiudiceandrea/qgsattributetablemodel-debug-message
...
Fix debug message in qgsattributetablemodel.cpp
2025-05-01 15:26:34 +01:00
qgis-bot
6b9926cc67
auto sipify 🍺
2025-05-01 04:56:19 +00:00
Jan Caha
277c06fb29
fix sip
2025-05-01 14:53:23 +10:00
Jan Caha
c1308fd26a
use qgridlayout instead of qformlayout
2025-05-01 14:53:23 +10:00
Jan Caha
a4feed329f
flip delete/write logic to avoid data loss in case of error
2025-05-01 14:53:23 +10:00
Jan Caha
b5e283060e
change signature
2025-05-01 14:53:23 +10:00
Jan Caha
aa54826f47
Apply suggestions from code review
...
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2025-05-01 14:53:23 +10:00
Jan Caha
85ee5671b0
spaces
2025-05-01 14:53:23 +10:00
Jan Caha
40437b6a3d
line breaks
2025-05-01 14:53:23 +10:00
Jan Caha
58511b2c7d
fix files
2025-05-01 14:53:23 +10:00