MCPcopy Create free account
hub / github.com/KDAB/GammaRay / zoomLevelIndex

Method zoomLevelIndex

ui/remoteviewwidget.cpp:421–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419}
420
421int RemoteViewWidget::zoomLevelIndex() const
422{
423 const auto it = std::lower_bound(m_zoomLevels.begin(), m_zoomLevels.end(), m_zoom);
424 return std::distance(m_zoomLevels.begin(), it);
425}
426
427void RemoteViewWidget::setZoom(double zoom)
428{

Callers 4

PaintAnalyzerWidgetMethod · 0.80
TextureTabMethod · 0.80
WidgetInspectorWidgetMethod · 0.80

Calls 2

endMethod · 0.80
beginMethod · 0.45

Tested by 1

WidgetInspectorWidgetMethod · 0.64