Results 1 to 9 of 9

Thread: QLineEdit shows always the end, how shows start ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2012
    Location
    India.
    Posts
    88
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Thanked 8 Times in 8 Posts

    Default Re: QLineEdit shows always the end, how shows start ?

    I had same issue and I solved it by calling setCursorPosition(0); after set text.
    Last edited by Rajesh.Rathod; 19th June 2015 at 13:21.

Similar Threads

  1. qlistwidget shows only one item
    By szisziszilvi in forum Newbie
    Replies: 2
    Last Post: 19th August 2011, 10:52
  2. QWebKit shows raw text
    By prof.ebral in forum Newbie
    Replies: 17
    Last Post: 6th February 2011, 11:12
  3. QGraphicsProxyWidget shows in a blimp of a second
    By stijn1989 in forum Qt Programming
    Replies: 1
    Last Post: 29th October 2010, 12:37
  4. QWebView shows '?' instead of all images
    By doep in forum Qt Programming
    Replies: 2
    Last Post: 5th February 2009, 11:03
  5. Program that just shows a window
    By claudio-cit in forum Newbie
    Replies: 2
    Last Post: 5th July 2008, 10:55

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.