PDA

View Full Version : Frameless dialog



mouni
22nd April 2015, 07:30
hi friends...


I added framelesswindow in gridlayout to get framelesswindow from gridlayout when mouse doubleclicked.....

anda_skoa
22nd April 2015, 07:39
That doesn't make any sense.

If you add a widget to another widget's layout, it will cease to be a top level window.

Cheers,
_

mouni
22nd April 2015, 07:51
give me some example code.....

anda_skoa
22nd April 2015, 10:43
example code for what?

Cheers,
_

mouni
22nd April 2015, 11:57
how to get widget from gridlayout...

anda_skoa
22nd April 2015, 13:38
See QGridLayout::itemAtPosition() and QLayoutItem::widget().

Cheers,
_