mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
[composer] Use better cross hairs cursor
This commit is contained in:
parent
754307a42b
commit
52d114fba4
@ -109,7 +109,9 @@ void QgsComposerView::setCurrentTool( QgsComposerView::Tool t )
|
||||
//using a drawing tool
|
||||
//lock cursor to prevent composer items changing it
|
||||
composition()->setPreventCursorChange( true );
|
||||
viewport()->setCursor( Qt::CrossCursor );
|
||||
QPixmap myCrosshairQPixmap = QPixmap(( const char ** )( cross_hair_cursor ) );
|
||||
QCursor crosshairCursor = QCursor( myCrosshairQPixmap, 8, 8 );
|
||||
viewport()->setCursor( crosshairCursor );
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user