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. How to implement Qt messageClicked() signal of balloon message on Mac?
Forum Updated to NodeBB v4.3 + New Features

How to implement Qt messageClicked() signal of balloon message on Mac?

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.3k Views 1 Watching
  • 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.
  • C Offline
    C Offline
    cucaligurl
    wrote on last edited by
    #1

    I am trying to implement a feature on an application.
    When this application gets a new text message, it shows some balloon message around the systemTrayIcon of this application.
    When I clicked on the balloon message, Qt will send out a mesageClicked() signal, and the text message center will show up.

    Everything is fine on windows, since Qt supports messageClicked() signal of balloon message on windows.
    But on Mac, Qt doesn't support this messageClicked() signal of balloon message.
    So, I want to implement this signal by myself.
    I know how to get mouse click and location event.
    But I don't know how to figure out what area of the balloon message is, so that whenever the mouse click on the balloon message, I can know.
    Can you please give me any idea about how to implement this messageClicked() signal on Mac?
    Thank you very much!

    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