SetTimelineViewSettingsCommand.h header
#include <ew/core/SetTimelineViewSettingsCommand.h>
Namespace ew::core
SetTimelineViewSettingsCommand class
class ew::core::SetTimelineViewSettingsCommand
Command that replaces the project's timeline view settings – how the timeline panel colours, groups, sizes, and labels events. Undo restores the previous settings and redo re-applies the new ones.
Members
ew::core::SetTimelineViewSettingsCommand::SetTimelineViewSettingsCommand(Project &project, TimelineViewSettings settings)
Creates a command that sets project's timeline view settings to settings when applied.
ew::core::SetTimelineViewSettingsCommand::~SetTimelineViewSettingsCommand() override
Destroys the command.
void ew::core::SetTimelineViewSettingsCommand::apply() override
Records the project's current view settings and applies the new ones.
void ew::core::SetTimelineViewSettingsCommand::undo() override
Restores the previous view settings.
QString ew::core::SetTimelineViewSettingsCommand::description() const override
Returns a short description for the undo/redo UI.