-
|
(I know this is mostly self-help forum, but I will try to find solutions and post here for future reference to someone else once I find it out) I noticed I can use tray icons, but I haven't figured out yet how to embed the image file: import Qt.labs.platform
ApplicationWindow {
SystemTrayIcon {
visible: true
icon.source: "qrc:/todos/tray-icon.png"
onActivated: {
todoModel.show()
}
}But how do I get the icon to the package? (Secondly I couldn't figure out yet how to hide or show the window) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Tray icons are one of the most cursed topics, especially on Linux desktop. Good luck with that though!
Depends on what "package" is in your setup, really |
Beta Was this translation helpful? Give feedback.
-
|
Oh geez, I tried incorrect way, it as simple as: |
Beta Was this translation helpful? Give feedback.
Oh geez, I tried incorrect way, it as simple as: