SCSVImportOptions

UI to pick options when importing a data table

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/SCSVImportOptions.h

Include

#include "SCSVImportOptions.h"

Syntax

class SCSVImportOptions : public SCompoundWidget

Remarks

UI to pick options when importing a data table

Constructors

Name Description

Public function

SCSVImportOptions()

Functions

Name Description

Public function Const

bool

 

CanImport()

Do we have all of the data we need to import this asset?

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Public function Const

FString

 

GetCurveTypeText

(
    CurveInterpModePtr InterpMode
)

Public function Const

EVisibility

 

GetCurveTypeVis()

Whether to show curve type options

Whether to show table row options

Public function Const

EVisibility

 

GetDetailsPanelVis()

Whether to show details panel

Public function Const

FString

 

GetImportTypeText

(
    TSharedPtr< ECSVImportType > Type
)

Public function

ERichCurveIn...

 

GetSelectedCurveIterpMode()

Get the interpolation mode we selected

Public function Const

FText

 

GetSelectedCurveTypeText()

Public function

ECSVImportTy...

 

GetSelectedImportType()

Get the import type we selected

Public function Const

FText

 

GetSelectedItemText()

Public function

UScriptStruc...

 

GetSelectedRowStruct()

Get the row struct we selected

Public function Const

EVisibility

 

GetTableRowOptionVis()

Whether to show table row options

Public function

TSharedRef< ...

 

MakeCurveTypeWidget

(
    CurveInterpModePtr InterpMode
)

Called to create a widget for each curve interpolation enum

Public function

TSharedRef< ...

 

MakeImportTypeItemWidget

(
    TSharedPtr< ECSVImportType > Type
)

Called to create a widget for each struct

Public function

FReply

 

OnCancel()

Called when 'Cancel' button is pressed

Public function

FReply

 

OnImport()

Called when 'OK' button is pressed

Public function

void

 

OnImportTypeSelected

(
    TSharedPtr< ECSVImportType > Select...,
    ESelectInfo::Type SelectionType
)

Called when import type changes

Public function

void

 

OnStructSelected

(
    UScriptStruct* NewStruct
)

Called when datatable row is selected

Public function

bool

 

ShouldImport()

If we should import

Classes

Name

Description

Public struct

FArguments

Typedefs

Name

Description

CurveInterpModePtr

Typedef for curve enum pointers

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback