_ZN11QGridLayout21setDefaultPositioningEiN2Qt11OrientationE

Name

QGridLayout::setDefaultPositioning -- set the positioning mode

Synopsis

#include <QtGui/qgridlayout.h>

void QGridLayout::setDefaultPositioning (int n, Qt::Orientation orient);

Description

The QGridLayout::setDefaultPositioning() function shall set the positioning mode used by QGridLayout::addItem().

If orient is Qt::Horizontal, the layout is expanded to n columns, and items will be added columns-first. Otherwise it is expanded to n rows and items will be added rows-first.

This function is not intended to be used by applications directly, but may appear among application dependencies as a result of usage of other functions and macros.