MCPcopy Create free account
hub / github.com/CasparCG/client / executePlayoutCommand

Method executePlayoutCommand

src/Widgets/DurationWidget.cpp:29–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void DurationWidget::executePlayoutCommand(const ExecutePlayoutCommandEvent& event)
30{
31 if (event.getKey() == Qt::Key_F1 || // Stop.
32 event.getKey() == Qt::Key_F10 || // Clear.
33 event.getKey() == Qt::Key_F11 || // Clear videolayer.
34 event.getKey() == Qt::Key_F12) // Clear channel.
35 {
36 resetDuration();
37 }
38}
39
40void DurationWidget::durationChanged(const DurationChangedEvent& event)
41{

Callers

nothing calls this directly

Calls 1

getKeyMethod · 0.45

Tested by

no test coverage detected