// to call update()
connect(this, SIGNAL(changedAnnotations()), browser, SLOT(update()));
connect(this, SIGNAL(changedMotifs()), this, SLOT(updateAnnotations()));
+ connect(browser, SIGNAL(basepairsCopied(size_t)),
+ this, SLOT(showBasePairsCopied(size_t)));
//mussaViewTB->addAction(toggleMotifsAction);
mussaViewTB->addWidget(zoom);
mussaViewTB->show();
}
+void MussaWindow::showBasePairsCopied(size_t bp_copied)
+{
+ QString msg("Copied ");
+ QString num;
+ num.setNum(bp_copied);
+ msg += num + " base pairs";
+ statusBar()->showMessage(msg, 5000);
+}
+
+
void MussaWindow::toggleMotifs()
{
NotImplementedBox();