Results 1 to 8 of 8

Thread: QLineEdit & keyPressEvent(QKeyEvent *)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Ukraine,Lviv
    Posts
    454
    Thanks
    9
    Thanked 27 Times in 27 Posts
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: QLineEdit & keyPressEvent(QKeyEvent *)

    Oh yes...it becouse first pressing its Shift. So you must catch 2 events : frist for Shift and second for Tab
    a life without programming is like an empty bottle

  2. #2
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QLineEdit & keyPressEvent(QKeyEvent *)

    Quote Originally Posted by wysota
    BTW. Why are you reimplementing Tab to do the same it does by its own?
    I am yet to write the code for backtab. I just wanted to see how modifiers work before implementing the functionality, that is why i am calling the same function in the same place.

    Thanks a lot

  3. The following user says thank you to munna for this useful post:

    :db:sStrong (19th May 2006)

Similar Threads

  1. Replies: 10
    Last Post: 12th February 2009, 07:23
  2. problem with QLineEdit and QPalette
    By impeteperry in forum Qt Programming
    Replies: 4
    Last Post: 15th October 2008, 17:05
  3. QLineEdit
    By rick_st3 in forum Newbie
    Replies: 1
    Last Post: 14th June 2008, 09:05
  4. Pointer Question related to QLineEdit
    By ChrisReath in forum Qt Programming
    Replies: 1
    Last Post: 23rd May 2008, 15:13
  5. 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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.