Navigation
API > API/Developer > API/Developer/DesktopWidgets
Implements an editable text box with a browse button.
| Name | SFilePathPicker |
| Type | class |
| Header File | /Engine/Source/Developer/DesktopWidgets/Public/Widgets/Input/SFilePathPicker.h |
| Include Path | #include "Widgets/Input/SFilePathPicker.h" |
Syntax
class SFilePathPicker : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SFilePathPicker
- FSlateControlledConstruction → SWidget → SCompoundWidget → SFilePathPicker
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BrowseDirectory | TAttribute< FString > | Holds the directory path to browse by default. | Widgets/Input/SFilePathPicker.h | |
| BrowseTitle | TAttribute< FText > | Holds the title for the browse dialog window. | Widgets/Input/SFilePathPicker.h | |
| DialogReturnsFullPath | TAttribute< bool > | Holds the option for the dialog to return full path instead of relative. | Widgets/Input/SFilePathPicker.h | |
| FilePath | TAttribute< FString > | Holds the currently selected file path. | Widgets/Input/SFilePathPicker.h | |
| FileTypeFilter | TAttribute< FString > | Holds the file type filter string. | Widgets/Input/SFilePathPicker.h | |
| OnPathPicked | FOnPathPicked | Holds a delegate that is executed when a file was picked. | Widgets/Input/SFilePathPicker.h | |
| TextBox | TSharedPtr< SEditableTextBox > | Holds the editable text box. | Widgets/Input/SFilePathPicker.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
Constructs a new widget. | Widgets/Input/SFilePathPicker.h |