Add clarifying documentation for QLayout::removeWidget()
Change-Id: I6c256c6c5cdfed6ceb45758d708fdc8f74d2939f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
parent
7c5475f1c0
commit
7944423bfa
@ -1350,7 +1350,8 @@ QRect QLayout::alignmentRect(const QRect &r) const
|
||||
/*!
|
||||
Removes the widget \a widget from the layout. After this call, it
|
||||
is the caller's responsibility to give the widget a reasonable
|
||||
geometry or to put the widget back into a layout.
|
||||
geometry or to put the widget back into a layout or to explicitly
|
||||
hide it if necessary.
|
||||
|
||||
\b{Note:} The ownership of \a widget remains the same as
|
||||
when it was added.
|
||||
|
Loading…
Reference in New Issue
Block a user