added hand-cursor for all controls

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1269 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-07-04 16:43:47 +00:00
parent 4cfad8ba16
commit ec4d1dc498
6 changed files with 8 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

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

View File

@@ -43,6 +43,7 @@ automatableModelView::automatableModelView( ::model * _model,
m_unit( QString::null )
{
widget()->setAcceptDrops( TRUE );
widget()->setCursor( QCursor( embed::getIconPixmap( "hand" ), 0, 0 ) );
}

View File

@@ -56,6 +56,7 @@ public:
{
setFixedSize( 32, 232 );
setAttribute( Qt::WA_OpaquePaintEvent, TRUE );
setCursor( QCursor( embed::getIconPixmap( "hand" ), 0, 0 ) );
}
virtual void paintEvent( QPaintEvent * )

View File

@@ -3,7 +3,7 @@
/*
* fade_button.cpp - implementation of fade-button
*
* Copyright (c) 2005-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
* Copyright (c) 2005-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
@@ -30,6 +30,7 @@
#include <QtGui/QPainter>
#include <QtGui/QPixmap>
#include "embed.h"
#include "fade_button.h"
#include "update_event.h"
@@ -41,6 +42,7 @@ fadeButton::fadeButton( const QColor & _normal_color,
m_normalColor( _normal_color ),
m_activatedColor( _activated_color )
{
setCursor( QCursor( embed::getIconPixmap( "hand" ), 0, 0 ) );
}

View File

@@ -32,6 +32,7 @@
#include "name_label.h"
#include "embed.h"
#include "rename_dialog.h"
#include "bb_track_container.h"
#include "bb_track.h"
@@ -46,6 +47,7 @@ nameLabel::nameLabel( const QString & _initial_name, QWidget * _parent ) :
m_pixmap(),
m_pixmapFile( "" )
{
setCursor( QCursor( embed::getIconPixmap( "hand" ), 0, 0 ) );
}
@@ -201,7 +203,6 @@ void nameLabel::paintEvent( QPaintEvent * )
QPainter p( this );
p.fillRect( rect(),
parentWidget()->palette().color( backgroundRole() ) );
p.setFont( pointSize<9>( p.font() ) );
int x = 4;
if( m_pixmap.isNull() == FALSE )