Do wheel zoom relative to mouse position.

This commit is contained in:
Luis Lucas committed 2014-04-05 04:49:10 +01:00
1 parent 5dcfce6db7
commit b2ccbfe820
4 files changed
+47 -11

No files matched your search

+3 -1
View File
@@ -59,6 +59,8 @@ private:
Bool m_bIsPlaying;
QPoint m_cLastScroll;
public:
SubWindowHandle( QWidget * parent = 0 );
~SubWindowHandle();
@@ -152,7 +154,7 @@ protected:
void closeEvent( QCloseEvent *event );
public Q_SLOTS:
void adjustScrollBarByZoom( double factor );
void adjustScrollBarByZoom( double factor , QPoint center );
void adjustScrollBarByOffset( QPoint Offset );
};