RiuPlotWidget: highlight relevant curves when clicking on an axis.

This commit is contained in:
Kristian Bendiksen
2022-04-04 10:11:21 +02:00
parent 11060078d8
commit 391d13565e
2 changed files with 37 additions and 6 deletions

View File

@@ -207,7 +207,8 @@ private:
static int defaultMinimumWidth();
void replot() override;
void highlightPlotItem( const QwtPlotItem* closestItem );
void highlightPlotItemsForQwtAxis( QwtAxisId axisId );
void highlightPlotItems( const std::set<const QwtPlotItem*>& closestItems );
void resetPlotItemHighlighting();
void onAxisSelected( QwtScaleWidget* scale, bool toggleItemInSelection );
void recalculateAxisExtents( RiuPlotAxis axis );