[Kst] branches/work/kst/1.5/kst/src/libkstapp
Andrew Walker
arwalker at sumusltd.com
Fri Aug 31 19:20:48 CEST 2007
SVN commit 706973 by arwalker:
disable additional fits until functionality is enabled
M +17 -15 kst2dplot.cpp
--- branches/work/kst/1.5/kst/src/libkstapp/kst2dplot.cpp #706972:706973
@@ -3735,9 +3735,9 @@
KPopupMenu *submenuEdit = new KPopupMenu(menu);
KPopupMenu *submenuFit = new KPopupMenu(menu);
- KPopupMenu *submenuFitAll = new KPopupMenu(submenuFit);
- KPopupMenu *submenuFitVisibleStatic = new KPopupMenu(submenuFit);
- KPopupMenu *submenuFitVisibleDynamic = new KPopupMenu(submenuFit);
+// KPopupMenu *submenuFitAll = new KPopupMenu(submenuFit);
+// KPopupMenu *submenuFitVisibleStatic = new KPopupMenu(submenuFit);
+// KPopupMenu *submenuFitVisibleDynamic = new KPopupMenu(submenuFit);
KPopupMenu *submenuFilter = new KPopupMenu(menu);
KPopupMenu *submenuRemove = new KPopupMenu(menu);
hasEntry = false;
@@ -3788,14 +3788,16 @@
}
_curveFitMap[i] = tag;
_curveRemoveMap[i] = tag;
- submenuFitAll->insertItem(tag, i);
- submenuFitVisibleStatic->insertItem(tag, i);
- submenuFitVisibleDynamic->insertItem(tag, i);
+ submenuFit->insertItem(tag, i);
+// submenuFitAll->insertItem(tag, i);
+// submenuFitVisibleStatic->insertItem(tag, i);
+// submenuFitVisibleDynamic->insertItem(tag, i);
submenuFilter->insertItem(tag, i);
submenuRemove->insertItem(tag, i);
- submenuFitAll->connectItem(i, this, SLOT(fitCurve(int)));
- submenuFitVisibleStatic->connectItem(i, this, SLOT(fitCurveVisibleStatic(int)));
- submenuFitVisibleDynamic->connectItem(i, this, SLOT(fitCurveVisibleDynamic(int)));
+ submenuFit->connectItem(i, this, SLOT(fitCurve(int)));
+// submenuFitAll->connectItem(i, this, SLOT(fitCurve(int)));
+// submenuFitVisibleStatic->connectItem(i, this, SLOT(fitCurveVisibleStatic(int)));
+// submenuFitVisibleDynamic->connectItem(i, this, SLOT(fitCurveVisibleDynamic(int)));
submenuFilter->connectItem(i, this, SLOT(filterCurve(int)));
submenuRemove->connectItem(i, this, SLOT(removeCurve(int)));
hasEntry = true;
@@ -3805,12 +3807,12 @@
menu->setItemEnabled(id, hasEntry);
id = menu->insertItem(i18n("Fit"), submenuFit);
menu->setItemEnabled(id, hasEntry);
- id = submenuFit->insertItem(i18n("Entire curve"), submenuFitAll);
- menu->setItemEnabled(id, hasEntry);
- id = submenuFit->insertItem(i18n("Visible curve (static)"), submenuFitVisibleStatic);
- menu->setItemEnabled(id, hasEntry);
- id = submenuFit->insertItem(i18n("Visible curve (dynamic)"), submenuFitVisibleDynamic);
- menu->setItemEnabled(id, hasEntry);
+// id = submenuFit->insertItem(i18n("Entire curve"), submenuFitAll);
+// menu->setItemEnabled(id, hasEntry);
+// id = submenuFit->insertItem(i18n("Visible curve (static)"), submenuFitVisibleStatic);
+// menu->setItemEnabled(id, hasEntry);
+// id = submenuFit->insertItem(i18n("Visible curve (dynamic)"), submenuFitVisibleDynamic);
+// menu->setItemEnabled(id, hasEntry);
id = menu->insertItem(i18n("Filter"), submenuFilter);
menu->setItemEnabled(id, hasEntry);
id = menu->insertItem(i18n("Remove"), submenuRemove);
More information about the Kst
mailing list