开发者

QT how to detect the systray area for creating systary pop up windows

i need to create/design QT systray popup windows , i was thinking about creating c开发者_StackOverflowustom windows that derived from QDialog , so it could look better then the ordinary "Information,Warning,Critical styles"

my question is how can i detect the position of the desktop systray ,so how could give the popup windows

the look and feel of a systray popup


You might use the rectangle given by QSystemTrayIcon::geometry() to know precisely the position of the desktop systray. The geometry method gives the position in screen coordinate of the system tray icon.

See the documentation for more information.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜