#include "complexparameter.h"
#include <KDebug>
-#include <KLocale>
+#include <KLocalizedString>
#include <QHeaderView>
setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding));
m_ui.infoBox->hide();
updateButtonStatus();
-
}
-
-
void ComplexParameter::slotSetMoveX()
{
m_ui.kplotwidget->setMoveX(!m_ui.kplotwidget->isMoveX());
m_ui.kplotwidget->setMoveTimeLine(!m_ui.kplotwidget->isMoveTimeline());
updateButtonStatus();
-
}
void ComplexParameter::updateButtonStatus()
void ComplexParameter::slotParameterChanged(const QString& text)
{
-
//m_ui.buttonNewPoints->setEnabled(text!="all");
m_ui.kplotwidget->replot(text);
updateButtonStatus();
}
-void ComplexParameter::setupParam(const QDomElement d, const QString& paramName, int from, int to)
+void ComplexParameter::setupParam(const QDomElement &d, const QString& paramName, int from, int to)
{
m_param = d;
m_ui.kplotwidget->setPointLists(d, paramName, from, to);
//kDebug() << "drop";
}
-void ComplexParameter::slotUpdateEffectParams(QDomElement e)
+void ComplexParameter::slotUpdateEffectParams(const QDomElement &e)
{
m_param = e;
emit parameterChanged();