Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QLayout * QWidget::layout (  )  const [inherited]

Returns the layout manager that is installed on this widget, or 0 if no layout manager is installed.

The layout manager sets the geometry of the widget's children that have been added to the layout.

See also:
setLayout(), sizePolicy(), {Layout Classes}

Definition at line 7334 of file qwidget.cpp.

References QLayout::layout().

Referenced by QLayout::addChildWidget(), QWidget::adjustSize(), QMainWindow::centralWidget(), QDockWidget::changeEvent(), QLayout::closestAcceptableSize(), QAbstractFormBuilder::create(), QAbstractFormBuilder::createDom(), QStackedWidget::currentWidget(), QDockWidget::event(), Q3ToolBar::event(), QWidgetItem::expandingDirections(), Q3HBox::frameChanged(), Q3Grid::frameChanged(), QWidgetItem::hasHeightForWidth(), QWidget::heightForWidth(), QWidgetItem::heightForWidth(), QDockWidget::initStyleOption(), QToolBar::initStyleOption(), Q3DockArea::lineUp(), QMainWindow::menuWidget(), QMdiSubWindow::minimumSizeHint(), Q3DockArea::moveDockWindow(), QDockWidget::paintEvent(), QLabel::paintEvent(), Q3DockArea::Q3DockArea(), QLayout::QLayout(), QMdiSubWindow::QMdiSubWindow(), QPageSetupDialog::QPageSetupDialog(), Q3DockArea::removeDockWindow(), resizeEvent(), Q3GroupBox::setColumnLayout(), QWidget::setLayout(), Q3DockWindow::setOrientation(), Q3HBox::setSpacing(), Q3Grid::setSpacing(), Q3HBox::setStretchFactor(), QDockWidget::setTitleBarWidget(), qdesigner_internal::Layout::setup(), QDockWidget::setWidget(), QMdiSubWindow::setWidget(), QDialog::showExtension(), QMainWindow::statusBar(), QDockWidget::titleBarWidget(), QDockWidget::widget(), QStackedWidget::widget(), Q3MainWindow::~Q3MainWindow(), and QToolBar::~QToolBar().

{
    return d_func()->layout;
}


Generated by  Doxygen 1.6.0   Back to index