The naming history of 'QLayout::getContentsMargins()' member?
General and Desktop
3
Posts
2
Posters
1.5k
Views
1
Watching
-
Most probably because it doesn't return anything (as a getter is usually expected to do), but uses out-parameters instead.
@
void QWidget::getContentsMargins(int *left, int *top, int *right, int *bottom) const
@
In addition, there is a "conventional" contentsMargin() getter.
@
QMargins QWidget::contentsMargins() const
@