Skip to content

Commit

Permalink
Simplified zoomer
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Sep 15, 2023
1 parent ed0d7d7 commit 64d2cf1
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 779 deletions.
1 change: 0 additions & 1 deletion ApplicationLibCode/UserInterface/CMakeLists_files.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ list(
${CMAKE_CURRENT_LIST_DIR}/RiuTextContentFrame.h
${CMAKE_CURRENT_LIST_DIR}/RiuQwtLegendOverlayContentFrame.h
${CMAKE_CURRENT_LIST_DIR}/RiuMatrixPlotWidget.h
${CMAKE_CURRENT_LIST_DIR}/RiuQwtPlotZoomerMultiAxes.h
)

list(APPEND QT_UI_FILES)
Expand Down
2 changes: 0 additions & 2 deletions ApplicationLibCode/UserInterface/RiuQwtPlotZoomer.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ class RiuQwtPlotZoomer : public RiuQwtPlotZoomerMultiAxes
void endZoomOperation() { reset(); }

protected:
QSizeF minZoomSize() const override { return RiuQwtPlotZoomerMultiAxes::minZoomSize() / 10.0e6; }

bool accept( QPolygon& pa ) const override
{
if ( pa.count() < 2 ) return false;
Expand Down
Loading

0 comments on commit 64d2cf1

Please sign in to comment.