MCPcopy Create free account
hub / github.com/KDE/kdenlive / addRemoveKeyframe

Method addRemoveKeyframe

src/effects/effectstack/view/effectstackview.cpp:836–846  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

834}
835
836void EffectStackView::addRemoveKeyframe()
837{
838 int max = m_model->rowCount();
839 int currentActive = m_model->getActiveEffect();
840 if (currentActive < max && currentActive > -1) {
841 auto item = m_model->getEffectStackRow(currentActive);
842 QModelIndex ix = m_filter->mapFromSource(m_model->getIndexFromItem(item));
843 auto *w = static_cast<CollapsibleEffectView *>(m_effectsTree->indexWidget(ix));
844 w->addRemoveKeyframe();
845 }
846}
847
848void EffectStackView::sendStandardCommand(int command)
849{

Callers 1

slotAddRemoveKeyframeMethod · 0.45

Calls 4

getActiveEffectMethod · 0.80
getEffectStackRowMethod · 0.80
getIndexFromItemMethod · 0.80
rowCountMethod · 0.45

Tested by

no test coverage detected