diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2016-03-03 17:00:47 -0300 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2016-03-03 17:00:47 -0300 |
commit | 2ae04662b85d4898fe7069ed18cce2dd7abc45ad (patch) | |
tree | a1c1e49f9b7c568162a79a7bb7de9ecfd4986d1c /main.cpp | |
parent | 3ce49858c6859fccc2e4d35839c34685348790d1 (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.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |