Results 1 to 3 of 3

Thread: how to catch event for LineEdit control

  1. #1
    Join Date
    Mar 2011
    Location
    delhi
    Posts
    45
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Exclamation how to catch event for LineEdit control

    hi all
    pls guide me how to catch events for LineEdit control on mouse click event.


    thanks with regards:
    gauravg

  2. #2
    Join Date
    Sep 2011
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to catch event for LineEdit control

    Sorry but it looks like a common problem of OOP.
    you have to inherit from QLineEdit and reimplement those methods that you need...
    if i missed the point please make an example of what your app should do..

  3. #3
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to catch event for LineEdit control


Similar Threads

  1. [pyqt]Event - catch only Qt.Key_Delete
    By kosset in forum Newbie
    Replies: 2
    Last Post: 26th August 2015, 18:41
  2. catch exit event
    By GrahamLabdon in forum Newbie
    Replies: 8
    Last Post: 18th December 2010, 14:47
  3. How to catch event, then objectName changed.
    By sergey_85 in forum Qt Programming
    Replies: 1
    Last Post: 25th April 2010, 20:05
  4. print text in the lineEdit control from string
    By rk0747 in forum Qt Programming
    Replies: 2
    Last Post: 6th February 2010, 08:48
  5. Catch a row selection event in QTableView
    By Windsoarer in forum Qt Programming
    Replies: 1
    Last Post: 2nd March 2009, 22:44

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.