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::NodeTableSourceModel Class Reference

Inherits QAbstractTableModel, GraphCanvas::NodeTitleNotificationsBus::MultiHandler, and GraphCanvas::SceneNotificationBus::Handler.

Public Types

enum  ColumnDescriptor { CD_IndexForce = -1 , CD_Name , CD_Count }
 

Public Member Functions

 AZ_CLASS_ALLOCATOR (NodeTableSourceModel, AZ::SystemAllocator)
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
int columnCount (const QModelIndex &index=QModelIndex()) const override
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override
 
bool setData (const QModelIndex &index, const QVariant &value, int role) override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
void OnNodeAdded (const AZ::EntityId &, bool) override
 
void OnNodeRemoved (const AZ::EntityId &) override
 
void OnTitleChanged () override
 
void SetActiveScene (const AZ::EntityId &sceneId)
 
AZ::EntityId FindNodeByIndex (const QModelIndex &index)
 
void JumpToNodeArea (const QModelIndex &index)
 

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