Hello, SaZ, you wrote: SaZ> Hello, arfaa, you wrote: A>> already looked, but if it to add on qmainwindow it superimposes it on top (depending on the size qgridsize), that is which lie at a window are superimposed. As it correctly to add in qmainwindow that were not superimposed SaZ> Alas, I not the telepathist and do not know that such qgridsize. As I do not know your code. The minimum example which is playing back a problem, in the form of one.cpp a file master? Personally to me it is absolutely not clear, what for to a primary window to do frameless hint. 1. To the Primary window it becomes, that the window had the style, instead of 2. The task implemented, on each side of a window added QSizegrid expanded in the width 5px, transits perfectly well. How to close a subject?