Make plotZoomed a RiuQwtPlotWidget signal and not just in a couple of sub classes

This commit is contained in:
Gaute Lindkvist 2020-06-23 15:36:01 +02:00
parent a723d0d1fa
commit 3202a5f85d
3 changed files with 1 additions and 6 deletions

View File

@ -61,9 +61,6 @@ public:
void setLegendFontSize( int fontSize ); void setLegendFontSize( int fontSize );
void setInternalQwtLegendVisible( bool visible ); void setInternalQwtLegendVisible( bool visible );
signals:
void plotZoomed();
protected: protected:
void contextMenuEvent( QContextMenuEvent* ) override; void contextMenuEvent( QContextMenuEvent* ) override;

View File

@ -143,6 +143,7 @@ signals:
void plotItemSelected( QwtPlotItem* plotItem, bool toggleSelection, int sampleIndex ); void plotItemSelected( QwtPlotItem* plotItem, bool toggleSelection, int sampleIndex );
void onKeyPressEvent( QKeyEvent* event ); void onKeyPressEvent( QKeyEvent* event );
void onWheelEvent( QWheelEvent* event ); void onWheelEvent( QWheelEvent* event );
void plotZoomed();
protected: protected:
bool eventFilter( QObject* watched, QEvent* event ) override; bool eventFilter( QObject* watched, QEvent* event ) override;

View File

@ -54,9 +54,6 @@ public:
void useTimeBasedTimeAxis(); void useTimeBasedTimeAxis();
void setAxisIsLogarithmic( QwtPlot::Axis axis, bool logarithmic ); void setAxisIsLogarithmic( QwtPlot::Axis axis, bool logarithmic );
signals:
void plotZoomed();
protected: protected:
void contextMenuEvent( QContextMenuEvent* ) override; void contextMenuEvent( QContextMenuEvent* ) override;
void setDefaults(); void setDefaults();