* *
***************************************************************************/
-#include <QVBoxLayout>
-#include <QSlider>
-#include <QLabel>
-#include <QPushButton>
-#include <QCheckBox>
-#include <QScrollArea>
-
-#include <KDebug>
-#include <KLocale>
-
+#include "effectstackedit.h"
#include "ui_constval_ui.h"
#include "ui_listval_ui.h"
#include "ui_boolval_ui.h"
#include "ui_positionval_ui.h"
#include "ui_wipeval_ui.h"
#include "complexparameter.h"
-#include "effectstackedit.h"
#include "geometryval.h"
-
#include "kdenlivesettings.h"
+#include <KDebug>
+#include <KLocale>
+
+#include <QVBoxLayout>
+#include <QSlider>
+#include <QLabel>
+#include <QPushButton>
+#include <QCheckBox>
+#include <QScrollArea>
+
QMap<QString, QImage> EffectStackEdit::iconCache;
EffectStackEdit::EffectStackEdit(QWidget *parent): QWidget(parent), m_in(0), m_out(0) {
else if (start.startsWith("100%,0")) info.start = RIGHT;
else if (start.startsWith("0%,100%")) info.start = DOWN;
else if (start.startsWith("0%,-100%")) info.start = UP;
- else if (start.startsWith("0%,0%")) info.start = CENTER;
+ else info.start = CENTER;
if (start.count(':') == 2) info.startTransparency = start.section(':', -1).toInt();
else info.startTransparency = 100;
else if (end.startsWith("100%,0")) info.end = RIGHT;
else if (end.startsWith("0%,100%")) info.end = DOWN;
else if (end.startsWith("0%,-100%")) info.end = UP;
- else if (end.startsWith("0%,0%")) info.end = CENTER;
+ else info.end = CENTER;
if (end.count(':') == 2) info.endTransparency = end.section(':', -1).toInt();
else info.endTransparency = 100;
return info;
else if (wp->start_up->isChecked()) info.start = UP;
else if (wp->start_down->isChecked()) info.start = DOWN;
else if (wp->start_center->isChecked()) info.start = CENTER;
+ else info.start = LEFT;
info.startTransparency = wp->start_transp->value();
if (wp->end_left->isChecked()) info.end = LEFT;
else if (wp->end_right->isChecked()) info.end = RIGHT;
else if (wp->end_up->isChecked()) info.end = UP;
else if (wp->end_down->isChecked()) info.end = DOWN;
else if (wp->end_center->isChecked()) info.end = CENTER;
+ else info.end = RIGHT;
info.endTransparency = wp->end_transp->value();
setValue = getWipeString(info);
}