MCPcopy Create free account
hub / github.com/geekcomputers/Python / search_emoji

Method search_emoji

Emoji Dictionary/QT_GUI.py:100–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 self.emoji_widget.show()
99
100 def search_emoji():
101 word = self.lineEdit.text()
102 print(f"Field Text: {word}")
103 if word == "":
104 self.textEdit.setText("You have entered no emoji.")
105 else:
106 means = demojize(word)
107 self.textEdit.setText(
108 "Meaning of Emoji : "
109 + str(word)
110 + "\n\n"
111 + means.replace("::", ":\n: ")
112 )
113
114 def add_input_emoji(emoji):
115 self.lineEdit.setText(self.lineEdit.text() + emoji)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected