50 QTableView *m_view =
nullptr;
52 double m_fitScale = 1.0;
bool canZoomIn() const
True if Zoom In is still possible (below the max level).
void zoomIn()
Increases the discrete column-zoom one step (capped) and re-applies.
double fitScale() const
Current uniform Fit Screen scale.
int zoomLevel() const
Current discrete column-zoom level.
void zoomOut()
Decreases the discrete column-zoom one step (floored at the baseline) and re-applies.
bool canZoomOut() const
True if Zoom Out is still possible (above the baseline).
void reset()
Resets both axes to the baseline (level 0, scale 1.0) and re-applies.
DolphinZoom(QTableView *view)
Constructs the zoom controller for view (not owned; must outlive this).
void apply() const
Applies the current zoom to the view's row/column section sizes and font.