- Qt 6.8
- Qt Widgets
- C++ Classes
- QMenuBar
- Qt 6.8.2 Reference Documentation

# List of All Members for QMenuBar

This is the complete list of members for QMenuBar, including inherited members.

enum PaintDeviceMetric enum RenderFlag flags RenderFlags QMenuBar(QWidget *) ~QMenuBar() acceptDrops() const : bool accessibleDescription() const : QString accessibleName() const : QString actionAt(const QPoint &) const : QAction * actionEvent(QActionEvent *) actionEvent(QActionEvent *) actionGeometry(QAction *) const : QRect actions() const : QList<QAction *> activateWindow() activeAction() const : QAction * addAction(QAction *) addAction(const QString &) : QAction * addAction(const QIcon &, const QString &) : QAction * addAction(const QString &, const QKeySequence &) : QAction * addAction(const QIcon &, const QString &, const QKeySequence &) : QAction * addAction(const QString &, Args &&...) : QAction * addAction(const QIcon &, const QString &, Args &&...) : QAction * addAction(const QString &, const QKeySequence &, Args &&...) : QAction * addAction(const QIcon &, const QString &, const QKeySequence &, Args &&...) : QAction * addAction(const QString &, const QObject *, const char *, Qt::ConnectionType) : QAction * addAction(const QIcon &, const QString &, const QObject *, const char *, Qt::ConnectionType) : QAction * addAction(const QString &, const QKeySequence &, const QObject *, const char *, Qt::ConnectionType) : QAction * addAction(const QIcon &, const QString &, const QKeySequence &, const QObject *, const char *, Qt::ConnectionType) : QAction * addActions(const QList<QAction *> &) addMenu(QMenu *) : QAction * addMenu(const QString &) : QMenu * addMenu(const QIcon &, const QString &) : QMenu * addSeparator() : QAction * adjustSize() autoFillBackground() const : bool backgroundRole() const : QPalette::ColorRole backingStore() const : QBackingStore * baseSize() const : QSize bindableObjectName() : QBindable<QString> blockSignals(bool) : bool changeEvent(QEvent *) changeEvent(QEvent *) childAt(int, int) const : QWidget * childAt(const QPoint &) const : QWidget * childAt(const QPointF &) const : QWidget * childEvent(QChildEvent *) children() const : const QObjectList & childrenRect() const : QRect childrenRegion() const : QRegion clear() clearFocus() clearMask() close() : bool closeEvent(QCloseEvent *) colorCount() const : int connect(const QObject *, const QMetaMethod &, const QObject *, const QMetaMethod &, Qt::ConnectionType) : QMetaObject::Connection connect(const QObject *, const char *, const QObject *, const char *, Qt::ConnectionType) : QMetaObject::Connection connect(const QObject *, PointerToMemberFunction, Functor) : QMetaObject::Connection connect(const QObject *, const char *, const char *, Qt::ConnectionType) const : QMetaObject::Connection connect(const QObject *, PointerToMemberFunction, const QObject *, Functor, Qt::ConnectionType) : QMetaObject::Connection connect(const QObject *, PointerToMemberFunction, const QObject *, PointerToMemberFunction, Qt::ConnectionType) : QMetaObject::Connection connectNotify(const QMetaMethod &) contentsMargins() const : QMargins contentsRect() const : QRect contextMenuEvent(QContextMenuEvent *) contextMenuPolicy() const : Qt::ContextMenuPolicy cornerWidget(Qt::Corner) const : QWidget * create(WId, bool, bool) createWindowContainer(QWindow *, QWidget *, Qt::WindowFlags) : QWidget * cursor() const : QCursor customContextMenuRequested(const QPoint &) customEvent(QEvent *) deleteLater() depth() const : int destroy(bool, bool) destroyed(QObject *) devicePixelRatio() const : qreal devicePixelRatioF() const : qreal disconnect(const QMetaObject::Connection &) : bool disconnect(const QObject *, const QMetaMethod &, const QObject *, const QMetaMethod &) : bool disconnect(const QObject *, const char *, const QObject *, const char *) : bool disconnect(const QObject *, const char *) const : bool disconnect(const char *, const QObject *, const char *) const : bool disconnect(const QObject *, PointerToMemberFunction, const QObject *, PointerToMemberFunction) : bool disconnectNotify(const QMetaMethod &) dragEnterEvent(QDragEnterEvent *) dragLeaveEvent(QDragLeaveEvent *) dragMoveEvent(QDragMoveEvent *) dropEvent(QDropEvent *) dumpObjectInfo() const dumpObjectTree() const dynamicPropertyNames() const : QList<QByteArray> effectiveWinId() const : WId ensurePolished() const enterEvent(QEnterEvent *) event(QEvent *) : bool event(QEvent *) : bool event(QEvent *) : bool eventFilter(QObject *, QEvent *) : bool eventFilter(QObject *, QEvent *) : bool find(WId) : QWidget * findChild(QAnyStringView, Qt::FindChildOptions) const : T findChild(Qt::FindChildOptions) const : T findChildren(QAnyStringView, Qt::FindChildOptions) const : QList<T> findChildren(Qt::FindChildOptions) const : QList<T> findChildren(const QRegularExpression &, Qt::FindChildOptions) const : QList<T> focusInEvent(QFocusEvent *) focusInEvent(QFocusEvent *) focusNextChild() : bool focusNextPrevChild(bool) : bool focusOutEvent(QFocusEvent *) focusOutEvent(QFocusEvent *) focusPolicy() const : Qt::FocusPolicy focusPreviousChild() : bool focusProxy() const : QWidget * focusWidget() const : QWidget * font() const : const QFont & fontInfo() const : QFontInfo fontMetrics() const : QFontMetrics foregroundRole() const : QPalette::ColorRole frameGeometry() const : QRect frameSize() const : QSize geometry() const : const QRect & grab(const QRect &) : QPixmap grabGesture(Qt::GestureType, Qt::GestureFlags) grabKeyboard() grabMouse() grabMouse(const QCursor &) grabShortcut(const QKeySequence &, Qt::ShortcutContext) : int graphicsEffect() const : QGraphicsEffect * graphicsProxyWidget() const : QGraphicsProxyWidget * hasEditFocus() const : bool hasFocus() const : bool hasHeightForWidth() const : bool hasMouseTracking() const : bool hasTabletTracking() const : bool height() const : int height() const : int heightForWidth(int) const : int heightForWidth(int) const : int heightMM() const : int hide() hideEvent(QHideEvent *) hovered(QAction *) inherits(const char *) const : bool initPainter(QPainter *) const initStyleOption(QStyleOptionMenuItem *, const QAction *) const inputMethodEvent(QInputMethodEvent *) inputMethodHints() const : Qt::InputMethodHints inputMethodQuery(Qt::InputMethodQuery) const : QVariant insertAction(QAction *, QAction *) insertActions(QAction *, const QList<QAction *> &) insertMenu(QAction *, QMenu *) : QAction * insertSeparator(QAction *) : QAction * installEventFilter(QObject *) isActiveWindow() const : bool isAncestorOf(const QWidget *) const : bool isDefaultUp() const : bool isEnabled() const : bool isEnabledTo(const QWidget *) const : bool isFullScreen() const : bool isHidden() const : bool isMaximized() const : bool isMinimized() const : bool isModal() const : bool isNativeMenuBar() const : bool isQuickItemType() const : bool isSignalConnected(const QMetaMethod &) const : bool isVisible() const : bool isVisibleTo(const QWidget *) const : bool isWidgetType() const : bool isWindow() const : bool isWindowModified() const : bool isWindowType() const : bool keyPressEvent(QKeyEvent *) keyPressEvent(QKeyEvent *) keyReleaseEvent(QKeyEvent *) keyboardGrabber() : QWidget * killTimer(int) killTimer(Qt::TimerId) layout() const : QLayout * layoutDirection() const : Qt::LayoutDirection leaveEvent(QEvent *) leaveEvent(QEvent *) locale() const : QLocale logicalDpiX() const : int logicalDpiY() const : int lower() mapFrom(const QWidget *, const QPointF &) const : QPointF mapFrom(const QWidget *, const QPoint &) const : QPoint mapFromGlobal(const QPointF &) const : QPointF mapFromGlobal(const QPoint &) const : QPoint mapFromParent(const QPointF &) const : QPointF mapFromParent(const QPoint &) const : QPoint mapTo(const QWidget *, const QPointF &) const : QPointF mapTo(const QWidget *, const QPoint &) const : QPoint mapToGlobal(const QPointF &) const : QPointF mapToGlobal(const QPoint &) const : QPoint mapToParent(const QPointF &) const : QPointF mapToParent(const QPoint &) const : QPoint mask() const : QRegion maximumHeight() const : int maximumSize() const : QSize maximumWidth() const : int metaObject() const : const QMetaObject * metric(QPaintDevice::PaintDeviceMetric) const : int metric(QPaintDevice::PaintDeviceMetric) const : int minimumHeight() const : int minimumSize() const : QSize | minimumSizeHint() const : QSize minimumSizeHint() const : QSize minimumWidth() const : int mouseDoubleClickEvent(QMouseEvent *) mouseGrabber() : QWidget * mouseMoveEvent(QMouseEvent *) mouseMoveEvent(QMouseEvent *) mousePressEvent(QMouseEvent *) mousePressEvent(QMouseEvent *) mouseReleaseEvent(QMouseEvent *) mouseReleaseEvent(QMouseEvent *) move(const QPoint &) move(int, int) moveEvent(QMoveEvent *) moveToThread(QThread *) : bool nativeEvent(const QByteArray &, void *, qintptr *) : bool nativeParentWidget() const : QWidget * nextInFocusChain() const : QWidget * normalGeometry() const : QRect objectName() const : QString objectNameChanged(const QString &) overrideWindowFlags(Qt::WindowFlags) paintEngine() const : QPaintEngine * paintEngine() const : QPaintEngine * paintEvent(QPaintEvent *) paintEvent(QPaintEvent *) paintingActive() const : bool palette() const : const QPalette & parent() const : QObject * parentWidget() const : QWidget * physicalDpiX() const : int physicalDpiY() const : int pos() const : QPoint previousInFocusChain() const : QWidget * property(const char *) const : QVariant raise() receivers(const char *) const : int rect() const : QRect releaseKeyboard() releaseMouse() releaseShortcut(int) removeAction(QAction *) removeEventFilter(QObject *) render(QPaintDevice *, const QPoint &, const QRegion &, QWidget::RenderFlags) render(QPainter *, const QPoint &, const QRegion &, QWidget::RenderFlags) repaint() repaint(const QRect &) repaint(const QRegion &) repaint(int, int, int, int) resize(const QSize &) resize(int, int) resizeEvent(QResizeEvent *) resizeEvent(QResizeEvent *) restoreGeometry(const QByteArray &) : bool saveGeometry() const : QByteArray screen() const : QScreen * scroll(int, int) scroll(int, int, const QRect &) sender() const : QObject * senderSignalIndex() const : int setAcceptDrops(bool) setAccessibleDescription(const QString &) setAccessibleName(const QString &) setActiveAction(QAction *) setAttribute(Qt::WidgetAttribute, bool) setAutoFillBackground(bool) setBackgroundRole(QPalette::ColorRole) setBaseSize(const QSize &) setBaseSize(int, int) setContentsMargins(int, int, int, int) setContentsMargins(const QMargins &) setContextMenuPolicy(Qt::ContextMenuPolicy) setCornerWidget(QWidget *, Qt::Corner) setCursor(const QCursor &) setDefaultUp(bool) setDisabled(bool) setEditFocus(bool) setEnabled(bool) setFixedHeight(int) setFixedSize(const QSize &) setFixedSize(int, int) setFixedWidth(int) setFocus(Qt::FocusReason) setFocus() setFocusPolicy(Qt::FocusPolicy) setFocusProxy(QWidget *) setFont(const QFont &) setForegroundRole(QPalette::ColorRole) setGeometry(const QRect &) setGeometry(int, int, int, int) setGraphicsEffect(QGraphicsEffect *) setHidden(bool) setInputMethodHints(Qt::InputMethodHints) setLayout(QLayout *) setLayoutDirection(Qt::LayoutDirection) setLocale(const QLocale &) setMask(const QBitmap &) setMask(const QRegion &) setMaximumHeight(int) setMaximumSize(const QSize &) setMaximumSize(int, int) setMaximumWidth(int) setMinimumHeight(int) setMinimumSize(const QSize &) setMinimumSize(int, int) setMinimumWidth(int) setMouseTracking(bool) setNativeMenuBar(bool) setObjectName(const QString &) setObjectName(QAnyStringView) setPalette(const QPalette &) setParent(QWidget *) setParent(QObject *) setParent(QWidget *, Qt::WindowFlags) setProperty(const char *, const QVariant &) : bool setProperty(const char *, QVariant &&) : bool setScreen(QScreen *) setShortcutAutoRepeat(int, bool) setShortcutEnabled(int, bool) setSizeIncrement(const QSize &) setSizeIncrement(int, int) setSizePolicy(QSizePolicy) setSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy) setStatusTip(const QString &) setStyle(QStyle *) setStyleSheet(const QString &) setTabOrder(QWidget *, QWidget *) setTabOrder(std::initializer_list<QWidget *>) setTabletTracking(bool) setToolTip(const QString &) setToolTipDuration(int) setUpdatesEnabled(bool) setVisible(bool) setVisible(bool) setWhatsThis(const QString &) setWindowFilePath(const QString &) setWindowFlag(Qt::WindowType, bool) setWindowFlags(Qt::WindowFlags) setWindowIcon(const QIcon &) setWindowModality(Qt::WindowModality) setWindowModified(bool) setWindowOpacity(qreal) setWindowRole(const QString &) setWindowState(Qt::WindowStates) setWindowTitle(const QString &) setupUi(QWidget *) show() showEvent(QShowEvent *) showFullScreen() showMaximized() showMinimized() showNormal() signalsBlocked() const : bool size() const : QSize sizeHint() const : QSize sizeHint() const : QSize sizeIncrement() const : QSize sizePolicy() const : QSizePolicy stackUnder(QWidget *) startTimer(int, Qt::TimerType) : int startTimer(std::chrono::nanoseconds, Qt::TimerType) : int staticMetaObject : statusTip() const : QString style() const : QStyle * styleSheet() const : QString tabletEvent(QTabletEvent *) testAttribute(Qt::WidgetAttribute) const : bool thread() const : QThread * timerEvent(QTimerEvent *) timerEvent(QTimerEvent *) toNSMenu() : NSMenu * toolTip() const : QString toolTipDuration() const : int tr(const char *, const char *, int) : QString triggered(QAction *) underMouse() const : bool ungrabGesture(Qt::GestureType) unsetCursor() unsetLayoutDirection() unsetLocale() update() update(const QRect &) update(const QRegion &) update(int, int, int, int) updateGeometry() updateMicroFocus(Qt::InputMethodQuery) updatesEnabled() const : bool visibleRegion() const : QRegion whatsThis() const : QString wheelEvent(QWheelEvent *) width() const : int width() const : int widthMM() const : int winId() const : WId window() const : QWidget * windowFilePath() const : QString windowFlags() const : Qt::WindowFlags windowHandle() const : QWindow * windowIcon() const : QIcon windowIconChanged(const QIcon &) windowModality() const : Qt::WindowModality windowOpacity() const : qreal windowRole() const : QString windowState() const : Qt::WindowStates windowTitle() const : QString windowTitleChanged(const QString &) windowType() const : Qt::WindowType x() const : int y() const : int