Results 1 to 2 of 2

Thread: cursor in LineEdit

  1. #1
    Join Date
    Aug 2006
    Posts
    1

    Default cursor in LineEdit

    Hello everybody,
    I'd like to know if it is possible to customize the cursor that appears while editing text, I took a brief look at QStyle but I couldn't find any help.
    Thank you for any advice

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: cursor in LineEdit

    I'm afraid that the text cursor shape is hardcoded in QTextLayout::drawCursor().

Similar Threads

  1. subclassing or redrawing a lineEdit
    By jayw710 in forum Qt Programming
    Replies: 2
    Last Post: 7th February 2006, 19:26

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.