+ parameterNameList << pa.attributes().namedItem("name").nodeValue().split(";");
+ emit parameterList(parameterNameList);
+
+ //max_y=pa.attributes().namedItem("max").nodeValue().toInt();
+ //int val=pa.attributes().namedItem("value").nodeValue().toInt();
+ QStringList defauls=pa.attributes().namedItem("default").nodeValue().split(";");
+ QStringList maxv=pa.attributes().namedItem("max").nodeValue().split(";");
+ QStringList minv=pa.attributes().namedItem("max").nodeValue().split(";");
+ for (int i=0;i<maxv.size();i++){
+ if (max_y< maxv[i].toInt()) max_y=maxv[i].toInt();
+ if (min_y< minv[i].toInt()) min_y=minv[i].toInt();
+ }
+
+ for (int i=0;i<parameterNameList.count();i++){
+ KPlotObject *plot=new KPlotObject(colors[plotobjects.size()%colors.size()]);
+ plot->setShowLines(true);
+
+ plot->addPoint(startframe,defauls[i].toInt());
+ //add keyframes here
+ plot->addPoint(endframe,defauls[i].toInt());