Qt 6.8
Qt Widgets
C++ Classes
QMainWindow
Qt 6.8.1 Reference Documentation
List of All Members for QMainWindow
This is the complete list of members for
QMainWindow
, including inherited members.
enum
DockOption
flags
DockOptions
enum
PaintDeviceMetric
enum
RenderFlag
flags
RenderFlags
QMainWindow
(QWidget *, Qt::WindowFlags)
~QMainWindow
()
acceptDrops
() const : bool
accessibleDescription
() 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 *> &)
addDockWidget
(Qt::DockWidgetArea, QDockWidget *)
addDockWidget
(Qt::DockWidgetArea, QDockWidget *, Qt::Orientation)
addToolBar
(Qt::ToolBarArea, QToolBar *)
addToolBar
(QToolBar *)
addToolBar
(const QString &) : QToolBar *
addToolBarBreak
(Qt::ToolBarArea)
adjustSize
()
autoFillBackground
() const : bool
backgroundRole
() const : QPalette::ColorRole
backingStore
() const : QBackingStore *
baseSize
() const : QSize
bindableObjectName
() : QBindable<QString>
blockSignals
(bool) : bool
centralWidget
() const : QWidget *
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
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 *)
contextMenuEvent
(QContextMenuEvent *)
contextMenuPolicy
() const : Qt::ContextMenuPolicy
corner
(Qt::Corner) const : Qt::DockWidgetArea
create
(WId, bool, bool)
createPopupMenu
() : QMenu *
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 &)
dockOptions
() const : QMainWindow::DockOptions
dockWidgetArea
(QDockWidget *) const : Qt::DockWidgetArea
documentMode
() const : bool
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
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 *)
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 *)
iconSize
() const : QSize
iconSizeChanged
(const QSize &)
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 *> &)
insertToolBar
(QToolBar *, QToolBar *)
insertToolBarBreak
(QToolBar *)
installEventFilter
(QObject *)
isActiveWindow
() const : bool
isAncestorOf
(const QWidget *) const : bool
isAnimated
() const : bool
isDockNestingEnabled
() 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
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 *)
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
menuBar
() const : QMenuBar *
menuWidget
() const : QWidget *
metaObject
() const : const QMetaObject *
metric
(QPaintDevice::PaintDeviceMetric) const : int
metric
(QPaintDevice::PaintDeviceMetric) const : int
minimumHeight
() const : int
minimumSize
() const : QSize
minimumSizeHint
() const : QSize
minimumWidth
() const : int
mouseDoubleClickEvent
(QMouseEvent *)
mouseGrabber
() : QWidget *
mouseMoveEvent
(QMouseEvent *)
mousePressEvent
(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 *)
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 *)
removeDockWidget
(QDockWidget *)
removeEventFilter
(QObject *)
removeToolBar
(QToolBar *)
removeToolBarBreak
(QToolBar *)
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)
resizeDocks
(const QList<QDockWidget *> &, const QList<int> &, Qt::Orientation)
resizeEvent
(QResizeEvent *)
restoreDockWidget
(QDockWidget *) : bool
restoreGeometry
(const QByteArray &) : bool
restoreState
(const QByteArray &, int) : bool
saveGeometry
() const : QByteArray
saveState
(int) 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 &)
setAnimated
(bool)
setAttribute
(Qt::WidgetAttribute, bool)
setAutoFillBackground
(bool)
setBackgroundRole
(QPalette::ColorRole)
setBaseSize
(const QSize &)
setBaseSize
(int, int)
setCentralWidget
(QWidget *)
setContentsMargins
(int, int, int, int)
setContentsMargins
(const QMargins &)
setContextMenuPolicy
(Qt::ContextMenuPolicy)
setCorner
(Qt::Corner, Qt::DockWidgetArea)
setCursor
(const QCursor &)
setDisabled
(bool)
setDockNestingEnabled
(bool)
setDockOptions
(QMainWindow::DockOptions)
setDocumentMode
(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)
setIconSize
(const QSize &)
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)
setMenuBar
(QMenuBar *)
setMenuWidget
(QWidget *)
setMinimumHeight
(int)
setMinimumSize
(const QSize &)
setMinimumSize
(int, int)
setMinimumWidth
(int)
setMouseTracking
(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)
setStatusBar
(QStatusBar *)
setStatusTip
(const QString &)
setStyle
(QStyle *)
setStyleSheet
(const QString &)
setTabOrder
(QWidget *, QWidget *)
setTabOrder
(std::initializer_list<QWidget *>)
setTabPosition
(Qt::DockWidgetAreas, QTabWidget::TabPosition)
setTabShape
(QTabWidget::TabShape)
setTabletTracking
(bool)
setToolButtonStyle
(Qt::ToolButtonStyle)
setToolTip
(const QString &)
setToolTipDuration
(int)
setUnifiedTitleAndToolBarOnMac
(bool)
setUpdatesEnabled
(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
sizeIncrement
() const : QSize
sizePolicy
() const : QSizePolicy
splitDockWidget
(QDockWidget *, QDockWidget *, Qt::Orientation)
stackUnder
(QWidget *)
startTimer
(int, Qt::TimerType) : int
startTimer
(std::chrono::nanoseconds, Qt::TimerType) : int
staticMetaObject
:
statusBar
() const : QStatusBar *
statusTip
() const : QString
style
() const : QStyle *
styleSheet
() const : QString
tabPosition
(Qt::DockWidgetArea) const : QTabWidget::TabPosition
tabShape
() const : QTabWidget::TabShape
tabifiedDockWidgetActivated
(QDockWidget *)
tabifiedDockWidgets
(QDockWidget *) const : QList<QDockWidget *>
tabifyDockWidget
(QDockWidget *, QDockWidget *)
tabletEvent
(QTabletEvent *)
takeCentralWidget
() : QWidget *
testAttribute
(Qt::WidgetAttribute) const : bool
thread
() const : QThread *
timerEvent
(QTimerEvent *)
toolBarArea
(const QToolBar *) const : Qt::ToolBarArea
toolBarBreak
(QToolBar *) const : bool
toolButtonStyle
() const : Qt::ToolButtonStyle
toolButtonStyleChanged
(Qt::ToolButtonStyle)
toolTip
() const : QString
toolTipDuration
() const : int
tr
(const char *, const char *, int) : QString
underMouse
() const : bool
ungrabGesture
(Qt::GestureType)
unifiedTitleAndToolBarOnMac
() const : bool
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