PDA

View Full Version : Can "Frameless Helper" be modified to work with QMdiArea



phenoboy
12th March 2015, 06:47
Is it possible (in theory) to get this Frameless Helper to work with QMdiArea also ? I'm about to start to modify it but would like to know if someone has done it already or tried it and come to a conclusion that it's too much work. Features that I would need is resizing and moving.

It works fine when using top level widgets. Also I tried it in QMdiArea. It partially works. Moving works with frameless windows and it detects left and right edge IF area is maximized. But top and bottom edges are not detected.

http://code.google.com/p/qt-utilities/

Thanks.

phenoboy
12th March 2015, 11:56
I found QSizeGrip (qt-project.org/doc/qt-4.8/qsizegrip.html) Could this be used ?

phenoboy
13th March 2015, 06:53
I found QSizeGrip (qt-project.org/doc/qt-4.8/qsizegrip.html) Could this be used ?

QSizeGrip works when added into a widget that is inside QMdiArea. But it does not work anymore when I set Qt::FramelessWindowHint to QMdiSubWindow. QSizeGrip icon is there but when I drag the mouse it resizes the whole QMdiArea. Strange.

I would like to have frameless subwindows that has QSizeGrip.