[Qt-interest] [qt-interest] Message associated with trayIcon.
Sachin Srivastava
sachin.srivastava at enterprisedb.com
Thu Sep 10 10:33:58 CEST 2009
On 09/10/2009 01:23 PM, R. Reucher wrote:
> On Thu, 10 Sep 2009 12:40:16 +0530, Sachin Srivastava wrote:
>
>> The pop-up message is not aligned with the trayIcon and gets displayed
>> somewhere else. Any pointers what i am doing wrong? I am using qt-4.5 on
>> Fedora 11.
>>
> Works fine for me on openSUSE 11.1 / KDE 4 with Qt 4.5.2.
>
> Hard to tell what you might have done wrong without a small code snippet
> at least...
>
This is what i am doing..
if (!trayIcon)
createTrayIcon(); // This sets the trayIconMenu, sets the
Icon for tray
// Show the icon (before displaying the message)!
trayIcon->show();
if (trayIcon->isVisible())
trayIcon->showMessage(title, msg, QSystemTrayIcon::Information,
5000);
> HTH, René
>
--
Regards,
Sachin Srivastava
www.enterprisedb.com
More information about the Qt-interest-old
mailing list