Qt 6.2
Qt Widgets
C++ Classes
QMainWindow
Qt 6.2.0 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
QMainWindow
(QWidget *, Qt::WindowFlags)
enum
RenderFlag
flags
RenderFlags
close
() : bool
customContextMenuRequested
(const QPoint &)
deleteLater
()
destroyed
(QObject *)
hide
()
iconSizeChanged
(const QSize &)
lower
()
objectNameChanged
(const QString &)
raise
()
repaint
()
setAnimated
(bool)
setDisabled
(bool)
setDockNestingEnabled
(bool)
setEnabled
(bool)
setFocus
()
setHidden
(bool)
setStyleSheet
(const QString &)
setUnifiedTitleAndToolBarOnMac
(bool)
setVisible
(bool)
setWindowModified
(bool)
setWindowTitle
(const QString &)
show
()
showFullScreen
()
showMaximized
()
showMinimized
()
showNormal
()
tabifiedDockWidgetActivated
(QDockWidget *)
toolButtonStyleChanged
(Qt::ToolButtonStyle)
update
()
updateMicroFocus
(Qt::InputMethodQuery)
windowIconChanged
(const QIcon &)
windowTitleChanged
(const QString &)
~QMainWindow
()
acceptDrops
() const : bool
accessibleDescription
() const : QString
accessibleName
() const : QString
actionEvent
(QActionEvent *)
actions
() const : QList<QAction *>
activateWindow
()
addAction
(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
blockSignals
(bool) : bool
centralWidget
() const : QWidget *
changeEvent
(QEvent *)
childAt
(int, int) const : QWidget *
childAt
(const QPoint &) const : QWidget *
childEvent
(QChildEvent *)
children
() const : const QObjectList &
childrenRect
() const : QRect
childrenRegion
() const : QRegion
clearFocus
()
clearMask
()
closeEvent
(QCloseEvent *)
colorCount
() const : int
connect
(const QObject *, const char *, const QObject *, const char *, Qt::ConnectionType) : QMetaObject::Connection
connect
(const QObject *, const QMetaMethod &, const QObject *, const QMetaMethod &, Qt::ConnectionType) : QMetaObject::Connection
connect
(const QObject *, const char *, const char *, Qt::ConnectionType) const : QMetaObject::Connection
connect
(const QObject *, PointerToMemberFunction, const QObject *, PointerToMemberFunction, Qt::ConnectionType) : QMetaObject::Connection
connect
(const QObject *, PointerToMemberFunction, Functor) : QMetaObject::Connection
connect
(const QObject *, PointerToMemberFunction, const QObject *, Functor, Qt::ConnectionType) : QMetaObject::Connection
connectNotify
(const QMetaMethod &)
contentsMargins
() const : QMargins
contentsRect
() const : QRect
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
customEvent
(QEvent *)
depth
() const : int
destroy
(bool, bool)
devicePixelRatio
() const : qreal
devicePixelRatioF
() const : qreal
disconnect
(const QObject *, const char *, const QObject *, const char *) : bool
disconnect
(const QObject *, const QMetaMethod &, const QObject *, const QMetaMethod &) : bool
disconnect
(const char *, const QObject *, const char *) const : bool
disconnect
(const QObject *, const char *) const : bool
disconnect
(const QMetaObject::Connection &) : 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
eventFilter
(QObject *, QEvent *) : bool
find
(WId) : QWidget *
findChild
(const QString &, Qt::FindChildOptions) const : T
findChildren
(const QString &, 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
heightForWidth
(int) const : int
heightMM
() const : int
hideEvent
(QHideEvent *)
iconSize
() 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
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)
layout
() const : QLayout *
layoutDirection
() const : Qt::LayoutDirection
leaveEvent
(QEvent *)
locale
() const : QLocale
logicalDpiX
() const : int
logicalDpiY
() const : int
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
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 *)
nativeEvent
(const QByteArray &, void *, qintptr *) : bool
nativeParentWidget
() const : QWidget *
nextInFocusChain
() const : QWidget *
normalGeometry
() const : QRect
objectName
() const : QString
overrideWindowFlags
(Qt::WindowFlags)
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
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
(int, int, int, int)
repaint
(const QRect &)
repaint
(const QRegion &)
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 &)
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 &)
setDockOptions
(QMainWindow::DockOptions)
setDocumentMode
(bool)
setEditFocus
(bool)
setFixedHeight
(int)
setFixedSize
(const QSize &)
setFixedSize
(int, int)
setFixedWidth
(int)
setFocus
(Qt::FocusReason)
setFocusPolicy
(Qt::FocusPolicy)
setFocusProxy
(QWidget *)
setFont
(const QFont &)
setForegroundRole
(QPalette::ColorRole)
setGeometry
(const QRect &)
setGeometry
(int, int, int, int)
setGraphicsEffect
(QGraphicsEffect *)
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 &)
setPalette
(const QPalette &)
setParent
(QWidget *)
setParent
(QWidget *, Qt::WindowFlags)
setProperty
(const char *, const 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 *)
setTabOrder
(QWidget *, QWidget *)
setTabPosition
(Qt::DockWidgetAreas, QTabWidget::TabPosition)
setTabShape
(QTabWidget::TabShape)
setTabletTracking
(bool)
setToolButtonStyle
(Qt::ToolButtonStyle)
setToolTip
(const QString &)
setToolTipDuration
(int)
setUpdatesEnabled
(bool)
setWhatsThis
(const QString &)
setWindowFilePath
(const QString &)
setWindowFlag
(Qt::WindowType, bool)
setWindowFlags
(Qt::WindowFlags)
setWindowIcon
(const QIcon &)
setWindowModality
(Qt::WindowModality)
setWindowOpacity
(qreal)
setWindowRole
(const QString &)
setWindowState
(Qt::WindowStates)
setupUi
(QWidget *)
showEvent
(QShowEvent *)
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::milliseconds, 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
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
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
(int, int, int, int)
update
(const QRect &)
update
(const QRegion &)
updateGeometry
()
updatesEnabled
() const : bool
visibleRegion
() const : QRegion
whatsThis
() const : QString
wheelEvent
(QWheelEvent *)
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
windowModality
() const : Qt::WindowModality
windowOpacity
() const : qreal
windowRole
() const : QString
windowState
() const : Qt::WindowStates
windowTitle
() const : QString
windowType
() const : Qt::WindowType
x
() const : int
y
() const : int