Add a custom annotation column to the event browser

This commit is contained in:
baldurk
2025-09-17 11:35:35 +01:00
parent fec285efb7
commit 5c8a4f144b
3 changed files with 112 additions and 0 deletions
+26
View File
@@ -440,6 +440,32 @@ the most significant parameters are shown.
)");
virtual void SetEmptyRegionsVisible(bool show) = 0;
DOCUMENT(R"(Sets the current annotation key path. This will not display the annotation column if
it is not already visible.
:param str annotationPath: The new annotation path.
)");
virtual void SetHighlightedAnnotation(const rdcstr &annotationPath) = 0;
DOCUMENT(R"(Returns the current annotation key path as being highlighted in the annotation column.
:return: The current annotation path.
:rtype: str
)");
virtual rdcstr GetHighlightedAnnotation() = 0;
DOCUMENT(R"(Sets whether or not the duration column is visible.
:param bool show: If the duration column should be shown.
)");
virtual void SetDurationColumnVisible(bool show) = 0;
DOCUMENT(R"(Sets whether or not the annotation column is visible.
:param bool show: If the duration column should be shown.
)");
virtual void SetAnnotationColumnVisible(bool show) = 0;
protected:
IEventBrowser() = default;
~IEventBrowser() = default;