mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
Re-instate zoom interval in MainWindow/AllPlot
Added a new signal to MainWindow to trigger a zoom to interval. This signal has been trapped in AllPlot (Ride Plot), but will also need to be supported in; * Ride Editor - highlight/zoom to interval data * Aerolab - Same as ride plot * Maps - Zoom in to section
This commit is contained in:
@@ -691,6 +691,7 @@ MainWindow::showContextMenuPopup(const QPoint &pos)
|
||||
connect(actFrontInt, SIGNAL(triggered(void)), this, SLOT(frontInterval(void)));
|
||||
connect(actBackInt, SIGNAL(triggered(void)), this, SLOT(backInterval(void)));
|
||||
|
||||
menu.addAction(actZoomInt);
|
||||
menu.addAction(actRenameInt);
|
||||
menu.addAction(actDeleteInt);
|
||||
menu.exec(intervalWidget->mapToGlobal( pos ));
|
||||
@@ -1451,7 +1452,7 @@ MainWindow::intervalEdited(QTreeWidgetItem *, int) {
|
||||
void
|
||||
MainWindow::zoomInterval() {
|
||||
// zoom into this interval on allPlot
|
||||
//allPlotWindow->zoomInterval(activeInterval);
|
||||
emit intervalZoom(activeInterval);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user