if (name == "disable") {
// if effect is disabled, disable parameters widget
- setEnabled(value.toInt() == 0);
+ setEnabled(value.toInt() == 0 || !KdenliveSettings::disable_effect_parameters());
if (KdenliveSettings::on_monitor_effects()) {
// effect disabled, hide monitor scene if any
QDomNodeList namenode = m_params.elementsByTagName("parameter");
QString paramName = i18n(na.toElement().text().toUtf8().data());
paramName.append("geometry");
GeometryWidget *geometry = ((GeometryWidget*)m_valueItems.value(paramName));
- geometry->slotShowScene(value.toInt() == 0);
+ geometry->slotShowScene(value.toInt() == 0 || !KdenliveSettings::disable_effect_parameters());
}
}
}
const int minFrame = e.attribute("start").toInt();
const int maxFrame = e.attribute("end").toInt();
- bool disabled = d.attribute("disable") == "1";
- setEnabled(!disabled);
+ bool disable = d.attribute("disable") == "1" && KdenliveSettings::disable_effect_parameters();
+ setEnabled(!disable);
for (int i = 0; i < namenode.count() ; i++) {
connect(pl, SIGNAL(parameterChanged()), this, SLOT(collectAllParameters()));
} else if (type == "geometry") {
if (KdenliveSettings::on_monitor_effects()) {
- GeometryWidget *geometry = new GeometryWidget(m_monitor, m_timecode, pos, isEffect, disabled, this);
+ GeometryWidget *geometry = new GeometryWidget(m_monitor, m_timecode, pos, isEffect, disable, this);
// connect this before setupParam to make sure the monitor scene shows up at startup
connect(geometry, SIGNAL(checkMonitorPosition(int)), this, SIGNAL(checkMonitorPosition(int)));
connect(geometry, SIGNAL(parameterChanged()), this, SLOT(collectAllParameters()));
<rect>
<x>0</x>
<y>0</y>
- <width>389</width>
- <height>304</height>
+ <width>394</width>
+ <height>321</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_4">
</property>
</widget>
</item>
- <item row="7" column="0" colspan="3">
+ <item row="8" column="0" colspan="3">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Default Durations</string>
</layout>
</widget>
</item>
- <item row="9" column="0" colspan="3">
+ <item row="10" column="0" colspan="3">
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
- <item row="8" column="0">
+ <item row="9" column="0">
<widget class="QCheckBox" name="kcfg_autoimagesequence">
<property name="text">
<string>Automatically import image sequences</string>
</property>
</widget>
</item>
+ <item row="7" column="0">
+ <widget class="QCheckBox" name="kcfg_disable_effect_parameters">
+ <property name="text">
+ <string>Disable parameters when the effect is disabled</string>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
<customwidgets>