Results 1 to 7 of 7

Thread: focusInEvent()

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2007
    Posts
    78
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default focusInEvent()

    I am reimplementing focusInEvent(QFocusEvent * event ) on a QTextEdit but seem to have lost the glowing edge (or visual marker that it has focus) in the process.

    Do I need to pass the event on? or make another call in focusInEvent() to get the graphical cue?

    Bob

    EDIT: Side note, I am reimplementing the widget so I can signal to another widget when focus is grabbed. It appeared reimplementing it and catching the event was the only way to do this. Is there another way?
    Last edited by coderbob; 24th December 2007 at 05:32.

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

    nithinin2001 (25th December 2007)

Similar Threads

  1. QLineEdit and focusInEvent
    By fuzzywuzzy01 in forum Qt Programming
    Replies: 5
    Last Post: 16th August 2007, 23:05
  2. Qt 3 : focusInEvent (QFocusEvent * e)
    By xplizion in forum Newbie
    Replies: 8
    Last Post: 2nd March 2006, 13:36

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.