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

#include "OperatingSystemFileWidget.h"

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

Public Member Functions

 UOperatingSystemFileWidget ()
 
- 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 UE_NODISCARD UOperatingSystemFileWidgetCreateFileWidget (UOperatingSystemFile *OwningFile, const TSoftClassPtr< UOperatingSystemFileWidget > &WidgetSoftClass)
 

Protected Attributes

TWeakObjectPtr< UOperatingSystemFileParentFile
 
- 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.
 

Additional Inherited Members

- 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.
 

Detailed Description

This class represents a widget that is associated with a file in an operating system. It contains methods to create a file widget and set the parent file.

Constructor & Destructor Documentation

◆ UOperatingSystemFileWidget()

UOperatingSystemFileWidget::UOperatingSystemFileWidget ( )

Member Function Documentation

◆ CreateFileWidget()

UOperatingSystemFileWidget * UOperatingSystemFileWidget::CreateFileWidget ( UOperatingSystemFile * OwningFile,
const TSoftClassPtr< UOperatingSystemFileWidget > & WidgetSoftClass )
static

Creates a file widget associated with an operating system file.

Parameters
OwningFileThe owning file that the widget will be associated with.
WidgetSoftClassThe soft class pointer to the file widget class.
Returns
The created file widget. Returns nullptr if the WidgetSoftClass is null.
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ ParentFile

TWeakObjectPtr<UOperatingSystemFile> UOperatingSystemFileWidget::ParentFile
protected

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