PDA

View Full Version : Is there a 'fatcross' cursor icon for qt?



Maluko_Da_Tola
5th February 2017, 18:27
HI all,

I wonder if there is a 'fat cross' mouse cursor style to use when hovering over a grid of a spreadsheet (like in MS Excel or GNUmeric)?

I cannot find it in http://doc.qt.io/qt-5/qcursor.html. This list only shows a thin cross. In a spreadsheet this thin cross is typically used to drag formulae around the cells.

Could this be one of the reasons why in LibreOffice there is no 'fat' cross in Calc, as there there is no Qt equivalent to it? (LibreOffice uses qt for the rendering of GUI styles)

anda_skoa
6th February 2017, 08:17
You can specify any image as a cursor, if the platform supports that.

See the two QCursor constructors taking QBitmap and QPixmap respectively.

Cheers,
_