0

I have an application with a textedit field. I would like to use emoticons as well but unfortunetly I don't know much about it and couldn't find anything useful with Google either. I would like to have a selection box/list with emojis which I can chose from. A emoticon should be selected from there only not be transformed from an input like :) to an emoticon!

Are those just images that are selected and then inserted via HTML and I can just search and download such a image list somewhere? Or are those special characters!?

Thanks for any help!

wasp256
  • 5,943
  • 12
  • 72
  • 119
  • 1
    Emojis aren't images these days, many of them are unicode characters. If the font you use to render the character supports that character you see it , else you don't ⌧. Read about emojis, atleast on Wikipedia, before trying to code with them. – legends2k Sep 30 '15 at 11:42
  • Ok thanks for the clarification – wasp256 Sep 30 '15 at 11:44
  • I would recommend to use actual pictures. People sending you square boxes isn't fun. – nwp Sep 30 '15 at 11:44
  • if you are using QTextField, you can use textChanged() signal of QTextField, then you can have what user typed and according to input you can replace the characters with a emoticon image in text field : http://stackoverflow.com/questions/3254652/several-ways-of-placing-an-image-in-a-qtextedit – Akın Yılmaz Sep 30 '15 at 12:42

1 Answers1

0

Are you just looking for a number of images of emoticons? Maybe http://getemoji.com/ can help? Or any search of "emoticons" in Google Image Search.

Hopefully this helps?

Wim
  • 507
  • 1
  • 8
  • 16
  • Ok, so this are just special characters I can simply insert as HTML and not images? – wasp256 Sep 30 '15 at 11:41
  • through http://getemoji.com/ you can get the special characters, yes. But maybe it is also possible to add images to your HTML? Just replace every string ":-)" with "" ? I have no clue, but could be possible – Wim Sep 30 '15 at 17:35