Rewrite some zoom functions. Zoom is done in the middle of the image.

This commit is contained in:
Luis Lucas committed 2014-03-24 01:44:54 +00:00
1 parent ecd98887f3
commit bd3b2cf4eb
4 files changed
+41 -22

No files matched your search

+4 -2
View File
@@ -59,6 +59,9 @@ private:
Bool m_bIsPlaying;
private slots:
void adjustScrollBar( double factor );
public:
SubWindowHandle( QWidget * parent = 0 );
~SubWindowHandle();
@@ -118,8 +121,6 @@ public:
*/
Void scaleView( const QSize & size );
Void adjustScrollBar( Double factor );
Double getScaleFactor()
{
return m_cViewArea->getZoomFactor();
@@ -145,6 +146,7 @@ protected:
public Q_SLOTS:
bool playEvent();
};
} // NAMESPACE