PDA

View Full Version : Docked main window



ahmed963
1st August 2008, 15:16
Hi everyone,

how can I develop a main window program in qt that can be docked in any side of the windows desktop sides.

In other words , I want to create a program that reacts as the start taskbar in windows.

The QDockWidget handles widgets that are within the main window, but I want the main window itself to be docked.

I hope my question is clear.

Thanks in advance.

jpn
1st August 2008, 21:18
Usually it's up to the underlying window manager to handle this, but some Windows apps tend to implement things like this on their own. I suppose you just have to handle move events and "dock" the window to the edge of the screen once it's moved close enough.

ahmed963
1st August 2008, 21:45
Thank you I will try that.