aboutsummaryrefslogtreecommitdiff
path: root/scatterplot.h
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-02-10 11:59:59 -0200
committerSamuel Fadel <samuelfadel@gmail.com>2016-02-10 11:59:59 -0200
commited0db5c8d8ed12fa02eab5e529db60d92d78d8b2 (patch)
treec055cedd70dcc22215bc4ef2f0ce4b95803eab7c /scatterplot.h
parentdf39a28c86c44ec676a24f7f42f79839ae597b1a (diff)
Updated signal/slot connections to function pointers.
Also, some small changes in Scatterplot and VoronoiSplat to accomodate this.
Diffstat (limited to 'scatterplot.h')
-rw-r--r--scatterplot.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/scatterplot.h b/scatterplot.h
index 93f4f3f..1b40040 100644
--- a/scatterplot.h
+++ b/scatterplot.h
@@ -23,11 +23,6 @@ public:
arma::mat XY() const;
void setColorScale(const ColorScale &colorScale);
- void setXY(const arma::mat &xy, bool updateView);
- void setColorData(const arma::vec &colorData, bool updateView);
- void setOpacityData(const arma::vec &opacityData, bool updateView);
- void setScale(const LinearScale<float> &sx, const LinearScale<float> &sy, bool updateView);
- void setGlyphSize(float glyphSize, bool updateView);
void setAutoScale(bool autoScale);
Q_INVOKABLE bool saveToFile(const QUrl &url);
@@ -52,10 +47,10 @@ public slots:
void setXY(const arma::mat &xy);
void setColorData(const arma::vec &colorData);
void setOpacityData(const arma::vec &opacityData);
+ void setScale(const LinearScale<float> &sx, const LinearScale<float> &sy);
void setSelection(const std::vector<bool> &selection);
void brushItem(int item);
- void setScale(const LinearScale<float> &sx, const LinearScale<float> &sy);
- Q_INVOKABLE void setGlyphSize(float glyphSize);
+ Q_INVOKABLE void setGlyphSize(float glyphSize, bool updateView = true);
protected:
QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *);