Results 1 to 2 of 2

Thread: Disable OS's focus highlight

  1. #1
    Join Date
    Oct 2007
    Location
    Lake Forest, CA, USA
    Posts
    132
    Thanks
    10
    Thanked 27 Times in 22 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Disable OS's focus highlight

    Trying to style my app with style sheets I got stuck with element's focus attributes that are inherited from OS's theme.
    For example this QCheckBox:

    I cannot remove brown frame. How can I do it?
    Thanks.
    Oleg Shparber

  2. #2
    Join Date
    Oct 2007
    Location
    Lake Forest, CA, USA
    Posts
    132
    Thanks
    10
    Thanked 27 Times in 22 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: Disable OS's focus highlight

    Fixed setting FocusPolicy to Qt::NoFocus.
    Sorry
    Oleg Shparber

Similar Threads

  1. Replies: 2
    Last Post: 16th January 2010, 05:22
  2. highlight in QTextEdit
    By ubuntudevelop78 in forum Qt Programming
    Replies: 1
    Last Post: 27th November 2009, 01:22
  3. Replies: 1
    Last Post: 18th November 2008, 07:57
  4. Replies: 1
    Last Post: 5th August 2008, 21:44
  5. Focus issues / Setting multiple focus
    By ComputerPhreak in forum Qt Programming
    Replies: 1
    Last Post: 16th February 2007, 07:09

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.