Operating System Simulator Plugin  3.5.1
Unreal Engine plugin that simulates an Operating System Environment
Loading...
Searching...
No Matches
UOperatingSystemProgramWidget Class Reference

#include "OperatingSystemProgramWidget.h"

Inheritance diagram for UOperatingSystemProgramWidget:
[legend]
Collaboration diagram for UOperatingSystemProgramWidget:
[legend]

Public Member Functions

 UOperatingSystemProgramWidget ()
 
void SetFile ()
 
void OpenFile ()
 
- Public Member Functions inherited from UOperatingSystemWindowWidgetBase
 UOperatingSystemWindowWidgetBase ()
 
void SetParentWindow (UDraggableWindow *NewWindow)
 
void BringWindowToFront () const
 Brings the window associated with this widget to the front of the z-order.
 
- Public Member Functions inherited from UOperatingSystemWidgetBase
 UOperatingSystemWidgetBase ()
 
void SetOperatingSystem (UOperatingSystem *NewOS)
 
void DestroyOperatingSystemBaseWidget ()
 Destroys the operating system base widget.
 
void ThemeChanged (UOperatingSystemSettingModule_Theme *ThemePayload)
 Callback function for handling theme changes in the operating system widget.
 
- Public Member Functions inherited from IOperatingSystemThemeInterface
void K2_OnOperatingSystemThemeChanged (UOperatingSystemSettingModule_Theme *ThemePayload)
 Callback function for handling theme changes in the operating system widget.
 

Static Public Member Functions

static UOperatingSystemProgramWidgetCreateProgramWidget (const TWeakObjectPtr< UOperatingSystemBaseProgram > TargetProgram, FGenericError &OutError)
 

Protected Member Functions

void K2_OnSetFile ()
 
void K2_OnOpenFile ()
 
- Protected Member Functions inherited from UOperatingSystemWindowWidgetBase
virtual FReply NativeOnMouseButtonDown (const FGeometry &InGeometry, const FPointerEvent &InMouseEvent) override
 
virtual void NativeOnAddedToFocusPath (const FFocusEvent &InFocusEvent) override
 
virtual void OnDestroyWidget () override
 This method is called before the widget is destroyed.
 
void K2_OnSetWindow ()
 This method is called when the window associated with this widget is set.
 
void K2_OnDestroyWidget ()
 This method is called when the widget is being destroyed.
 
- Protected Member Functions inherited from UOperatingSystemWidgetBase
virtual void NativeConstruct () override
 
void K2_OnSetOperatingSystem ()
 Blueprint event called when the operating system is set.
 

Protected Attributes

TWeakObjectPtr< UOperatingSystemBaseProgramParentProgram
 
uint8 bHasBlueprintOnSetFile: 1
 
uint8 bHasBlueprintOnOpenFile: 1
 
- Protected Attributes inherited from UOperatingSystemWindowWidgetBase
TObjectPtr< UDraggableWindowParentWindow
 
- Protected Attributes inherited from UOperatingSystemWidgetBase
TObjectPtr< UOperatingSystemParentOS
 A pointer to the parent operating system of the operating system widget.
 

Constructor & Destructor Documentation

◆ UOperatingSystemProgramWidget()

UOperatingSystemProgramWidget::UOperatingSystemProgramWidget ( )

Member Function Documentation

◆ CreateProgramWidget()

UOperatingSystemProgramWidget * UOperatingSystemProgramWidget::CreateProgramWidget ( const TWeakObjectPtr< UOperatingSystemBaseProgram > TargetProgram,
FGenericError & OutError )
static

UOperatingSystemProgramWidget::CreateProgramWidget Creates a program widget for the specified target program.

Parameters
TargetProgramThe target program for which to create the program widget.
OutErrorThe error information if the program widget creation fails.
Returns
The created program widget instance. Returns nullptr if creation fails.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ K2_OnOpenFile()

void UOperatingSystemProgramWidget::K2_OnOpenFile ( )
protected

BlueprintImplementableEvent for the OnOpenFile event. This event is called when a file is opened in the program widget.

See also
UOperatingSystemProgramWidget::OpenFile
Note
This method is implemented as a BlueprintImplementableEvent, which means it can be overridden in Blueprints and additional functionality can be added.
Here is the caller graph for this function:

◆ K2_OnSetFile()

void UOperatingSystemProgramWidget::K2_OnSetFile ( )
protected

BlueprintImplementableEvent for the OnSetFile event. This event is called when the file is set for the program widget.

See also
UOperatingSystemProgramWidget::SetFile
Note
This method is implemented as a BlueprintImplementableEvent, which means it can be overridden in Blueprints and additional functionality can be added.
Here is the caller graph for this function:

◆ OpenFile()

void UOperatingSystemProgramWidget::OpenFile ( )

Opens a file in the program widget.

Here is the call graph for this function:

◆ SetFile()

void UOperatingSystemProgramWidget::SetFile ( )

Sets the file for the program widget.

Here is the call graph for this function:

Member Data Documentation

◆ bHasBlueprintOnOpenFile

uint8 UOperatingSystemProgramWidget::bHasBlueprintOnOpenFile
protected

◆ bHasBlueprintOnSetFile

uint8 UOperatingSystemProgramWidget::bHasBlueprintOnSetFile
protected

◆ ParentProgram

TWeakObjectPtr<UOperatingSystemBaseProgram> UOperatingSystemProgramWidget::ParentProgram
protected

The documentation for this class was generated from the following files: