Open 3D Engine ScriptCanvas 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.
ScriptCanvasEditor::DataTypePaletteModel Class Reference

Inherits QAbstractTableModel.

Public Types

enum  ColumnIndex { Pinned , Type , Count }
 

Public Member Functions

 AZ_CLASS_ALLOCATOR (DataTypePaletteModel, AZ::SystemAllocator)
 
 DataTypePaletteModel (QObject *parent=nullptr)
 
int columnCount (const QModelIndex &parent=QModelIndex()) const override
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
QItemSelectionRange GetSelectionRangeForRow (int row)
 
void ClearTypes ()
 
void PopulateVariablePalette (const AZStd::unordered_set< AZ::Uuid > &objectTypes)
 
void AddDataType (const AZ::TypeId &dataType)
 
void RemoveDataType (const AZ::TypeId &dataType)
 
bool HasType (const AZ::TypeId &dataType) const
 
AZ::TypeId FindTypeIdForIndex (const QModelIndex &index) const
 
AZ::TypeId FindTypeIdForTypeName (const AZStd::string &typeName) const
 
QModelIndex FindIndexForTypeId (const AZ::TypeId &typeId) const
 
AZStd::string FindTypeNameForTypeId (const AZ::TypeId &typeId) const
 
void TogglePendingPinChange (const AZ::Uuid &azVarType)
 
const AZStd::unordered_set< AZ::Uuid > & GetPendingPinChanges () const
 
void SubmitPendingPinChanges ()
 
const AZStd::vector< AZ::TypeId > & GetVariableTypes () const
 

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