Results 1 to 7 of 7

Thread: QLineEdit selectAll() in eventFilter

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: QLineEdit selectAll() in eventFilter

    Qt Code:
    1. QFocusEvent* pFocusEvent = static_cast<QFocusEvent*>(pEvent);
    2. if (pFocusEvent->reason() == Qt::TabFocusReason)
    3. {
    4. ...
    5. }
    To copy to clipboard, switch view to plain text mode 
    J-P Nurmi

  2. The following user says thank you to jpn for this useful post:

    mclark (29th November 2007)

Similar Threads

  1. QValidator, regular expressions and QLineEdit
    By hvengel in forum Qt Programming
    Replies: 1
    Last Post: 8th August 2007, 01:25

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.