mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 04:28:49 +03:00
18 lines
432 B
QML
18 lines
432 B
QML
import QtQuick 2.10
|
|
import QtQuick.Controls 2.1
|
|
import im.nheko 1.0
|
|
import im.nheko.EmojiModel 1.0
|
|
|
|
import "../"
|
|
|
|
ImageButton {
|
|
property var colors: currentActivePalette
|
|
property var emojiPicker
|
|
property string room_id
|
|
property string event_id
|
|
|
|
image: ":/icons/icons/ui/smile.png"
|
|
id: emojiButton
|
|
onClicked: emojiPicker.visible ? emojiPicker.close() : emojiPicker.show(emojiButton, room_id, event_id)
|
|
|
|
}
|