Nyall Dawson
2f24a62572
Add missing file
2023-04-22 20:55:59 +10:00
Nyall Dawson
9e760fc8dc
Allow filtering history results
2023-04-22 20:55:59 +10:00
Nyall Dawson
167d4e1a7e
Add capacity for history nodes to show custom widgets when selected
2023-04-22 20:55:59 +10:00
Nyall Dawson
a71671ce3e
Create a model for QgsHistoryEntries
...
A dynamic tree item model showing the entries in date groupings
2023-04-22 20:55:59 +10:00
Nyall Dawson
dee7605b90
Add method to insert child nodes
2023-04-22 20:55:59 +10:00
Nyall Dawson
0774c80f3e
Add capacity for history providers to create/update nodes
2023-04-22 20:55:59 +10:00
Nyall Dawson
dd25f39479
Create QgsHistoryEntryNode class
...
Used for representing information about of QgsHistoryEntry
in a hierarchical tree structure
2023-04-22 20:55:59 +10:00
Nyall Dawson
aa7535ffab
Add original id to QgsHistoryEntry
2023-04-22 20:55:59 +10:00
Nyall Dawson
2fafc2828d
Add signals to history registry for entries added/updated/cleared
2023-04-22 20:55:59 +10:00
Nyall Dawson
e84ce19706
Move QgsHistoryEntry to separate file
2023-04-22 20:55:59 +10:00
Nyall Dawson
d5cd4c99fc
Metatype QgsHistoryEntry
2023-04-22 20:55:59 +10:00
Nyall Dawson
af03701ab8
Add method to allow an existing history entry to be updated
...
Intended for use in storing the results of a long running operation.
E.g. a processing task would store the initial operation history
when the operation starts, and when it finishes it should update
that entry with the full log and output results.
2021-12-21 15:32:57 +10:00
Nyall Dawson
5e5540c890
[processing] Port algorithm log to new history provider API
...
No user visible changes, but we gain the flexibility for better
history storage, including the ability to store the outputs
calculated by the algorithm execution...!
2021-12-21 15:32:57 +10:00
Nyall Dawson
dd5cbb746e
Add bulk addEntries method for efficiently adding many entries at once to history
2021-12-21 15:32:57 +10:00
Nyall Dawson
09389ca763
Add method to clear the history log
2021-12-21 15:32:57 +10:00
Nyall Dawson
6783347896
Implement framework for history providers
...
As per https://github.com/qgis/QGIS-Enhancement-Proposals/issues/130
2021-12-21 15:32:57 +10:00