Results 1 to 4 of 4

Thread: Can I remove / hide the border when QPushButton is highlighted / focus / active?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Can I remove / hide the border when QPushButton is highlighted / focus / active?

    You need to write a custom style.

  2. #2
    Join Date
    Sep 2009
    Posts
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Can I remove / hide the border when QPushButton is highlighted / focus / active?

    the "outline: none" did it for me (qt 4.7, qtembedded 4.6.3)

    Qt Code:
    1. QPushButton:focus {
    2. border: none;
    3. outline: none;
    4. }
    To copy to clipboard, switch view to plain text mode 

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

    borzh62 (12th November 2015)

Similar Threads

  1. Replies: 2
    Last Post: 21st March 2012, 14:30
  2. Replies: 0
    Last Post: 13th February 2009, 08:26
  3. Remove Widget Border?
    By winston2020 in forum Qt Programming
    Replies: 5
    Last Post: 20th October 2008, 05:26
  4. Hide the border of a tool bar?
    By Dark_Tower in forum Qt Programming
    Replies: 6
    Last Post: 20th August 2007, 14:04
  5. Replies: 3
    Last Post: 26th September 2006, 12:16

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.