Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::structure::scenes::SceneList Class Reference
Inheritance diagram for zrythm::structure::scenes::SceneList:
Collaboration diagram for zrythm::structure::scenes::SceneList:

Public Types

enum  SceneListRoles { ScenePtrRole = Qt::UserRole + 1 }

Public Member Functions

 SceneList (arrangement::ArrangerObjectRegistry &object_registry, const tracks::TrackCollection &track_collection, QObject *parent=nullptr)
void insert_scene (utils::QObjectUniquePtr< Scene > scene, int index)
Q_INVOKABLE void removeScene (int index)
Q_INVOKABLE void moveScene (int fromIndex, int toIndex)
auto & scenes () const
QHash< int, QByteArray > roleNames () const override
int rowCount (const QModelIndex &parent=QModelIndex()) const override
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override

Friends

void to_json (nlohmann::json &j, const SceneList &list)
void from_json (const nlohmann::json &j, SceneList &list)

Detailed Description

Definition at line 67 of file scene.h.

Member Enumeration Documentation

◆ SceneListRoles

enum zrythm::structure::scenes::SceneList::SceneListRoles

Definition at line 79 of file scene.h.

Member Function Documentation

◆ data()

QVariant zrythm::structure::scenes::SceneList::data ( const QModelIndex & index,
int role = Qt::DisplayRole ) const
inlineoverride

Definition at line 108 of file scene.h.

◆ roleNames()

QHash< int, QByteArray > zrythm::structure::scenes::SceneList::roleNames ( ) const
inlineoverride

Definition at line 95 of file scene.h.

◆ rowCount()

int zrythm::structure::scenes::SceneList::rowCount ( const QModelIndex & parent = QModelIndex ()) const
inlineoverride

Definition at line 101 of file scene.h.

◆ scenes()

auto & zrythm::structure::scenes::SceneList::scenes ( ) const
inline

Definition at line 89 of file scene.h.


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