Skip to content

UOperatingSystemWindowWidgetBase

#include <OperatingSystemSimulator/Public/Widgets/Common/OperatingSystemWindowWidgetBase.h>
class UOperatingSystemWindowWidgetBase

Defined in OperatingSystemWindowWidgetBase.h:14

Inherits: UOperatingSystemWidgetBase Subclassed by: UOperatingSystemFileWidget, UOperatingSystemProgramWidget

---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemWindowWidgetBase["UOperatingSystemWindowWidgetBase"]
  class UOperatingSystemWidgetBase["UOperatingSystemWidgetBase"]
  UOperatingSystemWidgetBase <|-- UOperatingSystemWindowWidgetBase
  class UOperatingSystemFileWidget["UOperatingSystemFileWidget"]
  UOperatingSystemWindowWidgetBase <|-- UOperatingSystemFileWidget
  class UOperatingSystemProgramWidget["UOperatingSystemProgramWidget"]
  UOperatingSystemWindowWidgetBase <|-- UOperatingSystemProgramWidget
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemWindowWidgetBase["UOperatingSystemWindowWidgetBase"]
  class UDraggableWindow["UDraggableWindow"]
  UOperatingSystemWindowWidgetBase *-- UDraggableWindow
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemWindowWidgetBase {
    +UOperatingSystemWindowWidgetBase()
    +SetParentWindow(UDraggableWindow *NewWindow)
    +BringWindowToFront() const
    +GetParentWindow() const UDraggableWindow() *
    +ParentWindow : TObjectPtr< UDraggableWindow() >
    +NativeOnMouseButtonDown(const FGeometry &InGeometry, const FPointer FReply
    +NativeOnAddedToFocusPath(const FFocusEvent &InFocusEvent) override
    +OnDestroyWidget() override
    +K2_OnSetWindow()
    +K2_OnDestroyWidget()
    +bHasBlueprintOnSetWindow : uint8
    +bHasBlueprintOnDestroyWidget : uint8
  }

Inherit from this if the widget requires a parent window For example: File widget and Program widget.

ReturnNameDescription
UOperatingSystemWindowWidgetBaseConstructor 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.
voidSetParentWindowSets the parent window for the widget.
voidBringWindowToFront constBrings the window associated with this widget to the front of the z-order.
UDraggableWindow *GetParentWindow const

UOperatingSystemWindowWidgetBase()

Defined in OperatingSystemWindowWidgetBase.h:42 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.

See also: UOperatingSystemWindowWidgetBase


void SetParentWindow(UDraggableWindow * NewWindow)

Defined in OperatingSystemWindowWidgetBase.h:61 Sets the parent window for the widget.


const

void BringWindowToFront() const

Defined in OperatingSystemWindowWidgetBase.h:70 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.


const

UDraggableWindow * GetParentWindow() const

Defined in OperatingSystemWindowWidgetBase.h:72

ReturnNameDescription
TObjectPtr< UDraggableWindow >ParentWindowAn instance of UOperatingSystemWindowWidgetBase represents a widget that requires a parent window.

TObjectPtr< UDraggableWindow > ParentWindow

Defined in OperatingSystemWindowWidgetBase.h:32 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.

See also: UOperatingSystemWindowWidgetBase

See also: UDraggableWindow

See also: OperatingSystemWindowWidgetBase.h

ReturnNameDescription
FReplyNativeOnMouseButtonDown virtual override
voidNativeOnAddedToFocusPath virtual override
voidOnDestroyWidget virtual overrideThis method is called before the widget is destroyed.
voidK2_OnSetWindowThis method is called when the window associated with this widget is set.
voidK2_OnDestroyWidgetThis method is called when the widget is being destroyed.

virtual override

virtual FReply NativeOnMouseButtonDown(const FGeometry & InGeometry, const FPointerEvent & InMouseEvent) override

Defined in OperatingSystemWindowWidgetBase.h:46


virtual override

virtual void NativeOnAddedToFocusPath(const FFocusEvent & InFocusEvent) override

Defined in OperatingSystemWindowWidgetBase.h:47


virtual override

virtual void OnDestroyWidget() override

Defined in OperatingSystemWindowWidgetBase.h:52 This method is called before the widget is destroyed.


void K2_OnSetWindow()

Defined in OperatingSystemWindowWidgetBase.h:89 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.

See also: UDraggableWindow

See also: UDraggableWindow::SetWidget

See also: UOperatingSystemWindowWidgetBase::SetParentWindow


void K2_OnDestroyWidget()

Defined in OperatingSystemWindowWidgetBase.h:103 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.

See also: UOperatingSystemWindowWidgetBase

See also: UOperatingSystemWindowWidgetBase::K2_OnDestroyWidget

See also: UOperatingSystemWindowWidgetBase::OnDestroyWidget

ReturnNameDescription
uint8bHasBlueprintOnSetWindow
uint8bHasBlueprintOnDestroyWidget

uint8 bHasBlueprintOnSetWindow

Defined in OperatingSystemWindowWidgetBase.h:18


uint8 bHasBlueprintOnDestroyWidget

Defined in OperatingSystemWindowWidgetBase.h:19