Operating System Simulator Plugin
3.5.1
Unreal Engine plugin that simulates an Operating System Environment
|
#include "OperatingSystemWindowWidgetBase.h"
Public Member Functions | |
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. | |
Protected Member Functions | |
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 | |
TObjectPtr< UDraggableWindow > | ParentWindow |
Protected Attributes inherited from UOperatingSystemWidgetBase | |
TObjectPtr< UOperatingSystem > | ParentOS |
A pointer to the parent operating system of the operating system widget. | |
Inherit from this if the widget requires a parent window For example: File widget and Program widget.
UOperatingSystemWindowWidgetBase::UOperatingSystemWindowWidgetBase | ( | ) |
Constructor for the UOperatingSystemWindowWidgetBase class. This constructor initializes the ParentWindow member variable to nullptr. It also calls the IMPLEMENTED_IN_BP_LAMBDA macro and sets the bHasBlueprintOnSetWindow and bHasBlueprintOnDestroyWidget flags to false.
void UOperatingSystemWindowWidgetBase::BringWindowToFront | ( | ) | const |
Brings the window associated with this widget to the front of the z-order.
This method calls the BringWindowToFront method of the parent operating system to bring the window associated with this widget to the front of the z-order.
|
protected |
This method is called when the widget is being destroyed.
This method is an event that is called when the widget is being destroyed. It can be overridden in Blueprint to perform custom logic before the widget is destroyed.
|
protected |
This method is called when the window associated with this widget is set.
This method is an event that is called when the window associated with this widget is set. It can be overridden in Blueprint to perform custom logic when the window is set.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
This method is called before the widget is destroyed.
Reimplemented from UOperatingSystemWidgetBase.
void UOperatingSystemWindowWidgetBase::SetParentWindow | ( | UDraggableWindow * | NewWindow | ) |
Sets the parent window for the widget.
NewWindow | Pointer to the parent window as an instance of UDraggableWindow. |
|
protected |
An instance of UOperatingSystemWindowWidgetBase represents a widget that requires a parent window.
A Parent Window is an instance of UDraggableWindow that serves as the parent of the widget.