Results 1 to 3 of 3

Thread: Exact color Mac uses to outline a line edit in focus

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2017
    Posts
    54
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Exact color Mac uses to outline a line edit in focus

    Does anyone know the exact shade of blue (#xxxxxx???) a Mac/apple uses to outline a line edit that is in focus, or the same blueish color that shows up in a checked checkbox, or a radio button, etc?
    thanks

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Exact color Mac uses to outline a line edit in focus

    Possibly one of the System or Dynamic System Colors outlined:
    https://developer.apple.com/design/h...-design/color/

    Maybe selectedControlColor.
    You might wish to use the OS X API to get the colour so it adjusts correctly for the theme etc.
    Last edited by ChrisW67; 30th December 2019 at 09:06.

  3. #3
    Join Date
    Jan 2017
    Posts
    54
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Exact color Mac uses to outline a line edit in focus

    Thanks. I also just found:
    https://www.schemecolor.com/apple-blue-logo-colors.php

    the colors in my link look correct, but I'll use your link since it's from Apple
    thanks

Similar Threads

  1. Replies: 5
    Last Post: 14th August 2013, 13:00
  2. Replies: 2
    Last Post: 2nd May 2011, 07:33
  3. Is there focus event for line edit?
    By vjsharma_30 in forum Qt Programming
    Replies: 6
    Last Post: 19th February 2010, 21:12
  4. line edit focus
    By addu in forum Qt Programming
    Replies: 3
    Last Post: 16th July 2009, 16:39
  5. Slot to color background of line edit on textedited
    By tpf80 in forum Qt Programming
    Replies: 5
    Last Post: 21st June 2007, 10:02

Tags for this Thread

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.