Change zoom behaviour on ViewArea:
Now it requires a combination of Ctrl + mouse wheel
This commit is contained in:
1 parent
20e2ee38c0
commit
1c122a4a82
3 files changed
+24
-15
No files matched your search
@@ -108,6 +108,7 @@ public:
|
||||
PlaYUVerStream* getInputStream();
|
||||
|
||||
Void zoomChangeEvent(Double factor, QPoint center);
|
||||
|
||||
void setTool( enum eTool tool );
|
||||
|
||||
// QSize sizeHint() const;
|
||||
@@ -128,7 +129,7 @@ public Q_SLOTS:
|
||||
void setGridVisible( bool enable );
|
||||
void setSnapToGrid( bool enable );
|
||||
void setSelectedArea( QRect &rect );
|
||||
void setZoomFactor( double f );
|
||||
void setZoomFactor( double );
|
||||
|
||||
protected:
|
||||
void paintEvent( QPaintEvent *event );
|
||||
|
||||
Reference in new issue
Block a user