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

References

Module

SharedSettingsWidgets

Header

/Engine/Source/Developer/SharedSettingsWidgets/Public/SExternalImageReference.h

Include

#include "SExternalImageReference.h"

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss