diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2015-09-29 16:10:12 -0300 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2015-09-29 16:10:12 -0300 |
commit | d7e8fe9f5ba2d3c290767342604f41b5e72589a8 (patch) | |
tree | 365a937b30433f9b109bbd625b7cbd411e59b8b6 | |
parent | 4cad7b34f3a860d4537c1513f63d78d337b60c62 (diff) |
Watch for both interactive and non-interactive changes to subsamples when displaying the LAMP projection.
-rw-r--r-- | main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -70,6 +70,8 @@ int main(int argc, char **argv) InteractionHandler interactionHandler(X, sampleIndices); QObject::connect(subsamplePlot, SIGNAL(xyChanged(const arma::mat &)), &interactionHandler, SLOT(setSubsample(const arma::mat &))); + QObject::connect(subsamplePlot, SIGNAL(xyInteractivelyChanged(const arma::mat &)), + &interactionHandler, SLOT(setSubsample(const arma::mat &))); QObject::connect(&interactionHandler, SIGNAL(subsampleChanged(const arma::mat &)), plot, SLOT(setXY(const arma::mat &))); QObject::connect(subsamplePlot, SIGNAL(xyInteractivelyChanged(const arma::mat &)), |