Results 1 to 4 of 4

Thread: Cursor Position and Flickable Issue in TextEdit

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: Cursor Position and Flickable Issue in TextEdit

    Flickable.flick() is for starting a scrolling movement by specifiying velocities.

    If you need to position a Flickable you'll need to change contentX and contentY.

    Cheers,
    _

  2. #2
    Join Date
    Jul 2013
    Posts
    33
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: Cursor Position and Flickable Issue in TextEdit

    Thank you..But how do i move flick line by line of textedit content. Should i consider current position and use line height of content ?

  3. #3
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: Cursor Position and Flickable Issue in TextEdit

    Yes, that would be a thing I would try.

    Cheers,
    _

Similar Threads

  1. Replies: 0
    Last Post: 16th September 2012, 11:28
  2. Getting Cursor position within QMdiSubWindow
    By stevel in forum Qt Programming
    Replies: 1
    Last Post: 12th March 2012, 12:09
  3. Cursor Position in scene
    By rogerholmes in forum Newbie
    Replies: 2
    Last Post: 12th March 2010, 16:31
  4. Make the cursor visible in textEdit (Qt3.3.5)
    By vermarajeev in forum Qt Programming
    Replies: 9
    Last Post: 24th January 2007, 23:50
  5. Cursor scene position
    By xgoan in forum Qt Programming
    Replies: 1
    Last Post: 26th December 2006, 14:51

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
  •  
Qt is a trademark of The Qt Company.