summaryrefslogtreecommitdiffhomepage
path: root/qfunctionconfigurator/qfunctionconfigurator.h
diff options
context:
space:
mode:
Diffstat (limited to 'qfunctionconfigurator/qfunctionconfigurator.h')
-rw-r--r--qfunctionconfigurator/qfunctionconfigurator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/qfunctionconfigurator/qfunctionconfigurator.h b/qfunctionconfigurator/qfunctionconfigurator.h
index 59c8ffeb..845dd29c 100644
--- a/qfunctionconfigurator/qfunctionconfigurator.h
+++ b/qfunctionconfigurator/qfunctionconfigurator.h
@@ -34,6 +34,11 @@ public:
spline_color = color;
update();
}
+ void force_redraw()
+ {
+ _background = QPixmap();
+ update();
+ }
protected slots:
void paintEvent(QPaintEvent *e);
void mousePressEvent(QMouseEvent *e);