Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Widgets
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- IAnimAssetFindReplace
- IAnimationSequenceBrowser
- IAnimSequenceCurveEditor
- IDetailsView
- IDistributionCurveEditor
- ILevelEditor
- INavigationEventSimulationView
- IObjectNameEditableTextBox
- IPersonaViewport
- IPinnedCommandList
- IRewindDebuggerView
- ISceneOutliner
- SSceneOutliner
- SContentBundleOutliner
- SObjectMixerEditorList
- ISinglePropertyView
- ISkeletonTree
- ISocketManager
- IStatsViewer
- ITimeSlider
- ITransportControl
- SAboutScreen
- SActorEditorContext
- SAdvancedPreviewDetailsTab
- SAdvancedRotationInputBox
- SAdvancedTransformInputBox
- SAnimationCompressionSelectionDialog
- SAnimAttributeView
- SAppIconWidget
- SAssetEditorViewportsOverlay
- SAssetPickerButton
- SAssetSearchBox
- SAssetTagItem
- SAssetView
- SAssetViewItem
- SAssetColumnItem
- SAssetListItem
- SAssetTileItem
- SAudioInputWidget
- SAudioRadialSlider
- SAudioFrequencyRadialSlider
- SAudioVolumeRadialSlider
- SAudioSliderBase
- SAudioFrequencySlider
- SAudioSlider
- SAudioVolumeSlider
- SAudioTextBox
- SBackgroundBlur
- SBarVisualizer
- SBasicFilterBar
- SAssetFilterBar
- SFilterBar
- SBasicFilterBar::SFilter
- SAssetFilterBar::SAssetFilter
- SBlueprintDiff
- SBlueprintEditorSelectedDebugObjectWidget
- SBlueprintNamespaceEntry
- SBlueprintRevisionMenu
- SBoneMappingBase
- SBoneSelectionWidget
- SBoneTreeMenu
- SBoolPropertyValue
- SBorder
- SButton
- SButtonCommandWidget
- SHyperlink
- SRichTextHyperlink
- SHyperlinkWithTextHighlight
- SPrimaryButton
- SSimpleButton
- SCarouselNavigationButton::SPeekBorder
- SDockTab
- SLiveLinkCurveDebugUITab
- SEditableTextBox
- SSearchBox
- SErrorText
- SExpandableButton
- SGraphEditorActionMenu
- SGraphEditorActionMenuAI
- SGraphPin
- SGraphPinAI
- SGraphPinBool
- SGraphPinColor
- SGraphPinEnum
- SGraphPinExec
- SGraphPinKnot
- SGraphPinMaterialInput
- SGraphPinNameList
- SGraphPinDataTableRowName
- SGraphPinNum
- SGraphPinInteger
- SGraphPinObject
- SGraphPinClass
- SGraphPinString
- SGraphPinStructInstance
- SGraphPinVector
- SGraphPinVector2D
- SGraphPinVector4
- SRigVMGraphPinCurveFloat
- SRigVMGraphPinNameList
- SRigVMGraphPinUserDataNameSpace
- SRigVMGraphPinUserDataPath
- SRigVMGraphPinVariableBinding
- SRigVMGraphPinVariableName
- SHeaderRow
- SMultiLineEditableTextBox
- STemplateStringEditableTextBox
- SNiagaraGraphActionMenu
- SNotificationBackground
- SRCProtocolMaskTriplet
- SRCProtocolMask
- SScrollBar
- SLinkableScrollBar
- SSeparator
- STableRow
- SAssetTagItemTableRow
- SComboRow
- SDatabaseAssetListItem
- SIKRigSolverStackItem
- SItemSelector::SItemSelectorItemTableRow
- SMLDeformerBonePickerTreeRowWidget
- SMLDeformerCurvePickerRowWidget
- SMLDeformerInputBoneTreeRowWidget
- SMLDeformerInputCurveListRowWidget
- SMultiColumnTableRow
- ISequencerTreeViewRow
- SOutlinerViewRow
- SAnimAttributeEntry
- SAssetColumnViewRow
- SAssetListViewRow
- SBoneMappingListRow
- SBonePairRow
- SCollectionSpreadSheetRow
- SDMXReadOnlyFixturePatchListRow
- SEventItem
- SIKRetargetChainMapRow
- SIKRetargetHierarchyRow
- SIKRigRetargetChainRow
- SIKRigSkeletonRow
- SLiveLinkCurveDebugUIListItem
- SOptionTableRow
- SSceneOutlinerPinnedTreeRow
- SSceneOutlinerTreeRow
- SSCS_RowWidget
- SSCS_RowWidget_ActorRoot
- SSCS_RowWidget_Separator
- SSelectionViewRow
- SSubobject_RowWidget
- SUsdTreeRow
- SUsdStagePreviewTreeRow
- SMultiSelectTableRow
- SNeuralMorphBoneGroupsTreeRowWidget
- SNeuralMorphCurveGroupsTreeRowWidget
- SRigStackItem
- SRigVMGraphFunctionLocalizationTableRow
- SRigVMVariableMappingTreeRow
- SWarningOrErrorBox
- SRichTextWarningOrErrorBox
- SBreadcrumbTrail
- SBuildProgressWidget
- SCarouselNavigationBar
- SCarouselNavigationButton
- SChaosVDMainTab
- SChaosVDPlaybackViewport
- SChaosVDSolverPlaybackControls
- SChaosVDSolverTracks
- SChaosVDTimelineWidget
- SCheckBox
- SBasicFilterBar::SFilterCheckBox
- SNiagaraSourceFilterCheckBox
- SCheckBoxList
- SClassPickerDialog
- SClassPropertyEntryBox
- SClassViewer
- SCollectionSelectionButton
- SCollectionSpreadSheet
- SCollectionSpreadSheetWidget
- SColorGradingPicker
- SColorPicker
- SColorThemeBar
- SColorThemesViewer
- SColorTrash
- SComboPanel
- SCommandDetailsView
- SCommandPickMenuWidget
- SCommandWidget
- SCommentBubble
- SComplexGradient
- SComponentClassCombo
- SConcertScrollBox
- SConcertSessionActivities
- SConcertSessionBrowser
- SConcertSessionRecovery
- SConsoleVariablesEditorCustomConsoleInputBox
- SContentBundleBrowser
- SContentReference
- SCreateAssetFromObject
- SCreateClothingSettingsPanel
- SCreditsScreen
- SCSVImportOptions
- SCulturePicker
- SCurveEditor
- SCurveEditorFilterPanel
- SCurveEditorPanel
- SCurveEditorTreeFilterStatusBar
- SCurveEditorTreePin
- SCurveEditorTreeSelect
- SCurveEditorTreeTextFilter
- SCurveEditorView
- SCurveViewerPanel
- SInteractiveCurveEditorView
- SCurveEditorKeyBarView
- SCurveEditorViewAbsolute
- SCurveEditorViewNormalized
- SCurveEditorViewStacked
- SViewStacked
- SCurveKeyDetailPanel
- SCurvePickerWidget
- SCurveSelectionWidget
- SCurveTimelineView
- SCurveTimelineView
- SCustomizableInstanceProperties
- SCustomTextFilterDialog
- SDatabaseAssetTree
- SDatabaseDataDetails
- SDatabasePreview
- SDatasmithOptionsWindow
- SDefaultGraphActionWidget
- SDefaultPropertyValue
- SDeleteAssetsDialog
- SDesignSurface
- SDesignerView
- SDetailsDiff
- SDetailsSplitter
- SDirectoryPicker
- SDMXPixelMappingCell
- SDMXPixelMappingComponentBox
- SDMXPixelMappingScreenComponentBox
- SDMXPixelMappingComponentLabel
- SDMXPixelMappingScreenLayout
- SDMXPixelMappingSimpleScreenLayout
- SDMXPortSelector
- SDMXReadOnlyFixturePatchList
- SDNAAssetImportWindow
- SDocumentationToolTip
- SDraggableBox
- SDraggableBoxOverlay
- SDropTarget
- SAssetDropTarget
- SNiagaraSectionDragDropTarget
- SDynamicLayoutBox
- SDynamicNumericEntry
- SEditableComboBox
- SEditableSessionHistory
- SEditorViewport
- SAssetEditorViewport
- SBaseCharacterFXEditorViewport
- SDataflowEditorViewport
- SLevelViewport
- SUVEditor2DViewport
- SUVEditor3DViewport
- SBasePoseViewport
- SContextualAnimViewport
- SDatabaseViewport
- SGroomEditorViewport
- SRetargetPoseViewport
- SEditorViewportToolBarButton
- SEditorViewportToolbarMenu
- SEditorViewportViewMenu
- SEnumPropertyValue
- SErrorHint
- SEventsTree
- SExpandableArea
- SExpanderArrow
- SExpanderArrow
- SNiagaraActionMenuExpander
- SExtensionPanel
- SExternalImageReference
- SFieldIcon
- SFieldName
- SFilePathPicker
- SFilterableObjectList
- SFilterClassMenuItem
- SFilterSearchBox
- SFindInBlueprints
- SFindInMaterial
- SFixedSampledSequenceRuler
- SFixedSampledSequenceViewerPanel
- SFixupSelfContextDialog
- SFrameRateEntryBox
- SFrameRatePicker
- SFxWidget
- SGameLayerManager
- SGameplayTagChip
- SGameplayTagCombo
- SGameplayTagContainerCombo
- SGameplayTagPicker
- SGameplayTagQueryEntryBox
- SGameplayTagWidget
- SGenericDialogWidget
- SGlobalPlayWorldActions
- SGraphActionMenu
- SGraphEditor
- SDataflowGraphEditor
- SGraphPalette
- SGraphPaletteItem
- SNiagaraIconWidget
- SGraphPreviewer
- SGridLineSpacingList
- SHyperlinkLaunchURL
- SIKRetargetChainMapList
- SIKRetargetHierarchy
- SIKRetargetPoseEditor
- SIKRigHierarchy
- SIKRigHierarchyItem
- SIKRigRetargetChainList
- SIKRigSolverStack
- SIndent
- SInlineEditableTextBlock
- SInlinePropertyCellWidget
- SInputKeySelector
- SInvalidationPanel
- SItemSelector
- SKeyEditInterface
- SKeyNavigationButtons
- SKeySelector
- SKismetDebugTreeView
- SKismetInspector
- SKismetLinearExpression
- SLayerHandle
- SLevelOfDetailBranchNode
- SListView::SListViewPinnedRowWidget
- SListViewSelectorDropdownMenu
- SLiveLinkSubjectRepresentationPicker
- SLoadGuard
- SLogWidget
- SMajorTabWindow
- SMaterialSlotWidget
- SMediaImage
- SMediaPermutationsSelector
- SMediaPlayerEditorMediaDetails
- SMediaPlayerEditorViewer
- SMediaPlaylistEditorTracks
- SMenuOwner
- SMultiBoxWidget
- SMessageLogListing
- SMetaDataView
- SMiniCurveEditor
- SMLDeformerInputBonesWidget
- SMLDeformerInputCurvesWidget
- SMLDeformerInputWidget
- SNeuralMorphInputWidget
- SModeWidget
- SMotionTrailOptions
- SMultiBlockBaseWidget
- SToolBarButtonBlock
- SUniformToolbarButtonBlock
- SToolBarComboButtonBlock
- SToolBarStackButtonBlock
- SMultipleOptionTable
- SMyBlueprint
- SNameComboBox
- SNameListPicker
- SNegativeActionButton
- SNiagaraActionWidget
- SNiagaraFilterBox
- SNiagaraGraphActionWidget
- SNiagaraHierarchy
- SNiagaraHierarchyCategory
- SNiagaraHierarchyModule
- SNiagaraHierarchyModuleInput
- SNiagaraHierarchySection
- SNiagaraLibraryOnlyToggleHeader
- SNiagaraParameterEditor
- SNiagaraParameterMenu
- SNiagaraAddParameterFromPanelMenu
- SNiagaraAddParameterFromPinMenu
- SNiagaraChangePinTypeMenu
- SNiagaraParameterName
- SNiagaraParameterNamePinLabel
- SNiagaraParameterNameTextBlock
- SNiagaraParameterPanel
- SNiagaraPinTypeSelector
- SNiagaraScriptGraph
- SNiagaraSelectedObjectsDetails
- SNiagaraSourceFilterBox
- SNiagaraTemplateTabBox
- SNodeTitle
- SNotificationItem
- SNotificationList
- SNumericDropDown
- SNumericEntryBox
- SNumericPropertyValue
- SNumericRotatorInputBox
- SNumericTextBlockKeyEditor
- SNumericVectorInputBox
- SObjectBindingTag
- SObjectBindingTags
- SObjectPropertyEntryBox
- SObjectWidget
- SObjectTableRow
- SCommonButtonTableRow
- SOutlinerItemViewBase
- SOutlinerObjectBindingView
- SOutlinerTrackView
- SOutputLogDialog
- SOverridePropertiesWidget
- SPerQualityLevelPropertiesWidget
- SPackageDetails
- SPinComboBox
- SPinTypeSelector
- SPinValueInspector
- SPlatformSetupMessage
- SPListEditorPanel
- SPopup
- SPoseAssetNameWidget
- SPositiveActionButton
- SPrivateAssetsDialog
- SProperty
- SPropertyAccessChainWidget
- SPropertyViewer
- SReadOnlyHierarchyView
- SReferenceSectionSelectionWidget
- SReferenceTree
- SResetToDefaultMenu
- SResetToDefaultPropertyEditor
- SRetainerWidget
- SRetargetAnimAssetsWindow
- SRigVMExecutionStackView
- SRigVMGraphBreakLinksWidget
- SRigVMGraphChangePinType
- SRigVMGraphFunctionBulkEditWidget
- SRigVMGraphFunctionLocalizationWidget
- SRigVMGraphVariableBinding
- SRigVMUserDataPath
- SRigVMVariableMappingWidget
- SScalabilitySettings
- SScaleBox
- SScrollBorder
- SScrollBox
- SCommonHierarchicalScrollBox
- SScrubControlPanel
- SScrubWidget
- SSCSEditor
- SSegmentedControl
- SSegmentedTimelineView
- SSelectionView
- SSelectionViewWidget
- SSessionBrowser
- SSessionHistory
- SSessionHistoryWrapper
- SSettingsEditorCheckoutNotice
- SSimpleGradient
- SSimplePreLoadScreenWidget
- SSimpleTimeSlider
- SSingleObjectDetailsPanel
- SSkeletonBoneRemoval
- SSkeletonSelectorWindow
- SSkeletonWidget
- SSkeletonCompareWidget
- SSkeletonListWidget
- SSkinWeightProfileImportOptions
- SSocketChooserPopup
- SSourceControlReview
- SSpinBox
- SSplineGeneratorPanel
- SStandaloneCustomizedValueWidget
- SStringPropertyValue
- SStructPropertyEntryBox
- SSubMenuHandler
- SSubobjectEditor
- SSubobjectBlueprintEditor
- SSubobjectInstanceEditor
- SSuggestionTextBox
- STabDrawer
- STableViewBase
- SListView
- SAssetColumnView
- SAssetListView
- SCommonListView
- SMLDeformerCurvePickerListView
- SMLDeformerInputCurveListWidget
- STileView
- SAssetTileView
- SCommonTileView
- STreeView
- ISequencerTreeView
- SBaseHierarchyTreeView
- SCommonTreeView
- SCurveEditorTree
- SMLDeformerBonePickerTreeWidget
- SMLDeformerInputBoneTreeWidget
- SNeuralMorphBoneGroupsWidget
- SNeuralMorphCurveGroupsWidget
- SOutlinerView
- SSceneOutlinerTreeView
- SSCSEditorDragDropTree
- SSubobjectEditorDragDropTree
- SUsdTreeView
- SUsdStagePreviewTree
- STextComboBox
- STextComboPopup
- STextEntryPopup
- STextHighlightOverlay
- STextPropertyEditableStringTableReference
- STextPropertyEditableTextBox
- STextScroller
- SThemeColorBlock
- SThrobber
- STickDelegateWidget
- STimecodeProvider
- STimeline
- SToolInputAssetComboPanel
- SToolInputAssetPicker
- SToolTip
- STrackAreaLaneView
- SChannelView
- STransformedWaveformViewPanel
- STransformGizmoNumericalUIOverlay
- SUndoHistoryDetails
- SUsdOptionsWindow
- SUserToolBoxTabWidget
- SUserWidget
- SLiveLinkCurveDebugUI
- SVector2DTextBox
- SVector4TextBox
- SVectorTextBox
- SVerticalResizeBox
- SViewport
- SViewportToolBar
- SCommonEditorViewportToolbarBase
- SContextualAnimViewportToolBar
- SPoseSearchDatabaseViewportToolBar
- SCustomizableObjectEditorTransformViewportToolbar
- SCustomizableObjectEditorViewportToolBar
- SDataflowViewportSelectionToolBar
- STransformViewportToolBar
- SUVEditor2DViewportToolBar
- SUVEditor3DViewportToolBar
- SViewportToolBarComboMenu
- SViewportToolBarIconMenu
- SVolumeControl
- SVPBookmarkListView
- SWaveformEditorMessageDialog
- SWaveformTransformationRenderLayer
- SWaveformTransformationsOverlay
- SWebBrowser
- SWebBrowserView
- SWidgetCarousel
- SWidgetCarouselWithNavigation
- SWidgetDrawer
- SWindow
- SBatchExportDialog
- SContextualAnimNewAnimSetDialog
- SCreateAnimationAssetDlg
- SCustomDialog
- SLandscapeLayerListDialog
- SMessageDialog
- SMLDeformerBonePickerDialog
- SMLDeformerCurvePickerDialog
- SDlgPickAssetPath
- SDlgPickPath
- SLogWindow
- SReplaceMissingSkeletonDialog
- SRigVMGraphBreakLinksDialog
- SRigVMGraphFunctionBulkEditDialog
- SRigVMGraphFunctionLocalizationDialog
- SSelectExportPathDialog
- SSelectFolderDlg
- SVirtualWindow
- SWindowTitleBar
- SWizard
- SWorldPartitionBuildNavigationDialog
- SWorldPartitionEditor
- SWorldPartitionEditorGrid
- SWorldPartitionEditorGrid2D
- SWorldPartitionEditorGridSpatialHash
- SWorldPartitionViewportWidget
- SWorldWidgetScreenLayer
- SZoomPan
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Widgets/SCompoundWidget.h |
| Include | #include "Widgets/SCompoundWidget.h" |
Syntax
class SCompoundWidget : public SWidget
Remarks
A CompoundWidget is the base from which most non-primitive widgets should be built. CompoundWidgets have a protected member named ChildSlot.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FCompoundWidgetOneChildSlot | ChildSlot | The slot that contains this widget's descendants. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Disallow public construction |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FLinearColor | Gets the widget's color. | ||
| TSlateAttributeRef< FLinearColor > | |||
| const FVector2D | Returns the size scaling factor for this widget. | ||
| TSlateAttributeRef< FVector2D > | |||
| TSlateAttributeRef< FSlateColor > | |||
| void | SetColorAndOpacity
(
TAttribute< FLinearColor > InColorAndOpacity |
Sets the widget's color. | |
| void | SetContentScale
(
TAttribute< FVector2D > InContentScale |
Sets the content scale for this widget. | |
| void | SetForegroundColor
(
TAttribute< FSlateColor > InForegroundColor |
Sets the widget's foreground color. | |
| const FSlateWidgetClassData & |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | ComputeDesiredSize
(
float LayoutScaleMultiplier |
Compute the ideal size necessary to display this widget. | |
| FChildren * | GetChildren () |
Returns the useful children (if any) of this widget. | |
| FSlateColor | |||
| void | OnArrangeChildren
(
const FGeometry& AllottedGeometry, |
Compute the Geometry of all the children and add populate the ArrangedChildren list with their values. | |
| 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 | SetVisibility
(
TAttribute< EVisibility > InVisibility |
Overridden from FSlateControlledConstruction
| Type | Name | Description | |
|---|---|---|---|
| const FSlateWidgetClassData & |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FCompoundWidgetOneChildSlot |
Typedefs
| Name | Description |
|---|---|
| PrivateParentType | |
| PrivateThisType | |
| Super | |
| ThisClass |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| TSlateDeprecatedTAttribute< FLinearColor > | ColorAndOpacity | Direct access to ColorAndOpacity is now deprecated. Use the setter or getter. | |
| TSlateDeprecatedTAttribute< FVector2D > | ContentScale | Direct access to ContentScale is now deprecated. Use the setter or getter. | |
| TSlateDeprecatedTAttribute< FSlateColor > | ForegroundColor | Direct access to ForegroundColor is now deprecated. Use the setter or getter. |