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

Inherits QAbstractTableModel, and AssetEditorSettingsNotificationBus::Handler.

Public Types

enum  ColumnIndex { Name , DefaultPreset , Count }
 

Signals

void OnPresetModificationBegin ()
 
void OnPresetModificationEnd ()
 

Public Member Functions

 AZ_CLASS_ALLOCATOR (ConstructPresetsTableModel, AZ::SystemAllocator)
 
 ConstructPresetsTableModel (QObject *parent=nullptr)
 
void SetEditorId (EditorId editorId)
 
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
 
QVariant headerData (int section, Qt::Orientation orientation, int role) const override
 
bool setData (const QModelIndex &index, const QVariant &value, int role) override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
void SetConstructType (const ConstructType &constructType)
 
void RefreshDisplay (bool refreshPresets=false)
 
void RemoveRows (const AZStd::vector< int > &rows)
 
void OnSettingsChanged () override
 
EditorConstructPresetsGetPresetContainer () const
 

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