+ m_ui.checkAll->setEnabled(false);
+ m_effectedit->transferParamDesc(QDomElement(), 0, 0, 0);
+ m_ui.region_url->clear();
+ m_ui.effectlist->blockSignals(false);
+}
+
+
+void EffectStackView::slotSeekTimeline(int pos)
+{
+ if (m_clipref)
+ emit seekTimeline(m_clipref->startPos().frames(KdenliveSettings::project_fps()) + pos);
+}
+
+void EffectStackView::slotUpdateCheckAllButton()
+{
+ bool hasEnabled = false;
+ bool hasDisabled = false;
+ for (int i = 0; i < m_ui.effectlist->count(); ++i) {
+ if (m_ui.effectlist->item(i)->checkState() == Qt::Checked)
+ hasEnabled = true;
+ else
+ hasDisabled = true;
+ }
+
+ m_ui.checkAll->blockSignals(true);
+ if (hasEnabled && hasDisabled)
+ m_ui.checkAll->setCheckState(Qt::PartiallyChecked);
+ else if (hasEnabled)
+ m_ui.checkAll->setCheckState(Qt::Checked);
+ else
+ m_ui.checkAll->setCheckState(Qt::Unchecked);
+ m_ui.checkAll->blockSignals(false);
+}
+
+void EffectStackView::slotCheckAll(int state)
+{
+ if (state == 1) {
+ state = 2;
+ m_ui.checkAll->blockSignals(true);
+ m_ui.checkAll->setCheckState(Qt::Checked);
+ m_ui.checkAll->blockSignals(false);
+ }
+
+ for (int i = 0; i < m_ui.effectlist->count(); ++i)
+ m_ui.effectlist->item(i)->setCheckState((Qt::CheckState)state);
+}
+
+void EffectStackView::slotRegionChanged()
+{
+ emit updateClipRegion(m_clipref, m_ui.effectlist->currentRow(), m_ui.region_url->text());