Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Can't enter apple symbol () in QLineEdit and QTextEdit on OSX
Forum Updated to NodeBB v4.3 + New Features

Can't enter apple symbol () in QLineEdit and QTextEdit on OSX

Scheduled Pinned Locked Moved General and Desktop
applesymbolosxqtexteditqlineedit
2 Posts 2 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    peniwize
    wrote on 25 Nov 2015, 22:27 last edited by peniwize
    #1

    I'm able to enter the apple symbol () in other applications and I've found that I can copy it from another app and paste it into a QLineEdit or QTextEdit, but I can't enter it directly with the keyboard by pressing Option(alt)+Shift+k in the QLineEdit or QTextEdit on OSX. This is specifically for a password entry field for OSX users that use the apple symbol () in their passwords so the only solution they'll accept is to support Option+Shift+k directly in the edit field. Do I need to go to the trouble of using a native event filter for this or is there something simpler and more natural that I've overlooked?

    Note that the apple symbol in parens will probably only look like the apple symbol on a mac.

    S 1 Reply Last reply 30 Dec 2015, 09:34
    0
    • P peniwize
      25 Nov 2015, 22:27

      I'm able to enter the apple symbol () in other applications and I've found that I can copy it from another app and paste it into a QLineEdit or QTextEdit, but I can't enter it directly with the keyboard by pressing Option(alt)+Shift+k in the QLineEdit or QTextEdit on OSX. This is specifically for a password entry field for OSX users that use the apple symbol () in their passwords so the only solution they'll accept is to support Option+Shift+k directly in the edit field. Do I need to go to the trouble of using a native event filter for this or is there something simpler and more natural that I've overlooked?

      Note that the apple symbol in parens will probably only look like the apple symbol on a mac.

      S Offline
      S Offline
      Sidii
      wrote on 30 Dec 2015, 09:34 last edited by Sidii
      #2

      Dear @peniwize, I am not aware of direct entry of special symbols in QLineEdit in MAC but in WINDOWS OS we can do with the help of ALT key and the symbol code. Basically go to Character Map and select the special symbol then you will be able to see the corresponding Key code to that special character. Just hold ALT symbol and enter the code from num pad by enabling NUM LOCK. Then release the ALT key. That special symbol will automatically appear in the QLineEdit in Windows. May be something similar you can try in MAC OS too.
      Good luck!!

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved