Open 3D Engine GraphCanvas Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
GraphCanvas::GeneralSlotLayoutGraphicsWidget Class Reference

#include <GeneralSlotLayoutComponent.h>

Inherits QGraphicsWidget, SlotLayoutRequestBus::Handler, NodeSlotsRequestBus::Handler, NodeNotificationBus::Handler, StyleNotificationBus::Handler, and SceneMemberNotificationBus::Handler.

Classes

class  LayoutDividerWidget
 
class  LinearSlotGroupWidget
 

Public Member Functions

 AZ_TYPE_INFO (GeneralSlotLayoutGraphicsWidget, "{9DE7D3C0-D88C-47D8-85D4-5E0F619E60CB}")
 
 AZ_CLASS_ALLOCATOR (GeneralSlotLayoutGraphicsWidget, AZ::SystemAllocator)
 
 GeneralSlotLayoutGraphicsWidget (GeneralSlotLayoutComponent &nodeSlots)
 
void Activate ()
 
void Deactivate ()
 
void OnNodeActivated () override
 
void OnSlotAddedToNode (const AZ::EntityId &slot) override
 
void OnSlotRemovedFromNode (const AZ::EntityId &slot) override
 
QGraphicsLayoutItem * GetGraphicsLayoutItem () override
 
QGraphicsLinearLayout * GetLinearLayout (const SlotGroup &slotGroup) override
 
QGraphicsWidget * GetSpacer (const SlotGroup &slotGroup) override
 
void OnSceneSet (const AZ::EntityId &sceneId) override
 
void SetDividersEnabled (bool enabled) override
 
void ConfigureSlotGroup (SlotGroup group, SlotGroupConfiguration configuration) override
 
int GetSlotGroupDisplayOrder (SlotGroup group) const override
 
bool IsSlotGroupVisible (SlotGroup group) const override
 
void SetSlotGroupVisible (SlotGroup group, bool visible) override
 
void ClearSlotGroup (SlotGroup group) override
 
void OnStyleChanged () override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)=delete
 

Protected Member Functions

const AZ::EntityId & GetEntityId () const
 

Detailed Description

The slots QGraphicsWidget for displaying a the node slots QtWidgets cannot be serialized out, so the component wrapper stores the actual configuration map for serialization.


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