Timeline.h header
#include <ew/core/Timeline.h>
Namespace ew::core
Timeline class
class ew::core::Timeline
A named timeline track: a chronology onto which timeline events are placed (e.g. the main "Story" timeline, a single character's life, or one plot thread). A project may hold many, shown as parallel tracks; each is a first-class content object so it can be linked and embedded like anything else. Events reference their timeline by id.
Members
ew::core::Timeline::Timeline(ContentId id, QString title)
Creates a timeline with identity id and title, with no description.
const QString & ew::core::Timeline::title() const
The timeline's title (its track label).
void ew::core::Timeline::setTitle(QString title)
Sets the timeline's title (its track label).
const QString & ew::core::Timeline::description() const
A free-form description of what the timeline tracks. Empty by default.
void ew::core::Timeline::setDescription(QString description)
Sets the free-form description of what the timeline tracks.
int ew::core::Timeline::sortIndex() const
The timeline's position among the project's timelines (lower comes first); it orders the parallel tracks in the timeline view.
void ew::core::Timeline::setSortIndex(int sortIndex)
Sets the timeline's position among the project's timelines (lower comes first).