Change zoom lock inner works

Now zoom is locked based on the ratio of the position of the scroll bar
This commit is contained in:
jfmcarreira committed 2018-01-30 05:30:04 +00:00
1 parent d021ceefeb
commit 6cce568791
7 files changed
+110 -89

No files matched your search

+2 -2
View File
@@ -144,12 +144,12 @@ Q_SIGNALS:
/**
* Notify that zoom factor was changed by internal event (e.g. by mouse wheel)
*/
void zoomFactorChanged_SWindow( const double, const QPoint );
void zoomFactorChanged( const double, const QPoint );
/**
* Notify that scrollbar position was changed by internal event (e.g. by mouse
* panning )
*/
void scrollBarMoved_SWindow( const QPoint );
void scrollBarMoved( const double&, const double& );
/**
* Update stauts bars
*/