Inherits QAbstractTableModel, ScriptCanvas::GraphVariableManagerNotificationBus::Handler, and ScriptCanvas::VariableNotificationBus::MultiHandler.
|
enum | ColumnIndex {
Name
, Type
, DefaultValue
, Scope
,
InitialValueSource
, Count
} |
|
enum | CustomRole { VarIdRole = Qt::UserRole
} |
|
|
void | VariableAdded (QModelIndex modelIndex) |
|
|
| AZ_CLASS_ALLOCATOR (GraphVariablesModel, AZ::SystemAllocator) |
|
| GraphVariablesModel (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 |
|
bool | setData (const QModelIndex &index, const QVariant &value, int role) override |
|
Qt::ItemFlags | flags (const QModelIndex &index) const override |
|
QStringList | mimeTypes () const override |
|
QMimeData * | mimeData (const QModelIndexList &indexes) const override |
|
void | SetActiveScene (const ScriptCanvas::ScriptCanvasId &scriptCanvasId) |
|
ScriptCanvas::ScriptCanvasId | GetScriptCanvasId () const |
|
void | OnVariableAddedToGraph (const ScriptCanvas::VariableId &variableId, AZStd::string_view variableName) override |
|
void | OnVariableRemovedFromGraph (const ScriptCanvas::VariableId &variableId, AZStd::string_view variableName) override |
|
void | OnVariableNameChangedInGraph (const ScriptCanvas::VariableId &variableId, AZStd::string_view variableName) override |
|
void | OnVariableValueChanged () override |
|
void | OnVariableScopeChanged () override |
|
void | OnVariableInitialValueSourceChanged () override |
|
void | OnVariablePriorityChanged () override |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
|
ScriptCanvas::VariableId | FindVariableIdForIndex (const QModelIndex &index) const |
|
ScriptCanvas::GraphScopedVariableId | FindScopedVariableIdForIndex (const QModelIndex &index) const |
|
int | FindRowForVariableId (const ScriptCanvas::VariableId &variableId) const |
|
bool | IsFunction () const |
|
|
static const char * | GetMimeType () |
|
|
static const char * | m_columnNames [static_cast< int >(ColumnIndex::Count)] |
|
The documentation for this class was generated from the following file:
- Gems/ScriptCanvas/Code/Editor/View/Widgets/VariablePanel/GraphVariablesTableView.h