1 /***************************************************************************
2 effecstackview.cpp2 - description
5 copyright : (C) 2008 by Marco Gittler
6 email : g.marco@freenet.de
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
19 #include "effectstackview2.h"
20 #include "effectslist.h"
22 #include "mainwindow.h"
23 #include "docclipbase.h"
24 #include "projectlist.h"
26 #include "monitoreditwidget.h"
27 #include "monitorscene.h"
28 #include "kdenlivesettings.h"
32 #include <KMessageBox>
33 #include <KStandardDirs>
34 #include <KFileDialog>
35 #include <KColorScheme>
38 #include <QTextStream>
40 #include <QInputDialog>
44 EffectStackView2::EffectStackView2(Monitor *monitor, QWidget *parent) :
48 m_draggedEffect(NULL),
51 m_effectMetaInfo.trackMode = false;
52 m_effectMetaInfo.monitor = monitor;
53 m_effects = QList <CollapsibleEffect*>();
56 setFont(KGlobalSettings::smallestReadableFont());
57 m_ui.checkAll->setToolTip(i18n("Enable/Disable all effects"));
58 m_ui.buttonShowComments->setIcon(KIcon("help-about"));
59 m_ui.buttonShowComments->setToolTip(i18n("Show additional information for the parameters"));
61 connect(m_ui.checkAll, SIGNAL(stateChanged(int)), this, SLOT(slotCheckAll(int)));
66 QPalette p = palette();
67 KColorScheme scheme(p.currentColorGroup(), KColorScheme::View, KSharedConfig::openConfig(KdenliveSettings::colortheme()));
68 QColor dark_bg = scheme.shade(KColorScheme::DarkShade);
69 QColor selected_bg = scheme.decoration(KColorScheme::FocusColor).color();
70 QColor hover_bg = scheme.decoration(KColorScheme::HoverColor).color();
71 QColor light_bg = scheme.shade(KColorScheme::LightShade);
73 QString stylesheet(QString("QProgressBar:horizontal {border: 1px solid %1;border-radius:0px;border-top-left-radius: 4px;border-bottom-left-radius: 4px;border-right: 0px;background:%4;padding: 0px;text-align:left center}\
74 QProgressBar:horizontal#dragOnly {background: %1} QProgressBar:horizontal:hover#dragOnly {background: %3} QProgressBar:horizontal:hover {border: 1px solid %3;border-right: 0px;}\
75 QProgressBar::chunk:horizontal {background: %1;} QProgressBar::chunk:horizontal:hover {background: %3;}\
76 QProgressBar:horizontal[inTimeline=\"true\"] { border: 1px solid %2;border-right: 0px;background: %4;padding: 0px;text-align:left center } QProgressBar::chunk:horizontal[inTimeline=\"true\"] {background: %2;}\
77 QAbstractSpinBox#dragBox {border: 1px solid %1;border-top-right-radius: 4px;border-bottom-right-radius: 4px;padding-right:0px;} QAbstractSpinBox::down-button#dragBox {width:0px;padding:0px;}\
78 QAbstractSpinBox::up-button#dragBox {width:0px;padding:0px;} QAbstractSpinBox[inTimeline=\"true\"]#dragBox { border: 1px solid %2;} QAbstractSpinBox:hover#dragBox {border: 1px solid %3;} ")
79 .arg(dark_bg.name()).arg(selected_bg.name()).arg(hover_bg.name()).arg(light_bg.name()));
80 setStyleSheet(stylesheet);
83 EffectStackView2::~EffectStackView2()
88 void EffectStackView2::slotRenderPos(int pos)
90 if (m_effects.isEmpty()) return;
91 if (!m_effectMetaInfo.trackMode && m_clipref) pos = pos - m_clipref->startPos().frames(KdenliveSettings::project_fps());
93 for (int i = 0; i< m_effects.count(); i++)
94 m_effects.at(i)->slotSyncEffectsPos(pos);
97 void EffectStackView2::slotClipItemSelected(ClipItem* c, int ix)
99 if (c && !c->isEnabled()) return;
100 if (c && c == m_clipref) {
105 QString cname = m_clipref->clipName();
106 if (cname.length() > 30) {
107 m_ui.checkAll->setToolTip(i18n("Effects for %1").arg(cname));
109 m_ui.checkAll->setText(i18n("Effects for %1").arg(cname) + "...");
111 m_ui.checkAll->setToolTip(QString());
112 m_ui.checkAll->setText(i18n("Effects for %1").arg(cname));
114 m_ui.checkAll->setEnabled(true);
115 ix = c->selectedEffectIndex();
116 QString size = c->baseClip()->getProperty("frame_size");
117 double factor = c->baseClip()->getProperty("aspect_ratio").toDouble();
118 m_effectMetaInfo.frameSize = QPoint((int)(size.section('x', 0, 0).toInt() * factor + 0.5), size.section('x', 1, 1).toInt());
123 if (m_clipref == NULL) {
124 //TODO: clear list, reset paramdesc and info
126 //m_effectedit->transferParamDesc(QDomElement(), info);
131 m_effectMetaInfo.trackMode = false;
132 m_currentEffectList = m_clipref->effectList();
136 void EffectStackView2::slotTrackItemSelected(int ix, const TrackInfo info)
139 m_effectMetaInfo.trackMode = true;
140 m_currentEffectList = info.effectsList;
143 m_ui.checkAll->setToolTip(QString());
144 m_ui.checkAll->setText(i18n("Effects for track %1").arg(info.trackName.isEmpty() ? QString::number(ix) : info.trackName));
150 void EffectStackView2::setupListView(int ix)
153 m_draggedEffect = NULL;
154 disconnect(m_effectMetaInfo.monitor, SIGNAL(renderPosition(int)), this, SLOT(slotRenderPos(int)));
157 QWidget *view = m_ui.container->takeWidget();
162 view = new QWidget(m_ui.container);
163 m_ui.container->setWidget(view);
164 slotUpdateCheckAllButton();
166 QVBoxLayout *vbox1 = new QVBoxLayout(view);
167 vbox1->setContentsMargins(0, 0, 0, 0);
168 vbox1->setSpacing(0);
170 for (int i = 0; i < m_currentEffectList.count(); i++) {
171 QDomElement d = m_currentEffectList.at(i).cloneNode().toElement();
173 kDebug() << " . . . . WARNING, NULL EFFECT IN STACK!!!!!!!!!";
177 CollapsibleEffect *group = NULL;
178 EffectInfo effectInfo;
179 effectInfo.fromString(d.attribute("kdenlive_info"));
180 if (effectInfo.groupIndex >= 0) {
181 for (int i = 0; i < m_effects.count(); i++) {
182 if (m_effects.at(i)->groupIndex() == effectInfo.groupIndex) {
183 group = m_effects.at(i);
189 group = new CollapsibleEffect(QDomElement(), QDomElement(), ItemInfo(), effectInfo.groupIndex, &m_effectMetaInfo, false, true, m_ui.container->widget());
190 if (!effectInfo.groupName.isEmpty()) group->title->setText(effectInfo.groupName);
191 connect(group, SIGNAL(moveEffect(int,int,CollapsibleEffect*)), this, SLOT(slotMoveEffect(int,int,CollapsibleEffect*)));
192 connect(group, SIGNAL(unGroup(CollapsibleEffect*)), this , SLOT(slotUnGroup(CollapsibleEffect*)));
193 vbox1->addWidget(group);
195 if (effectInfo.groupIndex >= m_groupIndex) m_groupIndex = effectInfo.groupIndex + 1;
199 doc.appendChild(doc.importNode(d, true));
200 kDebug() << "IMPORTED STK: " << doc.toString();*/
203 if (m_effectMetaInfo.trackMode) {
204 info.track = m_trackInfo.type;
205 info.cropDuration = GenTime(m_trackInfo.duration, KdenliveSettings::project_fps());
206 info.cropStart = GenTime(0);
207 info.startPos = GenTime(-1);
210 else info = m_clipref->info();
212 CollapsibleEffect *currentEffect = new CollapsibleEffect(d, m_currentEffectList.at(i), info, i, &m_effectMetaInfo, i == m_currentEffectList.count() - 1, false, view);
213 m_effects.append(currentEffect);
215 group->addGroupEffect(currentEffect);
217 vbox1->addWidget(currentEffect);
219 if (currentEffect->effectIndex() == ix) currentEffect->setActive(true);
222 currentEffect->installEventFilter( this );
224 connect(currentEffect, SIGNAL(parameterChanged(const QDomElement, const QDomElement, int)), this , SLOT(slotUpdateEffectParams(const QDomElement, const QDomElement, int)));
225 connect(currentEffect, SIGNAL(startFilterJob(QString,QString,QString,QString,QString,QString)), this , SLOT(slotStartFilterJob(QString,QString,QString,QString,QString,QString)));
226 connect(currentEffect, SIGNAL(deleteEffect(const QDomElement)), this , SLOT(slotDeleteEffect(const QDomElement)));
227 connect(currentEffect, SIGNAL(reloadEffects()), this , SIGNAL(reloadEffects()));
228 connect(currentEffect, SIGNAL(resetEffect(int)), this , SLOT(slotResetEffect(int)));
229 connect(currentEffect, SIGNAL(changeEffectPosition(int,bool)), this , SLOT(slotMoveEffectUp(int , bool)));
230 connect(currentEffect, SIGNAL(effectStateChanged(bool, int)), this, SLOT(slotUpdateEffectState(bool, int)));
231 connect(currentEffect, SIGNAL(activateEffect(int)), this, SLOT(slotSetCurrentEffect(int)));
232 connect(currentEffect, SIGNAL(checkMonitorPosition(int)), this, SLOT(slotCheckMonitorPosition(int)));
233 connect(currentEffect, SIGNAL(seekTimeline(int)), this , SLOT(slotSeekTimeline(int)));
234 connect(currentEffect, SIGNAL(createGroup(int)), this , SLOT(slotCreateGroup(int)));
235 connect(currentEffect, SIGNAL(moveEffect(int,int,CollapsibleEffect*)), this , SLOT(slotMoveEffect(int,int,CollapsibleEffect*)));
236 connect(currentEffect, SIGNAL(addEffect(QDomElement)), this , SLOT(slotAddEffect(QDomElement)));
238 //ui.title->setPixmap(icon.pixmap(QSize(12, 12)));
240 vbox1->addStretch(10);
241 connect(m_effectMetaInfo.monitor, SIGNAL(renderPosition(int)), this, SLOT(slotRenderPos(int)));
243 // Wait a little bit for the new layout to be ready, then check if we have a scrollbar
244 QTimer::singleShot(200, this, SLOT(slotCheckWheelEventFilter()));
248 void EffectStackView2::slotCheckWheelEventFilter()
250 // If the effect stack widget has no scrollbar, we will not filter the
251 // mouse wheel events, so that user can easily adjust effect params
252 bool filterWheelEvent = false;
253 if (m_ui.container->verticalScrollBar() && m_ui.container->verticalScrollBar()->isVisible()) {
254 // widget has scroll bar,
255 filterWheelEvent = true;
257 for (int i = 0; i < m_effects.count(); i++) {
258 m_effects.at(i)->filterWheelEvent = filterWheelEvent;
262 void EffectStackView2::resizeEvent ( QResizeEvent * event )
264 slotCheckWheelEventFilter();
265 QWidget::resizeEvent(event);
268 bool EffectStackView2::eventFilter( QObject * o, QEvent * e )
270 // Check if user clicked in an effect's top bar to start dragging it
271 if (e->type() == QEvent::MouseButtonPress) {
272 m_draggedEffect = qobject_cast<CollapsibleEffect*>(o);
273 if (m_draggedEffect) {
274 QMouseEvent *me = static_cast<QMouseEvent *>(e);
275 if (me->button() == Qt::LeftButton && (m_draggedEffect->frame->underMouse() || m_draggedEffect->title->underMouse()))
276 m_clickPoint = me->globalPos();
278 m_clickPoint = QPoint();
279 m_draggedEffect = NULL;
285 if (e->type() == QEvent::MouseMove) {
286 if (qobject_cast<CollapsibleEffect*>(o)) {
287 QMouseEvent *me = static_cast<QMouseEvent *>(e);
288 if (me->buttons() != Qt::LeftButton) {
298 return QWidget::eventFilter(o, e);
301 void EffectStackView2::mouseMoveEvent(QMouseEvent * event)
303 if (m_draggedEffect && (event->buttons() & Qt::LeftButton) && (m_clickPoint != QPoint()) && ((event->globalPos() - m_clickPoint).manhattanLength() >= QApplication::startDragDistance())) {
308 void EffectStackView2::mouseReleaseEvent(QMouseEvent * event)
310 m_draggedEffect = NULL;
311 QWidget::mouseReleaseEvent(event);
314 void EffectStackView2::startDrag()
316 QDrag *drag = new QDrag(this);
317 // The data to be transferred by the drag and drop operation is contained in a QMimeData object
318 QDomElement effect = m_draggedEffect->effect().cloneNode().toElement();
319 QPixmap pixmap = QPixmap::grabWidget(m_draggedEffect->title);
320 drag->setPixmap(pixmap);
322 doc.appendChild(doc.importNode(effect, true));
323 QMimeData *mime = new QMimeData;
325 data.append(doc.toString().toUtf8());
326 mime->setData("kdenlive/effectslist", data);
328 // Assign ownership of the QMimeData object to the QDrag object.
329 drag->setMimeData(mime);
330 // Start the drag and drop operation
331 drag->exec(Qt::CopyAction | Qt::MoveAction, Qt::CopyAction);
335 void EffectStackView2::slotUpdateEffectState(bool disable, int index)
337 if (m_effectMetaInfo.trackMode)
338 emit changeEffectState(NULL, m_trackindex, index, disable);
340 emit changeEffectState(m_clipref, -1, index, disable);
341 slotUpdateCheckAllButton();
345 void EffectStackView2::raiseWindow(QWidget* dock)
347 if ((m_clipref || m_effectMetaInfo.trackMode) && dock)
352 void EffectStackView2::slotSeekTimeline(int pos)
354 if (m_effectMetaInfo.trackMode) {
355 emit seekTimeline(pos);
356 } else if (m_clipref) {
357 emit seekTimeline(m_clipref->startPos().frames(KdenliveSettings::project_fps()) + pos);
362 /*void EffectStackView2::slotRegionChanged()
364 if (!m_trackMode) emit updateClipRegion(m_clipref, m_ui.effectlist->currentRow(), m_ui.region_url->text());
367 void EffectStackView2::slotCheckMonitorPosition(int renderPos)
369 if (m_effectMetaInfo.trackMode || (m_clipref && renderPos >= m_clipref->startPos().frames(KdenliveSettings::project_fps()) && renderPos <= m_clipref->endPos().frames(KdenliveSettings::project_fps()))) {
370 if (!m_effectMetaInfo.monitor->getEffectEdit()->getScene()->views().at(0)->isVisible())
371 m_effectMetaInfo.monitor->slotEffectScene(true);
373 m_effectMetaInfo.monitor->slotEffectScene(false);
377 int EffectStackView2::isTrackMode(bool *ok) const
379 *ok = m_effectMetaInfo.trackMode;
383 void EffectStackView2::clear()
386 QWidget *view = m_ui.container->takeWidget();
390 m_ui.checkAll->setToolTip(QString());
391 m_ui.checkAll->setText(QString());
392 m_ui.checkAll->setEnabled(false);
396 void EffectStackView2::slotCheckAll(int state)
400 m_ui.checkAll->blockSignals(true);
401 m_ui.checkAll->setCheckState(Qt::Checked);
402 m_ui.checkAll->blockSignals(false);
405 bool disabled = (state != 2);
406 for (int i = 0; i < m_effects.count(); i++) {
407 if (m_effects.at(i)->groupIndex() == -1) {
408 m_effects.at(i)->slotEnable(disabled);
413 void EffectStackView2::slotUpdateCheckAllButton()
415 bool hasEnabled = false;
416 bool hasDisabled = false;
418 for (int i = 0; i < m_effects.count(); i++) {
419 if (m_effects.at(i)->enabledBox->isChecked()) hasEnabled = true;
420 else hasDisabled = true;
423 m_ui.checkAll->blockSignals(true);
424 if (hasEnabled && hasDisabled)
425 m_ui.checkAll->setCheckState(Qt::PartiallyChecked);
427 m_ui.checkAll->setCheckState(Qt::Checked);
429 m_ui.checkAll->setCheckState(Qt::Unchecked);
430 m_ui.checkAll->blockSignals(false);
433 void EffectStackView2::deleteCurrentEffect()
435 for (int i = 0; i < m_effects.count(); i++) {
436 if (m_effects.at(i)->isActive()) {
437 slotDeleteEffect(m_effects.at(i)->effect());
443 void EffectStackView2::updateProjectFormat(MltVideoProfile profile, Timecode t)
445 m_effectMetaInfo.profile = profile;
446 m_effectMetaInfo.timecode = t;
449 void EffectStackView2::updateTimecodeFormat()
451 for (int i = 0; i< m_effects.count(); i++)
452 m_effects.at(i)->updateTimecodeFormat();
455 CollapsibleEffect *EffectStackView2::getEffectByIndex(int ix)
457 for (int i = 0; i< m_effects.count(); i++) {
458 if (m_effects.at(i)->effectIndex() == ix) {
459 return m_effects.at(i);
465 void EffectStackView2::slotUpdateEffectParams(const QDomElement old, const QDomElement e, int ix)
467 if (m_effectMetaInfo.trackMode)
468 emit updateEffect(NULL, m_trackindex, old, e, ix);
469 else if (m_clipref) {
470 emit updateEffect(m_clipref, -1, old, e, ix);
471 // Make sure the changed effect is currently displayed
472 slotSetCurrentEffect(ix);
474 QTimer::singleShot(200, this, SLOT(slotCheckWheelEventFilter()));
477 void EffectStackView2::slotSetCurrentEffect(int ix)
479 if (m_clipref && ix != m_clipref->selectedEffectIndex())
480 m_clipref->setSelectedEffect(ix);
481 for (int i = 0; i < m_effects.count(); i++) {
482 m_effects.at(i)->setActive(m_effects.at(i)->effectIndex() == ix);
486 void EffectStackView2::slotDeleteEffect(const QDomElement effect)
488 if (m_effectMetaInfo.trackMode)
489 emit removeEffect(NULL, m_trackindex, effect);
491 emit removeEffect(m_clipref, -1, effect);
494 void EffectStackView2::slotAddEffect(QDomElement effect)
496 emit addEffect(m_clipref, effect);
499 void EffectStackView2::slotMoveEffectUp(int index, bool up)
501 if (up && index <= 1) return;
502 if (!up && index >= m_currentEffectList.count()) return;
510 if (m_effectMetaInfo.trackMode) emit changeEffectPosition(NULL, m_trackindex, index, endPos);
511 else emit changeEffectPosition(m_clipref, -1, index, endPos);
514 void EffectStackView2::slotStartFilterJob(const QString&filterName, const QString&filterParams, const QString&finalFilterName, const QString&consumer, const QString&consumerParams, const QString&properties)
516 if (!m_clipref) return;
517 emit startFilterJob(m_clipref->info(), m_clipref->clipProducer(), filterName, filterParams, finalFilterName, consumer, consumerParams, properties);
520 void EffectStackView2::slotResetEffect(int ix)
522 QDomElement old = m_currentEffectList.itemFromIndex(ix);
524 QString effectId = old.attribute("id");
525 QMap<QString, EffectsList*> effectLists;
526 effectLists["audio"] = &MainWindow::audioEffects;
527 effectLists["video"] = &MainWindow::videoEffects;
528 effectLists["custom"] = &MainWindow::customEffects;
529 foreach(const QString &type, effectLists.keys()) {
530 EffectsList *list = effectLists[type];
531 dom = list->getEffectByTag(QString(), effectId).cloneNode().toElement();
532 if (!dom.isNull()) break;
535 dom.setAttribute("kdenlive_ix", old.attribute("kdenlive_ix"));
536 if (m_effectMetaInfo.trackMode) {
537 EffectsList::setParameter(dom, "in", QString::number(0));
538 EffectsList::setParameter(dom, "out", QString::number(m_trackInfo.duration));
540 info.track = m_trackInfo.type;
541 info.cropDuration = GenTime(m_trackInfo.duration, KdenliveSettings::project_fps());
542 info.cropStart = GenTime(0);
543 info.startPos = GenTime(-1);
545 m_effects.at(ix)->updateWidget(info, ix, dom, &m_effectMetaInfo);
546 emit updateEffect(NULL, m_trackindex, old, dom, ix);
548 m_clipref->initEffect(dom);
549 m_effects.at(ix)->updateWidget(m_clipref->info(), ix, dom, &m_effectMetaInfo);
550 //m_ui.region_url->setUrl(KUrl(dom.attribute("region")));
551 emit updateEffect(m_clipref, -1, old, dom, ix);
555 /*emit showComments(m_ui.buttonShowComments->isChecked());
556 m_ui.labelComment->setHidden(!m_ui.buttonShowComments->isChecked() || !m_ui.labelComment->text().count());*/
560 void EffectStackView2::slotCreateGroup(int ix)
562 QDomElement oldeffect = m_currentEffectList.itemFromIndex(ix);
563 QDomElement neweffect = oldeffect.cloneNode().toElement();
564 QString groupName = QString::number(m_groupIndex);
565 EffectInfo effectinfo;
566 effectinfo.fromString(oldeffect.attribute("kdenlive_info"));
567 effectinfo.groupIndex = m_groupIndex;
568 neweffect.setAttribute("kdenlive_info", effectinfo.toString());
571 if (m_effectMetaInfo.trackMode) {
572 info.track = m_trackInfo.type;
573 info.cropDuration = GenTime(m_trackInfo.duration, KdenliveSettings::project_fps());
574 info.cropStart = GenTime(0);
575 info.startPos = GenTime(-1);
577 emit updateEffect(NULL, m_trackindex, oldeffect, neweffect, ix);
579 emit updateEffect(m_clipref, -1, oldeffect, neweffect, ix);
582 QVBoxLayout *l = static_cast<QVBoxLayout *>(m_ui.container->widget()->layout());
584 CollapsibleEffect *effectToMove = NULL;
585 for (int i = 0; i < m_effects.count(); i++) {
586 if (m_effects.at(i)->effectIndex() == ix) {
587 effectToMove = m_effects.at(i);
588 groupPos = l->indexOf(effectToMove);
589 l->removeWidget(effectToMove);
594 CollapsibleEffect *group = new CollapsibleEffect(QDomElement(), QDomElement(), ItemInfo(), m_groupIndex, &m_effectMetaInfo, false, true, m_ui.container->widget());
596 connect(group, SIGNAL(moveEffect(int,int,CollapsibleEffect*)), this , SLOT(slotMoveEffect(int,int,CollapsibleEffect*)));
597 connect(group, SIGNAL(unGroup(CollapsibleEffect*)), this , SLOT(slotUnGroup(CollapsibleEffect*)));
598 l->insertWidget(groupPos, group);
599 group->addGroupEffect(effectToMove);
602 void EffectStackView2::slotMoveEffect(int currentIndex, int newIndex, CollapsibleEffect* target)
604 CollapsibleEffect *effectToMove = getEffectByIndex(currentIndex);
605 if (effectToMove == NULL) return;
607 QDomElement oldeffect = effectToMove->effect();
608 QDomElement neweffect = oldeffect.cloneNode().toElement();
610 EffectInfo effectinfo;
611 effectinfo.fromString(oldeffect.attribute("kdenlive_info"));
612 effectinfo.groupIndex = target->groupIndex();
613 neweffect.setAttribute("kdenlive_info", effectinfo.toString());
616 if (m_effectMetaInfo.trackMode) {
617 info.track = m_trackInfo.type;
618 info.cropDuration = GenTime(m_trackInfo.duration, KdenliveSettings::project_fps());
619 info.cropStart = GenTime(0);
620 info.startPos = GenTime(-1);
622 emit updateEffect(NULL, m_trackindex, oldeffect, neweffect, effectToMove->index());
624 emit updateEffect(m_clipref, -1, oldeffect, neweffect, effectToMove->index());
627 if (currentIndex == newIndex) return;
628 // Update effect index with new position
629 if (m_effectMetaInfo.trackMode) {
630 emit changeEffectPosition(NULL, m_trackindex, currentIndex, newIndex);
633 emit changeEffectPosition(m_clipref, -1, currentIndex, newIndex);
637 void EffectStackView2::slotUnGroup(CollapsibleEffect* group)
639 QVBoxLayout *l = static_cast<QVBoxLayout *>(m_ui.container->widget()->layout());
640 int ix = l->indexOf(group);
641 group->removeGroup(ix, l);
642 group->deleteLater();
645 #include "effectstackview2.moc"