_ZN8QMenuBar15setCornerWidgetEP7QWidgetN2Qt6CornerE

Name

QMenuBar::setCornerWidget -- set the position of the widget

Synopsis


#include <QtGui/qmenubar.h>

void QMenuBar::setCornerWidget(QWidget * w, Qt::Corner corner = Qt::TopRightCorner);

Description

The QMenuBar::setCornerWidget() function shall set widget w to be shown directly on the left of the first or the right of the last menu item, depending on corner.

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