Fix minor bugs related to zoom functions. Zoom relative to mouse position can now be performed without strange jumps on image.
This commit is contained in:
1 parent
3754caa865
commit
02b2bfac43
3 files changed
+26
-12
No files matched your search
@@ -131,8 +131,7 @@ public:
|
||||
*/
|
||||
Void scaleView( const QSize & size );
|
||||
|
||||
Void scaleViewFactor( Double factor );
|
||||
|
||||
Void scaleViewByRatio( Double ratio );
|
||||
Double getScaleFactor()
|
||||
{
|
||||
return m_cViewArea->getZoomFactor();
|
||||
@@ -156,6 +155,7 @@ protected:
|
||||
public Q_SLOTS:
|
||||
void adjustScrollBarByZoom( double factor , QPoint center );
|
||||
void adjustScrollBarByOffset( QPoint Offset );
|
||||
void updateLastScrollValue( );
|
||||
};
|
||||
|
||||
} // NAMESPACE
|
||||
|
||||
Reference in new issue
Block a user