Open 3D Engine GraphCanvas Gem API Reference 23.10.0
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
 
virtual AZ::Outcome< DragDropState > OnDragEnterEvent (QGraphicsSceneDragDropEvent *dragDropEvent)=0
 
virtual void OnDragLeaveEvent (QGraphicsSceneDragDropEvent *dragDropEvent)=0
 
virtual void OnDropEvent (QGraphicsSceneDragDropEvent *dropEvent)=0
 
virtual void OnDropCancelled ()=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)
 

Member Function Documentation

◆ OnDragEnterEvent()

AZ::Outcome< DragDropState > GraphCanvas::NodePropertyDisplay::OnDragEnterEvent ( QGraphicsSceneDragDropEvent *  dragDropEvent)
overridevirtual

◆ OnDragLeaveEvent()

void GraphCanvas::NodePropertyDisplay::OnDragLeaveEvent ( QGraphicsSceneDragDropEvent *  dragDropEvent)
overridevirtual

◆ OnDropCancelled()

void GraphCanvas::NodePropertyDisplay::OnDropCancelled ( )
overridevirtual

◆ OnDropEvent()

void GraphCanvas::NodePropertyDisplay::OnDropEvent ( QGraphicsSceneDragDropEvent *  dragDropEvent)
overridevirtual

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