Merge pull request #1243 from grindhold/master

Fixed hotspot of hand-cursor
This commit is contained in:
Vesa V
2014-10-28 17:49:07 +02:00
5 changed files with 5 additions and 5 deletions

View File

@@ -264,7 +264,7 @@ trackContentObjectView::trackContentObjectView( trackContentObject * _tco,
setAttribute( Qt::WA_OpaquePaintEvent, true );
setAttribute( Qt::WA_DeleteOnClose, true );
setFocusPolicy( Qt::StrongFocus );
setCursor( QCursor( embed::getIconPixmap( "hand" ), 0, 0 ) );
setCursor( QCursor( embed::getIconPixmap( "hand" ), 3, 3 ) );
move( 0, 1 );
show();

View File

@@ -41,7 +41,7 @@ AutomatableModelView::AutomatableModelView( ::Model* model, QWidget* _this ) :
m_unit( QString::null )
{
widget()->setAcceptDrops( true );
widget()->setCursor( QCursor( embed::getIconPixmap( "hand" ), 0, 0 ) );
widget()->setCursor( QCursor( embed::getIconPixmap( "hand" ), 3, 3 ) );
}

View File

@@ -59,7 +59,7 @@ FxLine::FxLine( QWidget * _parent, FxMixerView * _mv, int _channelIndex) :
setFixedSize( 33, FxLineHeight );
setAttribute( Qt::WA_OpaquePaintEvent, true );
setCursor( QCursor( embed::getIconPixmap( "hand" ), 0, 0 ) );
setCursor( QCursor( embed::getIconPixmap( "hand" ), 3, 3 ) );
// mixer sends knob
m_sendKnob = new knob( knobBright_26, this, tr("Channel send amount") );

View File

@@ -44,7 +44,7 @@ fadeButton::fadeButton( const QColor & _normal_color,
m_activatedColor( _activated_color )
{
setAttribute( Qt::WA_OpaquePaintEvent, true );
setCursor( QCursor( embed::getIconPixmap( "hand" ), 0, 0 ) );
setCursor( QCursor( embed::getIconPixmap( "hand" ), 3, 3 ) );
setFocusPolicy( Qt::NoFocus );
}

View File

@@ -45,7 +45,7 @@ trackLabelButton::trackLabelButton( trackView * _tv, QWidget * _parent ) :
{
setAttribute( Qt::WA_OpaquePaintEvent, true );
setAcceptDrops( true );
setCursor( QCursor( embed::getIconPixmap( "hand" ), 0, 0 ) );
setCursor( QCursor( embed::getIconPixmap( "hand" ), 3, 3 ) );
setToolButtonStyle( Qt::ToolButtonTextBesideIcon );
if( configManager::inst()->value( "ui",