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::NodePropertyDisplay Class Referenceabstract

Inherits AzQtComponents::ShortcutDispatchTraits::Bus::Handler, DataSlotNotificationBus::Handler, and GraphCanvas::DataSlotDragDropInterface.

Inherited by GraphCanvas::AssetIdNodePropertyDisplay, GraphCanvas::BooleanNodePropertyDisplay, GraphCanvas::ComboBoxNodePropertyDisplay, GraphCanvas::EntityIdNodePropertyDisplay, GraphCanvas::NumericNodePropertyDisplay, GraphCanvas::ReadOnlyNodePropertyDisplay, GraphCanvas::StringNodePropertyDisplay, and GraphCanvas::VectorNodePropertyDisplay.

Public Member Functions

 NodePropertyDisplay (DataInterface *dataInterface)
 
void SetSlotId (const SlotId &slotId)
 
 AZ_DEPRECATED (const AZ::EntityId &GetId() const, "Function deprecated. Use GetSlotId instead.")
 
const SlotId & GetSlotId () const
 
void SetNodeId (const AZ::EntityId &nodeId)
 
const AZ::EntityId & GetNodeId () const
 
AZ::EntityId GetSceneId () const
 
void TryAndSelectNode () const
 
bool EnableDropHandling () const
 
AZ::Outcome< DragDropState > OnDragEnterEvent (QGraphicsSceneDragDropEvent *dragDropEvent) override
 
void OnDragLeaveEvent (QGraphicsSceneDragDropEvent *dragDropEvent) override
 
void OnDropEvent (QGraphicsSceneDragDropEvent *dragDropEvent) override
 
void OnDropCancelled () override
 
void OnDragDropStateStateChanged (const DragDropState &dragDropState) override
 
void RegisterShortcutDispatcher (QWidget *widget)
 
void UnregisterShortcutDispatcher (QWidget *widget)
 
virtual void RefreshStyle ()=0
 
virtual void UpdateDisplay ()=0
 
virtual QGraphicsLayoutItem * GetDisabledGraphicsLayoutItem ()=0
 
virtual QGraphicsLayoutItem * GetDisplayGraphicsLayoutItem ()=0
 
virtual QGraphicsLayoutItem * GetEditableGraphicsLayoutItem ()=0
 

Static Public Member Functions

static AZStd::string CreateDisabledLabelStyle (const AZStd::string &type)
 
static AZStd::string CreateDisplayLabelStyle (const AZStd::string &type)
 

Protected Member Functions

virtual void OnIdSet ()
 
virtual void OnSlotIdSet ()
 
QWidget * GetShortcutDispatchScopeRoot (QWidget *) override
 
void UpdateStyleForDragDrop (const DragDropState &dragDropState, Styling::StyleHelper &styleHelper)
 

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