[Kst] branches/work/kst/portto4/kst/src/libkstapp
Mike Fenton
mike at staikos.net
Thu Mar 5 18:51:08 CET 2009
SVN commit 935586 by fenton:
Add redraw of Plot when plotRect has changed to fix garbling of plotaxis.
M +6 -0 plotitem.cpp
M +1 -0 plotitem.h
--- branches/work/kst/portto4/kst/src/libkstapp/plotitem.cpp #935585:935586
@@ -141,6 +141,7 @@
_gnum++;
setPlotBordersDirty(true);
+ connect(this, SIGNAL(updatePlotRect()), this, SLOT(redrawPlot()));
}
@@ -461,6 +462,11 @@
}
+void PlotItem::redrawPlot() {
+ update();
+}
+
+
void PlotItem::updateObject() {
if (!_allowUpdates) {
_updateDelayed = true;
--- branches/work/kst/portto4/kst/src/libkstapp/plotitem.h #935585:935586
@@ -279,6 +279,7 @@
void zoomLogY();
virtual void edit();
void plotMaximize();
+ void redrawPlot();
void showFilterDialog(QAction*);
void showFitDialog(QAction*);
More information about the Kst
mailing list