Results 1 to 3 of 3

Thread: Focusing

  1. #1
    Join Date
    Dec 2008
    Location
    Istanbul, TURKEY
    Posts
    537
    Thanks
    14
    Thanked 13 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Windows Android

    Default Focusing

    Hi,

    I have a window which hauses some other frames( widgets). When I want to click on one of these frames, I want them to make blue their title colors. The problem is I couldn't pass the focus to the frames.

    Thanks in advance.

  2. #2
    Join Date
    Sep 2008
    Location
    New York
    Posts
    90
    Thanks
    13
    Thanked 4 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Focusing

    Quote Originally Posted by zgulser View Post
    Hi,

    I have a window which hauses some other frames( widgets). When I want to click on one of these frames, I want them to make blue their title colors. The problem is I couldn't pass the focus to the frames.

    Thanks in advance.
    why not just reimplement keyPressEvent()?

  3. #3
    Join Date
    Dec 2008
    Location
    Istanbul, TURKEY
    Posts
    537
    Thanks
    14
    Thanked 13 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Windows Android

    Default Re: Focusing

    Hi,

    What's wrong with focusIn abd focusOut events?

Similar Threads

  1. Scene focusing in QGraphicsView
    By mistertoony in forum Qt Programming
    Replies: 1
    Last Post: 9th March 2007, 16:34

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.