35 Commits

Author SHA1 Message Date
Nyall Dawson
f6d740e9db Fix docs 2025-04-23 12:19:10 +10:00
Nyall Dawson
2dd042cd93 Show history panel in execute sql dialog 2025-04-23 12:19:10 +10:00
Nyall Dawson
3f6b490218 Sipify 2025-04-02 11:11:10 +10:00
Nyall Dawson
b81e0d83f6 Fix non-compliant class brief documentation 2025-03-30 20:48:07 +10:00
Denis Rouzaud
2562958772 sipify 2024-12-07 05:16:00 +10:00
Nyall Dawson
b39f760cbc
Correctly handle multiline SIP_OUT param documentation 2024-09-10 11:11:25 +10:00
Nyall Dawson
3a578d6712 Header update 2024-08-13 20:28:55 +10:00
Nyall Dawson
be8dce7d0d Valid improvements from new sipify 2024-08-13 20:28:55 +10:00
Nyall Dawson
28943f9c1b Remove a bunch of useless default constructor doxygen 2024-07-23 02:08:28 +10:00
Nyall Dawson
b227fa96cf Fix incorrect dates shown in Processing history
Fixes #54454
2023-09-04 14:07:27 +10:00
Nyall Dawson
346c77b04e Spelling 2023-04-26 16:52:36 +10:00
Nyall Dawson
29b3919558 Double clicking only expands/contracts history nodes which
don't handle double-clicks in another way
2023-04-26 16:52:36 +10:00
Nyall Dawson
ea58fd747f Allow history to be cleared for one provider only 2023-04-24 13:09:46 +10:00
Nyall Dawson
363bf0c217 Add api for creating context menus for history nodes 2023-04-23 18:12:14 +10:00
Nyall Dawson
8795bd9da5 History providers should be QObjects 2023-04-23 18:12:14 +10:00
Nyall Dawson
8958af74da History entry nodes can be double-clicked 2023-04-23 18:12:14 +10:00
Nyall Dawson
30870dfce9 Address review 2023-04-22 20:55:59 +10:00
Nyall Dawson
538cf4c61b Add QgsHistoryWidgetContext for future api flexibility 2023-04-22 20:55:59 +10:00
Nyall Dawson
f3f0946d81 Make API a little more flexible 2023-04-22 20:55:59 +10:00
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