Add option to enable zoom and pan lock

This commit is contained in:
2015-01-26 00:07:20 +00:00
parent 40c5db6b2f
commit 1a52063259
5 changed files with 55 additions and 43 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ SubWindowHandle::SubWindowHandle( QWidget * parent, UInt category ) :
QScrollArea( parent )
{
setParent( parent );
setFocusPolicy( Qt::StrongFocus );
setFocusPolicy( Qt::WheelFocus );
setAttribute( Qt::WA_DeleteOnClose );
setBackgroundRole( QPalette::Light );
setWindowIcon( QIcon( ":/images/playuver.png" ) );