Rewrite some zoom functions. Zoom is done in the middle of the image.
This commit is contained in:
1 parent
ecd98887f3
commit
bd3b2cf4eb
4 files changed
+41
-22
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user