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

void QLayout::setMenuBar ( QWidget widget  )  [inherited]

Tells the geometry manager to place the menu bar widget at the top of parentWidget(), outside QWidget::contentsMargins(). All child widgets are placed below the bottom edge of the menu bar.

Definition at line 987 of file qlayout.cpp.

References QLayout::addChildWidget().

    if (widget)
    d->menubar = widget;

Generated by  Doxygen 1.6.0   Back to index