PDA

View Full Version : Size of the cursor in QTextEdit



Ankitha Varsha
14th October 2006, 13:40
Hi,
Can i just change the size of the cursor in QTextEdit?

drhex
14th October 2006, 15:57
Do you mean change the width or the height?
Have you tried changing the textEdit's font?

Ankitha Varsha
15th October 2006, 05:41
HI,

Well, if i change the font, cursor width and height do change. Any other way?

aamer4yu
22nd January 2008, 13:32
I guess u can use the function QWidget::setCursor for QTextEdit.
and u can create a custom cursor through one of the constructors of QCursor taking a bitmap.

Hope it helps :)