Qt Tray Icon Drag and Drop
问题 Does anyone know if it is possible to use drag and drop with a tray icon using Qt? 回答1: I've been doing some research and here is what I have come up with: A QSystemTrayIcon cannot explicitly handle a drag/drop event. However there is a workaround based on the Spifftastic tray icon location method. You create a uniquely colored icon and place it as the icon for a brief moment and take a screenshot of it. Given that you know the color sequence for the icon, you can search through the