Loading...
Searching...
No Matches
Scenario::Command::HideRack Class Referencefinal

The HideRackInViewModel class. More...

Inheritance diagram for Scenario::Command::HideRack:
score::Command

Detailed Description

The HideRackInViewModel class.

For a given interval view model, hides the rack. Can only be called if a rack was being displayed.

Public Member Functions

 HideRack (const Scenario::IntervalModel &interval)
 
void undo (const score::DocumentContext &ctx) const override
 
void redo (const score::DocumentContext &ctx) const override
 
- Public Member Functions inherited from score::Command
virtual const CommandGroupKeyparentKey () const noexcept=0
 
virtual const CommandKeykey () const noexcept=0
 
QByteArray serialize () const
 
void deserialize (const QByteArray &)
 
virtual QString description () const =0
 

Protected Member Functions

void serializeImpl (DataStreamInput &) const override
 
void deserializeImpl (DataStreamOutput &) override
 

Member Function Documentation

◆ deserializeImpl()

void Scenario::Command::HideRack::deserializeImpl ( DataStreamOutput s)
overrideprotectedvirtual

Implements score::Command.

◆ redo()

void Scenario::Command::HideRack::redo ( const score::DocumentContext ctx) const
overridevirtual

Implements score::Command.

◆ serializeImpl()

void Scenario::Command::HideRack::serializeImpl ( DataStreamInput s) const
overrideprotectedvirtual

Implements score::Command.

◆ undo()

void Scenario::Command::HideRack::undo ( const score::DocumentContext ctx) const
overridevirtual

Implements score::Command.


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