PDA

View Full Version : Creating software like anti-virus, Skype and MSN Messenger



Momergil
26th August 2011, 18:33
Hello!

I have the desire to create a software that runs similar to an anti-virus, Skype or MSN Messenger, in Windows, regarding the ability to function in background when I click the "X" button (by background I mean in that small area, normally in the right side, where a small icon appears showing some of the softwares that are running in background - the same place where a Icon appears indicating that a USB device had being plug).

But how do I do that? Is there a Qt function that treats with this issue? I only know the setMaximized or something similar, but nothing regarding this.



Thanks!

helloworld
26th August 2011, 20:09
The QSystemTrayIcon class is propably what you are looking for.


Modern operating systems usually provide a special area on the desktop, called the system tray or notification area, where long-running applications can display icons and short messages.

You can take a look at the System Tray Icon Example (http://doc.qt.nokia.com/4.7/desktop-systray.html).

Momergil
29th August 2011, 14:13
The QSystemTrayIcon class is propably what you are looking for.



You can take a look at the System Tray Icon Example (http://doc.qt.nokia.com/4.7/desktop-systray.html).

Yep, that's precisely what I was looking for.

Thanks

God bless,

Momergil