comparison view/View.cpp @ 137:10a82b2bbb8b

* experiment with finer zoom level changes when using h thumbwheel
author Chris Cannam
date Tue, 22 Aug 2006 14:18:28 +0000
parents 9e6b3e239b9d
children aaa3a53dbb10
comparison
equal deleted inserted replaced
136:a859b87162ca 137:10a82b2bbb8b
1112 QFrame::paintEvent(e); 1112 QFrame::paintEvent(e);
1113 return; 1113 return;
1114 } 1114 }
1115 1115
1116 // ensure our constraints are met 1116 // ensure our constraints are met
1117
1118 /*!!! Should we do this only if we have layers that can't support other
1119 zoom levels?
1120
1117 m_zoomLevel = getZoomConstraintBlockSize(m_zoomLevel, 1121 m_zoomLevel = getZoomConstraintBlockSize(m_zoomLevel,
1118 ZoomConstraint::RoundUp); 1122 ZoomConstraint::RoundUp);
1123 */
1119 1124
1120 QPainter paint; 1125 QPainter paint;
1121 bool repaintCache = false; 1126 bool repaintCache = false;
1122 bool paintedCacheRect = false; 1127 bool paintedCacheRect = false;
1123 1128