View Full Version : Photoshop-like palettes.

31st August 2008, 20:01
Hi all,
I want to create a photoshop-like interface with tool palettes (such as layes, history and others in PS).

For this purpose I use QMdiArea and QMdiSubWindow. I have two problems: I can't make small title bars for tool windows, and after maximising one of non-tool subwindows it covers palettes.

I tried to set Qt::Tool flag for making title bar smaller, but it helps only for top-level windows and has nothing effect for MdiSubWindows.

Thank you for your answers.

31st August 2008, 22:35
Isn't it better to use dock widgets for that?

1st September 2008, 20:43
If user wants only one or two dock widget to be open, it will be much free space on side panel. Photoshop-like panels let use that space.

1st September 2008, 21:02
Aren't they tool windows and not part of the MDI?

1st September 2008, 22:37
Oh yes! The solution was so simple... Thank you. I tried to place palettes as MdiSubWindows instead of making it Qt::Tool window and showing it on top. :o Thank you again.