SExternalImageReference

This widget shows an external image preview of a per-project configurable image (one where the engine provides a default, but each project may have its own override)

Windows
MacOS
Linux

Inheritance Hierarchy

Syntax

class SExternalImageReference : public SCompoundWidget

Remarks

This widget shows an external image preview of a per-project configurable image (one where the engine provides a default, but each project may have its own override)

Variables

Name Description

Protected variable

FString

 

BaseFilename

The image on disk that we will use if the override does not exist.

Protected variable

bool

 

bDeletePreviousTargetWhenExtensionChanges

If true, the previous target image will be deleted if the file extension changes

Protected variable

bool

 

bDeleteTargetWhenDefaultChosen

If true, the target image will be deleted if the default is chosen

Protected variable

TArray< FString...

 

Extensions

The extensions supported by this external reference

Protected variable

FText

 

FileDescription

The description of the file in question, e.g. 'image' or 'icon', used for error reporting

Protected variable

FOnPostExternal...

 

OnPostExternalImageCopy

Delegate fired after an image has been copied

Protected variable

FOnPreExternalI...

 

OnPreExternalImageCopy

Delegate fired before an image has been copied

Protected variable

FString

 

OverrideFilename

The image on disk that the override image is stored as.

Protected variable

TSharedPtr< cla...

 

PropertyHandle

A property handle to use if required

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs,
    const FString& InBaseFilename,
    const FString& InOverrideFilename
)

Protected function

bool

 

HandleExternalImagePicked

(
    const FString& InChosenImage,
    const FString& InTargetImage
)

Delegate handler for when an image is picked

Classes

Name

Description

Public struct

FArguments

References

Module

SharedSettingsWidgets

Header

Developer/SharedSettingsWidgets/Public/SExternalImageReference.h

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