Navigation
API > API/Editor > API/Editor/SequencerCore > API/Editor/SequencerCore/MVVM > API/Editor/SequencerCore/MVVM/Views
Inheritance Hierarchy
- STableViewBase
- TListTypeTraits< ItemType >::SerializerType
- ITypedTableView
- SListView
- STreeView
- SOutlinerView
References
| Module | SequencerCore |
| Header | /Engine/Source/Editor/SequencerCore/Public/MVVM/Views/SOutlinerView.h |
| Include | #include "MVVM/Views/SOutlinerView.h" |
Syntax
class SOutlinerView : public STreeView< TWeakViewModelPtr< IOutlinerExtension > >
Remarks
The tree view used in the sequencer
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FCachedGeometry > | PhysicalNodes | Linear, sorted array of nodes that we currently have generated widgets for |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddPinnedTreeView
(
TSharedPtr< SOutlinerView > PinnedTreeView |
Add a SOutlinerView object that should be modified or updated when this Treeview is updated | |
| void | Construct
(
const FArguments& InArgs, |
Construct this widget | |
| void | CreateTrackLanesForRow
(
TSharedRef< SOutlinerViewRow > InRow, |
||
| void | ExpandCollapseNode
(
TViewModelPtr< IOutlinerExtension > InDataModel, |
Set the item's expansion state, including all of its children | |
| TSharedPtr< STrackLane > | FindOrCreateParentLane
(
TViewModelPtr< IOutlinerExtension > InDataModel |
||
| void | ForceSetSelectedItems
(
const TSet< TWeakViewModelPtr< IOutlinerExtension >>& InItems |
||
| TSharedRef< SWidget > | GenerateWidgetForColumn
(
TViewModelPtr< IOutlinerExtension > InDataModel, |
Generate a widget for the specified Node and Column | |
| const TArray< FCachedGeometry > & | Access all the physical nodes currently visible on the sequencer | ||
| int32 | |||
| TSharedPtr< FOutlinerViewModel > | |||
| float | |||
| void | GetVisibleItems
(
TArray< TViewModelPtr< IOutlinerExtension >>& OutItems |
||
| TViewModelPtr< IOutlinerExtension > | HitTestNode
(
float InPhysical |
Get the tree item model at the specified physical vertical position | |
| FReply | OnDragRow
(
const FGeometry& InGeometry, |
||
| void | OnExpansionChanged
(
TWeakViewModelPtr< IOutlinerExtension > InItem, |
Called when a node has been expanded or collapsed | |
| TSharedRef< ITableRow > | OnGenerateRow
(
TWeakViewModelPtr< IOutlinerExtension > InDisplayNode, |
Generate a row for a particular node | |
| void | OnGetChildren
(
TWeakViewModelPtr< IOutlinerExtension > InParent, |
Gather the children from the specified node | |
| FString | OnItemToString_Debug
(
TWeakViewModelPtr< IOutlinerExtension > InWeakModel |
||
| float | PhysicalToVirtual
(
float InPhysical |
Convert the specified physical vertical position into an absolute virtual position, ignoring expanded states | |
| void | Private_SelectRangeFromCurrentTo
(
TWeakViewModelPtr< IOutlinerExtension > InRangeSelectionEnd |
||
| void | Private_SetItemSelection
(
TWeakViewModelPtr< IOutlinerExtension > TheItem, |
Tree selection methods which must be overriden to maintain selection consistency with the rest of sequencer. | |
| void | Refresh () |
Refresh this tree as a result of the underlying tree data changing | |
| void | ReportChildRowGeometry
(
const TViewModelPtr< IOutlinerExtension >& InNode, |
||
| void | ScrollByDelta
(
float DeltaInSlateUnits |
Scroll this tree view by the specified number of slate units | |
| void | SetPrimaryTreeView
(
TSharedPtr< SOutlinerView > InPrimaryTreeView |
Set a SOutlinerView object this Treeview is pinned to, for operations that should happen on the primary | |
| void | SetShowPinned
(
bool bShowPinned |
Set whether this TreeView should show only pinned nodes or only non-pinned nodes | |
| void | SetupColumns
(
const FArguments& InArgs |
Populate the map of column definitions, and add relevant columns to the header row | |
| void | ToggleExpandCollapseNodes
(
ETreeRecursion Recursion, |
Expand or collapse nodes | |
| void | Ensure that the track area column is either show or hidden, depending on the visibility of the curve editor | ||
| float | VirtualToPhysical
(
float InVirtual |
Convert the specified absolute virtual position into a physical position in the tree. |
Overridden from STableViewBase
| Type | Name | Description | |
|---|---|---|---|
| void | OnRightMouseButtonDown
(
const FPointerEvent& MouseEvent |
Right click down | |
| void | OnRightMouseButtonUp
(
const FPointerEvent& MouseEvent |
Opens a context menu as the result of a right click if OnContextMenuOpening is bound and we are not right click scrolling. |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FReply | OnDragOver
(
const FGeometry& MyGeometry, |
Called during drag and drop when the the mouse is being dragged over a widget. | |
| FReply | OnDrop
(
const FGeometry& MyGeometry, |
Called when the user is dropping something onto a widget; terminates drag and drop. | |
| FReply | Called after a key is pressed when this widget has focus (this event bubbles if not handled) | ||
| int32 | OnPaint
(
const FPaintArgs& Args, |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. | |
| void | See SWidget::Tick() |
Overridden from ITypedTableView
| Type | Name | Description | |
|---|---|---|---|
| void | Empty the selection set. | ||
| void | Private_SignalSelectionChanged
(
ESelectInfo::Type SelectInfo |
Notify the ItemsWidget that we changed its selection. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments | |||
| FCachedGeometry | Structure used to cache physical geometry for a particular node |
Constants
| Name | Description |
|---|---|
| TrackNameColumn |