List of All Members for QMessageBox | Qt Widgets | Qt 6.11.1
Description: The QMessageBox class provides a modal dialog for informing the user or for asking the user a question and receiving an answer.

- Qt 6.11
- Qt Widgets
- C++ Classes
- QMessageBox
- Qt 6.11.1 Reference Documentation

# List of All Members for QMessageBox

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

enum ButtonRole enum DialogCode enum Icon enum class Option flags Options enum PaintDeviceMetric enum RenderFlag flags RenderFlags enum StandardButton flags StandardButtons QMessageBox(QWidget *) QMessageBox(QMessageBox::Icon, const QString &, const QString &, QMessageBox::StandardButtons, QWidget *, Qt::WindowFlags) ~QMessageBox() about(QWidget *, const QString &, const QString &) aboutQt(QWidget *, const QString &) accept() acceptDrops() const : bool accepted() accessibleDescription() const : QString accessibleIdentifier() const : QString accessibleName() const : QString actionEvent(QActionEvent *) actions() const : QList<QAction *> activateWindow() 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 *> &) addButton(QAbstractButton *, QMessageBox::ButtonRole) addButton(QMessageBox::StandardButton) : QPushButton * addButton(const QString &, QMessageBox::ButtonRole) : QPushButton * adjustSize() autoFillBackground() const : bool backgroundRole() const : QPalette::ColorRole backingStore() const : QBackingStore * baseSize() const : QSize bindableObjectName() : QBindable<QString> blockSignals(bool) : bool button(QMessageBox::StandardButton) const : QAbstractButton * buttonClicked(QAbstractButton *) buttonRole(QAbstractButton *) const : QMessageBox::ButtonRole buttons() const : QList<QAbstractButton *> changeEvent(QEvent *) changeEvent(QEvent *) checkBox() const : QCheckBox * 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 clearFocus() clearMask() clickedButton() const : QAbstractButton * close() : bool closeEvent(QCloseEvent *) closeEvent(QCloseEvent *) 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 *) contextMenuEvent(QContextMenuEvent *) contextMenuPolicy() const : Qt::ContextMenuPolicy create(WId, bool, bool) createWindowContainer(QWindow *, QWidget *, Qt::WindowFlags) : QWidget * critical(QWidget *, const QString &, const QString &, QMessageBox::StandardButtons, QMessageBox::StandardButton) : QMessageBox::StandardButton cursor() const : QCursor customContextMenuRequested(const QPoint &) customEvent(QEvent *) defaultButton() const : QPushButton * deleteLater() depth() const : int destroy(bool, bool) destroyed(QObject *) detailedText() const : QString 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 &) done(int) dragEnterEvent(QDragEnterEvent *) dragLeaveEvent(QDragLeaveEvent *) dragMoveEvent(QDragMoveEvent *) dropEvent(QDropEvent *) dumpObjectInfo() const dumpObjectTree() const dynamicPropertyNames() const : QList<QByteArray> effectiveWinId() const : WId encodeMetricF(QPaintDevice::PaintDeviceMetric, double) : int ensurePolished() const enterEvent(QEnterEvent *) escapeButton() const : QAbstractButton * event(QEvent *) : bool event(QEvent *) : bool event(QEvent *) : bool eventFilter(QObject *, QEvent *) : bool eventFilter(QObject *, QEvent *) : bool exec() : int exec() : int 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> finished(int) focusInEvent(QFocusEvent *) focusNextChild() : bool focusNextPrevChild(bool) : bool 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 heightMM() const : int hide() hideEvent(QHideEvent *) icon() const : QMessageBox::Icon iconPixmap() const : QPixmap information(QWidget *, const QString &, const QString &, QMessageBox::StandardButtons, QMessageBox::StandardButton) : QMessageBox::StandardButton informativeText() const : QString inherits(const char *) const : bool initPainter(QPainter *) const inputMethodEvent(QInputMethodEvent *) inputMethodHints() const : Qt::InputMethodHints inputMethodQuery(Qt::InputMethodQuery) const : QVariant insertAction(QAction *, QAction *) insertActions(QAction *, const QList<QAction *> &) installEventFilter(QObject *) isActiveWindow() const : bool isAncestorOf(const QWidget *) 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 isQmlExposed() const : bool isQuickItemType() const : bool isSignalConnected(const QMetaMethod &) const : bool isSizeGripEnabled() 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 *) keyPressEvent(QKeyEvent *) keyReleaseEvent(QKeyEvent *) keyboardGrabber() : QWidget * killTimer(int) killTimer(Qt::TimerId) layout() const : QLayout * layoutDirection() const : Qt::LayoutDirection 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 *) mousePressEvent(QMouseEvent *) mouseReleaseEvent(QMouseEvent *) move(int, int) move(const QPoint &) 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 &) open(QObject *, const char *) open() options() const : QMessageBox::Options overrideWindowFlags(Qt::WindowFlags) paintEngine() const : QPaintEngine * paintEngine() const : QPaintEngine * 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 question(QWidget *, const QString &, const QString &, QMessageBox::StandardButtons, QMessageBox::StandardButton) : QMessageBox::StandardButton raise() receivers(const char *) const : int rect() const : QRect reject() rejected() releaseKeyboard() releaseMouse() releaseShortcut(int) removeAction(QAction *) removeButton(QAbstractButton *) 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(int, int) resize(const QSize &) resizeEvent(QResizeEvent *) resizeEvent(QResizeEvent *) resizeEvent(QResizeEvent *) restoreGeometry(const QByteArray &) : bool result() const : int 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 &) setAccessibleIdentifier(const QString &) setAccessibleName(const QString &) setAttribute(Qt::WidgetAttribute, bool) setAutoFillBackground(bool) setBackgroundRole(QPalette::ColorRole) setBaseSize(const QSize &) setBaseSize(int, int) setCheckBox(QCheckBox *) setContentsMargins(int, int, int, int) setContentsMargins(const QMargins &) setContextMenuPolicy(Qt::ContextMenuPolicy) setCursor(const QCursor &) setDefaultButton(QMessageBox::StandardButton) setDefaultButton(QPushButton *) setDetailedText(const QString &) setDisabled(bool) setEditFocus(bool) setEnabled(bool) setEscapeButton(QAbstractButton *) setEscapeButton(QMessageBox::StandardButton) 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(int, int, int, int) setGeometry(const QRect &) setGraphicsEffect(QGraphicsEffect *) setHidden(bool) setIcon(QMessageBox::Icon) setIconPixmap(const QPixmap &) setInformativeText(const QString &) 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) setModal(bool) setMouseTracking(bool) setObjectName(const QString &) setObjectName(QAnyStringView) setOption(QMessageBox::Option, bool) setOptions(QMessageBox::Options) setPalette(const QPalette &) setParent(QWidget *) setParent(QObject *) setParent(QWidget *, Qt::WindowFlags) setProperty(const char *, const QVariant &) : bool setProperty(const char *, QVariant &&) : bool setResult(int) setScreen(QScreen *) setShortcutAutoRepeat(int, bool) setShortcutEnabled(int, bool) setSizeGripEnabled(bool) setSizeIncrement(const QSize &) setSizeIncrement(int, int) setSizePolicy(QSizePolicy) setSizePolicy(QSizePolicy::Policy, QSizePolicy::Policy) setStandardButtons(QMessageBox::StandardButtons) setStatusTip(const QString &) setStyle(QStyle *) setStyleSheet(const QString &) setTabOrder(QWidget *, QWidget *) setTabOrder(std::initializer_list<QWidget *>) setTabletTracking(bool) setText(const QString &) setTextFormat(Qt::TextFormat) setTextInteractionFlags(Qt::TextInteractionFlags) 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) setWindowModality(Qt::WindowModality) setWindowModified(bool) setWindowOpacity(qreal) setWindowRole(const QString &) setWindowState(Qt::WindowStates) setWindowTitle(const QString &) setWindowTitle(const QString &) setupUi(QWidget *) show() showEvent(QShowEvent *) showEvent(QShowEvent *) 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 *) standardButton(QAbstractButton *) const : QMessageBox::StandardButton standardButtons() const : QMessageBox::StandardButtons startTimer(int, Qt::TimerType) : int startTimer(std::chrono::nanoseconds, Qt::TimerType) : int staticMetaObject : const QMetaObject statusTip() const : QString style() const : QStyle * styleSheet() const : QString tabletEvent(QTabletEvent *) testAttribute(Qt::WidgetAttribute) const : bool testOption(QMessageBox::Option) const : bool text() const : QString textFormat() const : Qt::TextFormat textInteractionFlags() const : Qt::TextInteractionFlags thread() const : QThread * timerEvent(QTimerEvent *) toolTip() const : QString toolTipDuration() const : int tr(const char *, const char *, int) : QString 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 warning(QWidget *, const QString &, const QString &, QMessageBox::StandardButtons, QMessageBox::StandardButton) : QMessageBox::StandardButton 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