Hello,
I am programming on RHEL 6, using C++ and QT. I have created a custom dock bar with my own start button on the left and a clock on the right. My dock bar is created with a QWidget control.
So I have the basic application running. What I need to do now is figure out how to identify which applications are open so I can put some icons in the dock bar. And identify which one is active so I can make it's icon a "focus' icon. I also may need to know when an app is minimized.
Can someone please tell me a simple way of doing this? It seems to me that I should be able to get that info when my dock bar launches from the QX11Info class. Then I think I should be able to set up some type of event listener to capture "focus" events from the windows.
Any help would be greatly appreciated.
Bookmarks