Class: QgsHistoryEntry¶
Encapsulates a history entry.
Added in version 3.24.
Methods
Returns |
Attributes
Entry details. |
|
Entry ID. |
|
Associated history provider ID |
|
Entry timestamp |
- class qgis.gui.QgsHistoryEntry[source]¶
Bases:
object
- __init__()
Constructor for an invalid entry.
- __init__(providerId: str | None, timestamp: QDateTime | datetime.datetime, entry: Dict[str, Any])
Constructor for QgsHistoryEntry
entry
, with the specifiedproviderId
andtimestamp
.- Parameters:
providerId (Optional[str])
timestamp (Union[QDateTime, datetime.datetime])
entry (Dict[str, Any])
- __init__(entry: Dict[str, Any])
Constructor for QgsHistoryEntry
entry
.The entry timestamp will be automatically set to the current date/time.
- Parameters:
entry (Dict[str, Any])
- __init__(a0: QgsHistoryEntry)
- Parameters:
a0 (QgsHistoryEntry)
- entry¶
Entry details.
Entries details are stored as a free-form map. Interpretation of this map is the responsibility of the associated history provider.
- id¶
Entry ID.
Added in version 3.32.
- isValid(self) bool [source]¶
Returns
True
if the entry is valid.Added in version 3.32.
- Return type:
bool
- providerId¶
Associated history provider ID
- timestamp¶
Entry timestamp