aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-03-03 17:00:47 -0300
committerSamuel Fadel <samuelfadel@gmail.com>2016-03-03 17:00:47 -0300
commit2ae04662b85d4898fe7069ed18cce2dd7abc45ad (patch)
treea1c1e49f9b7c568162a79a7bb7de9ecfd4986d1c /main.cpp
parent3ce49858c6859fccc2e4d35839c34685348790d1 (diff)
BarChart is now also updated during rewinding.
In addition, rewinding is now done with Ctrl+RMB.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 3417534..1062546 100644
--- a/main.cpp
+++ b/main.cpp
@@ -289,9 +289,11 @@ int main(int argc, char **argv)
m->cpPlot, &Scatterplot::setColorData);
QObject::connect(m->projectionHistory, &ProjectionHistory::rpValuesRewound,
m->splat, &VoronoiSplat::setValues);
+ QObject::connect(m->projectionHistory, &ProjectionHistory::rpValuesRewound,
+ m->rpBarChart, &BarChart::updateValues);
// General component set up
- plotTC->setAcceptedMouseButtons(Qt::MiddleButton);
+ plotTC->setAcceptedMouseButtons(Qt::RightButton);
m->cpPlot->setDragEnabled(true);
m->cpPlot->setAutoScale(false);
m->rpPlot->setAutoScale(false);