QMainWindow class
Help on class QMainWindow in module PyQt5.QtWidgets:
class QMainWindow(QWidget)
| QMainWindow(parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())
|
| Method resolution order:
| QMainWindow
| QWidget
| PyQt5.QtCore.QObject
| sip.wrapper
| PyQt5.QtGui.QPaintDevice
| sip.simplewrapper
| builtins.object
|
| Methods defined here:
|
| actionEvent(...)
|
| addDockWidget(...)
| addDockWidget(self, Qt.DockWidgetArea, QDockWidget)
| addDockWidget(self, Qt.DockWidgetArea, QDockWidget, Qt.Orientation)
|
| addToolBar(...)
| addToolBar(self, Qt.ToolBarArea, QToolBar)
| addToolBar(self, QToolBar)
| addToolBar(self, str) -> QToolBar
|
| addToolBarBreak(...)
| addToolBarBreak(self, area: Qt.ToolBarArea = Qt.TopToolBarArea)
|
| centralWidget(...)
| centralWidget(self) -> QWidget
|
| changeEvent(...)
|
| childEvent(...)
|
| closeEvent(...)
|
| connectNotify(...)
|
| contextMenuEvent(...)
| contextMenuEvent(self, QContextMenuEvent)
|
| corner(...)
| corner(self, Qt.Corner) -> Qt.DockWidgetArea
|
| create(...)
|
| createPopupMenu(...)
| createPopupMenu(self) -> QMenu
|
| customEvent(...)
|
| destroy(...)
|
| disconnectNotify(...)
|
| dockOptions(...)
| dockOptions(self) -> QMainWindow.DockOptions
|
| dockWidgetArea(...)
| dockWidgetArea(self, QDockWidget) -> Qt.DockWidgetArea
|
| documentMode(...)
| documentMode(self) -> bool
|
| dragEnterEvent(...)
|
| dragLeaveEvent(...)
|
| dragMoveEvent(...)
|
| dropEvent(...)
|
| enterEvent(...)
|
| event(...)
| event(self, QEvent) -> bool
|
| focusInEvent(...)
|
| focusNextChild(...)
|
| focusNextPrevChild(...)
|
| focusOutEvent(...)
|
| focusPreviousChild(...)
|
| hideEvent(...)
|
| iconSize(...)
| iconSize(self) -> QSize
|
| iconSizeChanged = <unbound PYQT_SIGNAL iconSizeChanged(QSize)>
| initPainter(...)
|
| inputMethodEvent(...)
|
| insertToolBar(...)
| insertToolBar(self, QToolBar, QToolBar)
|
| insertToolBarBreak(...)
| insertToolBarBreak(self, QToolBar)
|
| isAnimated(...)
| isAnimated(self) -> bool
|
| isDockNestingEnabled(...)
| isDockNestingEnabled(self) -> bool
|
| isSeparator(...)
| isSeparator(self, QPoint) -> bool
|
| isSignalConnected(...)
|
| keyPressEvent(...)
|
| keyReleaseEvent(...)
|
| leaveEvent(...)
|
| menuBar(...)
| menuBar(self) -> QMenuBar
|
| menuWidget(...)
| menuWidget(self) -> QWidget
|
| metric(...)
|
| mouseDoubleClickEvent(...)
|
| mouseMoveEvent(...)
|
| mousePressEvent(...)
|
| mouseReleaseEvent(...)
|
| moveEvent(...)
|
| nativeEvent(...)
|
| paintEvent(...)
|
| receivers(...)
|
| removeDockWidget(...)
| removeDockWidget(self, QDockWidget)
|
| removeToolBar(...)
| removeToolBar(self, QToolBar)
|
| removeToolBarBreak(...)
| removeToolBarBreak(self, QToolBar)
|
| resizeDocks(...)
| resizeDocks(self, Iterable[QDockWidget], Iterable[int], Qt.Orientation)
|
| resizeEvent(...)
|
| restoreDockWidget(...)
| restoreDockWidget(self, QDockWidget) -> bool
|
| restoreState(...)
| restoreState(self, Union[QByteArray, bytes, bytearray], version: int = 0) -> bool
|
| saveState(...)
| saveState(self, version: int = 0) -> QByteArray
|
| sender(...)
|
| senderSignalIndex(...)
|
| setAnimated(...)
| setAnimated(self, bool)
|
| setCentralWidget(...)
| setCentralWidget(self, QWidget)
|
| setCorner(...)
| setCorner(self, Qt.Corner, Qt.DockWidgetArea)
|
| setDockNestingEnabled(...)
| setDockNestingEnabled(self, bool)
|
| setDockOptions(...)
| setDockOptions(self, Union[QMainWindow.DockOptions, QMainWindow.DockOption])
|
| setDocumentMode(...)
| setDocumentMode(self, bool)
|
| setIconSize(...)
| setIconSize(self, QSize)
|
| setMenuBar(...)
| setMenuBar(self, QMenuBar)
|
| setMenuWidget(...)
| setMenuWidget(self, QWidget)
|
| setStatusBar(...)
| setStatusBar(self, QStatusBar)
|
| setTabPosition(...)
| setTabPosition(self, Union[Qt.DockWidgetAreas, Qt.DockWidgetArea], QTabWidget.TabPosition)
|
| setTabShape(...)
| setTabShape(self, QTabWidget.TabShape)
|
| setToolButtonStyle(...)
| setToolButtonStyle(self, Qt.ToolButtonStyle)
|
| setUnifiedTitleAndToolBarOnMac(...)
| setUnifiedTitleAndToolBarOnMac(self, bool)
|
| sharedPainter(...)
|
| showEvent(...)
|
| splitDockWidget(...)
| splitDockWidget(self, QDockWidget, QDockWidget, Qt.Orientation)
|
| statusBar(...)
| statusBar(self) -> QStatusBar
|
| tabPosition(...)
| tabPosition(self, Qt.DockWidgetArea) -> QTabWidget.TabPosition
|
| tabShape(...)
| tabShape(self) -> QTabWidget.TabShape
|
| tabifiedDockWidgetActivated = <unbound PYQT_SIGNAL tabifiedDockWidgetActivated(QDockWidget*)>
| tabifiedDockWidgets(...)
| tabifiedDockWidgets(self, QDockWidget) -> object
|
| tabifyDockWidget(...)
| tabifyDockWidget(self, QDockWidget, QDockWidget)
|
| tabletEvent(...)
|
| takeCentralWidget(...)
| takeCentralWidget(self) -> QWidget
|
| timerEvent(...)
|
| toolBarArea(...)
| toolBarArea(self, QToolBar) -> Qt.ToolBarArea
|
| toolBarBreak(...)
| toolBarBreak(self, QToolBar) -> bool
|
| toolButtonStyle(...)
| toolButtonStyle(self) -> Qt.ToolButtonStyle
|
| toolButtonStyleChanged = <unbound PYQT_SIGNAL toolButtonStyleChanged(Qt::ToolButtonStyle)>
| unifiedTitleAndToolBarOnMac(...)
| unifiedTitleAndToolBarOnMac(self) -> bool
|
| updateMicroFocus(...)
|
| wheelEvent(...)
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| AllowNestedDocks = 2
|
| AllowTabbedDocks = 4
|
| AnimatedDocks = 1
|
| DockOption = <class 'PyQt5.QtWidgets.QMainWindow.DockOption'>
| int(x=0) -> integer
| int(x, base=10) -> integer
|
| Convert a number or string to an integer, or return 0 if no arguments
| are given. If x is a number, return x.__int__(). For floating point
| numbers, this truncates towards zero.
|
| If x is not a number or if base is given, then x must be a string,
| bytes, or bytearray instance representing an integer literal in the
| given base. The literal can be preceded by '+' or '-' and be surrounded
| by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
| Base 0 means to interpret the base from the string as an integer literal.
| >>> int('0b100', base=0)
| 4
|
| DockOptions = <class 'PyQt5.QtWidgets.DockOptions'>
| QMainWindow.DockOptions()
| QMainWindow.DockOptions(Union[QMainWindow.DockOptions, QMainWindow.DockOption])
| QMainWindow.DockOptions(QMainWindow.DockOptions)
|
| ForceTabbedDocks = 8
|
| GroupedDragging = 32
|
| VerticalTabs = 16
|
| ----------------------------------------------------------------------
| Methods inherited from QWidget:
|
| acceptDrops(...)
| acceptDrops(self) -> bool
|
| accessibleDescription(...)
| accessibleDescription(self) -> str
|
| accessibleName(...)
| accessibleName(self) -> str
|
| actions(...)
| actions(self) -> List[QAction]
|
| activateWindow(...)
| activateWindow(self)
|
| addAction(...)
| addAction(self, QAction)
|
| addActions(...)
| addActions(self, object)
|
| adjustSize(...)
| adjustSize(self)
|
| autoFillBackground(...)
| autoFillBackground(self) -> bool
|
| backgroundRole(...)
| backgroundRole(self) -> QPalette.ColorRole
|
| baseSize(...)
| baseSize(self) -> QSize
|
| childAt(...)
| childAt(self, QPoint) -> QWidget
| childAt(self, int, int) -> QWidget
|
| childrenRect(...)
| childrenRect(self) -> QRect
|
| childrenRegion(...)
| childrenRegion(self) -> QRegion
|
| clearFocus(...)
| clearFocus(self)
|
| clearMask(...)
| clearMask(self)
|
| close(...)
| close(self) -> bool
|
| contentsMargins(...)
| contentsMargins(self) -> QMargins
|
| contentsRect(...)
| contentsRect(self) -> QRect
|
| contextMenuPolicy(...)
| contextMenuPolicy(self) -> Qt.ContextMenuPolicy
|
| createWindowContainer(...)
| createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) -> QWidget
|
| cursor(...)
| cursor(self) -> QCursor
|
| customContextMenuRequested = <unbound PYQT_SIGNAL customContextMenuRequested(QPoint)>
| devType(...)
| devType(self) -> int
|
| effectiveWinId(...)
| effectiveWinId(self) -> sip.voidptr
|
| ensurePolished(...)
| ensurePolished(self)
|
| find(...)
| find(sip.voidptr) -> QWidget
|
| focusPolicy(...)
| focusPolicy(self) -> Qt.FocusPolicy
|
| focusProxy(...)
| focusProxy(self) -> QWidget
|
| focusWidget(...)
| focusWidget(self) -> QWidget
|
| font(...)
| font(self) -> QFont
|
| fontInfo(...)
| fontInfo(self) -> QFontInfo
|
| fontMetrics(...)
| fontMetrics(self) -> QFontMetrics
|
| foregroundRole(...)
| foregroundRole(self) -> QPalette.ColorRole
|
| frameGeometry(...)
| frameGeometry(self) -> QRect
|
| frameSize(...)
| frameSize(self) -> QSize
|
| geometry(...)
| geometry(self) -> QRect
|
| getContentsMargins(...)
| getContentsMargins(self) -> Tuple[int, int, int, int]
|
| grab(...)
| grab(self, rectangle: QRect = QRect(QPoint(0,0),QSize(-1,-1))) -> QPixmap
|
| grabGesture(...)
| grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())
|
| grabKeyboard(...)
| grabKeyboard(self)
|
| grabMouse(...)
| grabMouse(self)
| grabMouse(self, Union[QCursor, Qt.CursorShape])
|
| grabShortcut(...)
| grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) -> int
|
| graphicsEffect(...)
| graphicsEffect(self) -> QGraphicsEffect
|
| graphicsProxyWidget(...)
| graphicsProxyWidget(self) -> QGraphicsProxyWidget
|
| hasFocus(...)
| hasFocus(self) -> bool
|
| hasHeightForWidth(...)
| hasHeightForWidth(self) -> bool
|
| hasMouseTracking(...)
| hasMouseTracking(self) -> bool
|
| height(...)
| height(self) -> int
|
| heightForWidth(...)
| heightForWidth(self, int) -> int
|
| hide(...)
| hide(self)
|
| inputMethodHints(...)
| inputMethodHints(self) -> Qt.InputMethodHints
|
| inputMethodQuery(...)
| inputMethodQuery(self, Qt.InputMethodQuery) -> Any
|
| insertAction(...)
| insertAction(self, QAction, QAction)
|
| insertActions(...)
| insertActions(self, QAction, Iterable[QAction])
|
| isActiveWindow(...)
| isActiveWindow(self) -> bool
|
| isAncestorOf(...)
| isAncestorOf(self, QWidget) -> bool
|
| isEnabled(...)
| isEnabled(self) -> bool
|
| isEnabledTo(...)
| isEnabledTo(self, QWidget) -> bool
|
| isFullScreen(...)
| isFullScreen(self) -> bool
|
| isHidden(...)
| isHidden(self) -> bool
|
| isLeftToRight(...)
| isLeftToRight(self) -> bool
|
| isMaximized(...)
| isMaximized(self) -> bool
|
| isMinimized(...)
| isMinimized(self) -> bool
|
| isModal(...)
| isModal(self) -> bool
|
| isRightToLeft(...)
| isRightToLeft(self) -> bool
|
| isVisible(...)
| isVisible(self) -> bool
|
| isVisibleTo(...)
| isVisibleTo(self, QWidget) -> bool
|
| isWindow(...)
| isWindow(self) -> bool
|
| isWindowModified(...)
| isWindowModified(self) -> bool
|
| keyboardGrabber(...)
| keyboardGrabber() -> QWidget
|
| layout(...)
| layout(self) -> QLayout
|
| layoutDirection(...)
| layoutDirection(self) -> Qt.LayoutDirection
|
| locale(...)
| locale(self) -> QLocale
|
| lower(...)
| lower(self)
|
| mapFrom(...)
| mapFrom(self, QWidget, QPoint) -> QPoint
|
| mapFromGlobal(...)
| mapFromGlobal(self, QPoint) -> QPoint
|
| mapFromParent(...)
| mapFromParent(self, QPoint) -> QPoint
|
| mapTo(...)
| mapTo(self, QWidget, QPoint) -> QPoint
|
| mapToGlobal(...)
| mapToGlobal(self, QPoint) -> QPoint
|
| mapToParent(...)
| mapToParent(self, QPoint) -> QPoint
|
| mask(...)
| mask(self) -> QRegion
|
| maximumHeight(...)
| maximumHeight(self) -> int
|
| maximumSize(...)
| maximumSize(self) -> QSize
|
| maximumWidth(...)
| maximumWidth(self) -> int
|
| minimumHeight(...)
| minimumHeight(self) -> int
|
| minimumSize(...)
| minimumSize(self) -> QSize
|
| minimumSizeHint(...)
| minimumSizeHint(self) -> QSize
|
| minimumWidth(...)
| minimumWidth(self) -> int
|
| mouseGrabber(...)
| mouseGrabber() -> QWidget
|
| move(...)
| move(self, QPoint)
| move(self, int, int)
|
| nativeParentWidget(...)
| nativeParentWidget(self) -> QWidget
|
| nextInFocusChain(...)
| nextInFocusChain(self) -> QWidget
|
| normalGeometry(...)
| normalGeometry(self) -> QRect
|
| overrideWindowFlags(...)
| overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])
|
| overrideWindowState(...)
| overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])
|
| paintEngine(...)
| paintEngine(self) -> QPaintEngine
|
| palette(...)
| palette(self) -> QPalette
|
| parentWidget(...)
| parentWidget(self) -> QWidget
|
| pos(...)
| pos(self) -> QPoint
|
| previousInFocusChain(...)
| previousInFocusChain(self) -> QWidget
|
| raise_(...)
| raise_(self)
|
| rect(...)
| rect(self) -> QRect
|
| releaseKeyboard(...)
| releaseKeyboard(self)
|
| releaseMouse(...)
| releaseMouse(self)
|
| releaseShortcut(...)
| releaseShortcut(self, int)
|
| removeAction(...)
| removeAction(self, QAction)
|
| render(...)
| render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
| render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
|
| repaint(...)
| repaint(self)
| repaint(self, int, int, int, int)
| repaint(self, QRect)
| repaint(self, QRegion)
|
| resize(...)
| resize(self, QSize)
| resize(self, int, int)
|
| restoreGeometry(...)
| restoreGeometry(self, Union[QByteArray, bytes, bytearray]) -> bool
|
| saveGeometry(...)
| saveGeometry(self) -> QByteArray
|
| scroll(...)
| scroll(self, int, int)
| scroll(self, int, int, QRect)
|
| setAcceptDrops(...)
| setAcceptDrops(self, bool)
|
| setAccessibleDescription(...)
| setAccessibleDescription(self, str)
|
| setAccessibleName(...)
| setAccessibleName(self, str)
|
| setAttribute(...)
| setAttribute(self, Qt.WidgetAttribute, on: bool = True)
|
| setAutoFillBackground(...)
| setAutoFillBackground(self, bool)
|
| setBackgroundRole(...)
| setBackgroundRole(self, QPalette.ColorRole)
|
| setBaseSize(...)
| setBaseSize(self, int, int)
| setBaseSize(self, QSize)
|
| setContentsMargins(...)
| setContentsMargins(self, int, int, int, int)
| setContentsMargins(self, QMargins)
|
| setContextMenuPolicy(...)
| setContextMenuPolicy(self, Qt.ContextMenuPolicy)
|
| setCursor(...)
| setCursor(self, Union[QCursor, Qt.CursorShape])
|
| setDisabled(...)
| setDisabled(self, bool)
|
| setEnabled(...)
| setEnabled(self, bool)
|
| setFixedHeight(...)
| setFixedHeight(self, int)
|
| setFixedSize(...)
| setFixedSize(self, QSize)
| setFixedSize(self, int, int)
|
| setFixedWidth(...)
| setFixedWidth(self, int)
|
| setFocus(...)
| setFocus(self)
| setFocus(self, Qt.FocusReason)
|
| setFocusPolicy(...)
| setFocusPolicy(self, Qt.FocusPolicy)
|
| setFocusProxy(...)
| setFocusProxy(self, QWidget)
|
| setFont(...)
| setFont(self, QFont)
|
| setForegroundRole(...)
| setForegroundRole(self, QPalette.ColorRole)
|
| setGeometry(...)
| setGeometry(self, QRect)
| setGeometry(self, int, int, int, int)
|
| setGraphicsEffect(...)
| setGraphicsEffect(self, QGraphicsEffect)
|
| setHidden(...)
| setHidden(self, bool)
|
| setInputMethodHints(...)
| setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])
|
| setLayout(...)
| setLayout(self, QLayout)
|
| setLayoutDirection(...)
| setLayoutDirection(self, Qt.LayoutDirection)
|
| setLocale(...)
| setLocale(self, QLocale)
|
| setMask(...)
| setMask(self, QBitmap)
| setMask(self, QRegion)
|
| setMaximumHeight(...)
| setMaximumHeight(self, int)
|
| setMaximumSize(...)
| setMaximumSize(self, int, int)
| setMaximumSize(self, QSize)
|
| setMaximumWidth(...)
| setMaximumWidth(self, int)
|
| setMinimumHeight(...)
| setMinimumHeight(self, int)
|
| setMinimumSize(...)
| setMinimumSize(self, int, int)
| setMinimumSize(self, QSize)
|
| setMinimumWidth(...)
| setMinimumWidth(self, int)
|
| setMouseTracking(...)
| setMouseTracking(self, bool)
|
| setPalette(...)
| setPalette(self, QPalette)
|
| setParent(...)
| setParent(self, QWidget)
| setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
|
| setShortcutAutoRepeat(...)
| setShortcutAutoRepeat(self, int, enabled: bool = True)
|
| setShortcutEnabled(...)
| setShortcutEnabled(self, int, enabled: bool = True)
|
| setSizeIncrement(...)
| setSizeIncrement(self, int, int)
| setSizeIncrement(self, QSize)
|
| setSizePolicy(...)
| setSizePolicy(self, QSizePolicy)
| setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
|
| setStatusTip(...)
| setStatusTip(self, str)
|
| setStyle(...)
| setStyle(self, QStyle)
|
| setStyleSheet(...)
| setStyleSheet(self, str)
|
| setTabOrder(...)
| setTabOrder(QWidget, QWidget)
|
| setToolTip(...)
| setToolTip(self, str)
|
| setToolTipDuration(...)
| setToolTipDuration(self, int)
|
| setUpdatesEnabled(...)
| setUpdatesEnabled(self, bool)
|
| setVisible(...)
| setVisible(self, bool)
|
| setWhatsThis(...)
| setWhatsThis(self, str)
|
| setWindowFilePath(...)
| setWindowFilePath(self, str)
|
| setWindowFlags(...)
| setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])
|
| setWindowIcon(...)
| setWindowIcon(self, QIcon)
|
| setWindowIconText(...)
| setWindowIconText(self, str)
|
| setWindowModality(...)
| setWindowModality(self, Qt.WindowModality)
|
| setWindowModified(...)
| setWindowModified(self, bool)
|
| setWindowOpacity(...)
| setWindowOpacity(self, float)
|
| setWindowRole(...)
| setWindowRole(self, str)
|
| setWindowState(...)
| setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])
|
| setWindowTitle(...)
| setWindowTitle(self, str)
|
| show(...)
| show(self)
|
| showFullScreen(...)
| showFullScreen(self)
|
| showMaximized(...)
| showMaximized(self)
|
| showMinimized(...)
| showMinimized(self)
|
| showNormal(...)
| showNormal(self)
|
| size(...)
| size(self) -> QSize
|
| sizeHint(...)
| sizeHint(self) -> QSize
|
| sizeIncrement(...)
| sizeIncrement(self) -> QSize
|
| sizePolicy(...)
| sizePolicy(self) -> QSizePolicy
|
| stackUnder(...)
| stackUnder(self, QWidget)
|
| statusTip(...)
| statusTip(self) -> str
|
| style(...)
| style(self) -> QStyle
|
| styleSheet(...)
| styleSheet(self) -> str
|
| testAttribute(...)
| testAttribute(self, Qt.WidgetAttribute) -> bool
|
| toolTip(...)
| toolTip(self) -> str
|
| toolTipDuration(...)
| toolTipDuration(self) -> int
|
| underMouse(...)
| underMouse(self) -> bool
|
| ungrabGesture(...)
| ungrabGesture(self, Qt.GestureType)
|
| unsetCursor(...)
| unsetCursor(self)
|
| unsetLayoutDirection(...)
| unsetLayoutDirection(self)
|
| unsetLocale(...)
| unsetLocale(self)
|
| update(...)
| update(self)
| update(self, QRect)
| update(self, QRegion)
| update(self, int, int, int, int)
|
| updateGeometry(...)
| updateGeometry(self)
|
| updatesEnabled(...)
| updatesEnabled(self) -> bool
|
| visibleRegion(...)
| visibleRegion(self) -> QRegion
|
| whatsThis(...)
| whatsThis(self) -> str
|
| width(...)
| width(self) -> int
|
| winId(...)
| winId(self) -> sip.voidptr
|
| window(...)
| window(self) -> QWidget
|
| windowFilePath(...)
| windowFilePath(self) -> str
|
| windowFlags(...)
| windowFlags(self) -> Qt.WindowFlags
|
| windowHandle(...)
| windowHandle(self) -> QWindow
|
| windowIcon(...)
| windowIcon(self) -> QIcon
|
| windowIconChanged = <unbound PYQT_SIGNAL windowIconChanged(QIcon)>
| windowIconText(...)
| windowIconText(self) -> str
|
| windowIconTextChanged = <unbound PYQT_SIGNAL windowIconTextChanged(QString)>
| windowModality(...)
| windowModality(self) -> Qt.WindowModality
|
| windowOpacity(...)
| windowOpacity(self) -> float
|
| windowRole(...)
| windowRole(self) -> str
|
| windowState(...)
| windowState(self) -> Qt.WindowStates
|
| windowTitle(...)
| windowTitle(self) -> str
|
| windowTitleChanged = <unbound PYQT_SIGNAL windowTitleChanged(QString)>
| windowType(...)
| windowType(self) -> Qt.WindowType
|
| x(...)
| x(self) -> int
|
| y(...)
| y(self) -> int
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from QWidget:
|
| DrawChildren = 2
|
| DrawWindowBackground = 1
|
| IgnoreMask = 4
|
| RenderFlag = <class 'PyQt5.QtWidgets.QWidget.RenderFlag'>
| int(x=0) -> integer
| int(x, base=10) -> integer
|
| Convert a number or string to an integer, or return 0 if no arguments
| are given. If x is a number, return x.__int__(). For floating point
| numbers, this truncates towards zero.
|
| If x is not a number or if base is given, then x must be a string,
| bytes, or bytearray instance representing an integer literal in the
| given base. The literal can be preceded by '+' or '-' and be surrounded
| by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
| Base 0 means to interpret the base from the string as an integer literal.
| >>> int('0b100', base=0)
| 4
|
| RenderFlags = <class 'PyQt5.QtWidgets.RenderFlags'>
| QWidget.RenderFlags()
| QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag])
| QWidget.RenderFlags(QWidget.RenderFlags)
|
| ----------------------------------------------------------------------
| Methods inherited from PyQt5.QtCore.QObject:
|
| __getattr__(...)
| __getattr__(self, str) -> object
|
| blockSignals(...)
| blockSignals(self, bool) -> bool
|
| children(...)
| children(self) -> object
|
| deleteLater(...)
| deleteLater(self)
|
| destroyed = <unbound PYQT_SIGNAL destroyed(QObject*)>
| disconnect(...)
| disconnect(self)
|
| dumpObjectInfo(...)
| dumpObjectInfo(self)
|
| dumpObjectTree(...)
| dumpObjectTree(self)
|
| dynamicPropertyNames(...)
| dynamicPropertyNames(self) -> object
|
| eventFilter(...)
| eventFilter(self, QObject, QEvent) -> bool
|
| findChild(...)
| findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
| findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
|
| findChildren(...)
| findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
| findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
| findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
| findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
| findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
| findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
|
| inherits(...)
| inherits(self, str) -> bool
|
| installEventFilter(...)
| installEventFilter(self, QObject)
|
| isWidgetType(...)
| isWidgetType(self) -> bool
|
| isWindowType(...)
| isWindowType(self) -> bool
|
| killTimer(...)
| killTimer(self, int)
|
| metaObject(...)
| metaObject(self) -> QMetaObject
|
| moveToThread(...)
| moveToThread(self, QThread)
|
| objectName(...)
| objectName(self) -> str
|
| objectNameChanged = <unbound PYQT_SIGNAL objectNameChanged(QString)>
| parent(...)
| parent(self) -> QObject
|
| property(...)
| property(self, str) -> Any
|
| pyqtConfigure(...)
| QObject.pyqtConfigure(...)
|
| Each keyword argument is either the name of a Qt property or a Qt signal.
| For properties the property is set to the given value which should be of an
| appropriate type.
| For signals the signal is connected to the given value which should be a
| callable.
|
| removeEventFilter(...)
| removeEventFilter(self, QObject)
|
| setObjectName(...)
| setObjectName(self, str)
|
| setProperty(...)
| setProperty(self, str, Any) -> bool
|
| signalsBlocked(...)
| signalsBlocked(self) -> bool
|
| startTimer(...)
| startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) -> int
|
| thread(...)
| thread(self) -> QThread
|
| tr(...)
| tr(self, str, disambiguation: str = None, n: int = -1) -> str
|
| ----------------------------------------------------------------------
| Data descriptors inherited from PyQt5.QtCore.QObject:
|
| __weakref__
| list of weak references to the object (if defined)
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from PyQt5.QtCore.QObject:
|
| staticMetaObject = <PyQt5.QtCore.QMetaObject object>
|
| ----------------------------------------------------------------------
| Methods inherited from PyQt5.QtGui.QPaintDevice:
|
| colorCount(...)
| colorCount(self) -> int
|
| depth(...)
| depth(self) -> int
|
| devicePixelRatio(...)
| devicePixelRatio(self) -> int
|
| devicePixelRatioF(...)
| devicePixelRatioF(self) -> float
|
| devicePixelRatioFScale(...)
| devicePixelRatioFScale() -> float
|
| heightMM(...)
| heightMM(self) -> int
|
| logicalDpiX(...)
| logicalDpiX(self) -> int
|
| logicalDpiY(...)
| logicalDpiY(self) -> int
|
| paintingActive(...)
| paintingActive(self) -> bool
|
| physicalDpiX(...)
| physicalDpiX(self) -> int
|
| physicalDpiY(...)
| physicalDpiY(self) -> int
|
| widthMM(...)
| widthMM(self) -> int
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from PyQt5.QtGui.QPaintDevice:
|
| PaintDeviceMetric = <class 'PyQt5.QtGui.QPaintDevice.PaintDeviceMetric...
| int(x=0) -> integer
| int(x, base=10) -> integer
|
| Convert a number or string to an integer, or return 0 if no arguments
| are given. If x is a number, return x.__int__(). For floating point
| numbers, this truncates towards zero.
|
| If x is not a number or if base is given, then x must be a string,
| bytes, or bytearray instance representing an integer literal in the
| given base. The literal can be preceded by '+' or '-' and be surrounded
| by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
| Base 0 means to interpret the base from the string as an integer literal.
| >>> int('0b100', base=0)
| 4
|
| PdmDepth = 6
|
| PdmDevicePixelRatio = 11
|
| PdmDevicePixelRatioScaled = 12
|
| PdmDpiX = 7
|
| PdmDpiY = 8
|
| PdmHeight = 2
|
| PdmHeightMM = 4
|
| PdmNumColors = 5
|
| PdmPhysicalDpiX = 9
|
| PdmPhysicalDpiY = 10
|
| PdmWidth = 1
|
| PdmWidthMM = 3
|
| ----------------------------------------------------------------------
| Methods inherited from sip.simplewrapper:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| __new__(*args, **kwargs) from sip.wrappertype
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from sip.simplewrapper:
|
| __dict__
QMainWindow class的更多相关文章
- 在QMainWindow中利用多个QDockWidget构成标签页tab(原创)
功能描述: 在QMainWindow下,使用多个QDockWidget构成可切换,可拖动,可关闭的标签页:标签页的切换由相关联的QAction触发. 实现效果: 代码如下: QDockWidget * ...
- QDialog QMainwindow QWidget QFrame不同时候用法.
继承关系:在Qt中所有的类都有一个共同的基类QObject ,QWidget直接继承与QPaintDevice类,QDialog.QMainWindow.QFrame直接继承QWidget 类. ...
- [转载] - QWidget、QMainWindow、QDialog和QFrame的区别
继承关系:在Qt中所有的类都有一个共同的基类QObject ,QWidget直接继承与QPaintDevice类,QDialog.QMainWindow.QFrame直接继承QWidget 类. ...
- QMainWindow的setLayout的问题
因为QMainWindow有自己的layout,所以需要一个QWidget,然后setCentralWidget,给这个QWidget调用setLayout http://stackoverflow. ...
- QT中QWidget、QDialog QMainWindow
继承关系:在Qt中所有的类都有一个共同的基类QObject ,QWidget直接继承与QPaintDevice类,QDialog.QMainWindow.QFrame直接继承QWidget 类. QW ...
- 【转】QT中QWidget、QDialog及QMainWindow的区别
QWidget类是所有用户界面对象的基类. 窗口部件是用户界面的一个基本单元:它从窗口系统接收鼠标.键盘和其它事件,并且在屏幕上绘制自己.每一个窗口部件都是矩形的,并且它们按Z轴顺序排列.一个窗口部件 ...
- 【Qt】QWidget、QDialog、QMainWindow的异同点【转】
简述 在分享所有基础知识之前,很有必要在这里介绍下常用的窗口-QWidget.QDialog.QMainWindow. 熟悉Qt的同学都应该知道,在新建Qt Widgets项目进行类信息选择时会碰到它 ...
- QWidget、QDialog、QMainWindow的异同点
简述 在分享所有基础知识之前,很有必要在这里介绍下常用的窗口 - QWidget.QDialog.QMainWindow. QWidget继承于QObject和QPaintDevice,QDialog ...
- 让QMainWindow也表现出QDialog的exec函数的特征
前几天在做毕业设计项目的时候,使用的PyQt4,想实现这么样一个功能: 场景描述:主窗口a(QMainWindow类型)和主窗口b(QMainWindow),b是通过a窗口中某一个按钮弹出来的. 功能 ...
- QWidget QMainWindow QDialog 三者区别
Qt类是一个提供所需的像全局变量一样的大量不同的标识符的命名空间.通常情况下,你可以忽略这个类.QObject和一些其它类继承了它,所以在这个Qt命名空间中定义的所有标识符通常情况下都可以无限制的使用 ...
随机推荐
- WebSocket整合SSM(Spring,Struts2,Maven)
一.WebSocket与HTTP长轮询 WebSocket 属于HTML5 规范的一部分,提供的一种在单个 TCP 连接上进行全双工通讯的协议.允许服务端主动向客户端推送数据.在 WebSocket ...
- 在macos上基于python2.7安装PyQt5
在python3上面安装PyQt5是十分简单的,可是,在python2.7上安装这个东西,着实让人折腾了一把.要总结一下,年纪大了,记性不好. 首先要安装最新版的Qt和python2,命令如下: br ...
- linux日常服务器部署一些命令使用
今天公司的开发环境的linux服务器,我要了一个账号来玩玩 拿到账号和密码,我就用xshell登陆上去 1.查看已挂载的分区列表 df -h 显示已经挂载的分区列表 2.查看目录中的文件 ls 查看目 ...
- 死磕 java集合之ConcurrentSkipListMap源码分析——发现个bug
前情提要 点击链接查看"跳表"详细介绍. 拜托,面试别再问我跳表了! 简介 跳表是一个随机化的数据结构,实质就是一种可以进行二分查找的有序链表. 跳表在原有的有序链表上面增加了多级 ...
- 《深入理解Java虚拟机》-----第3章 垃圾收集器与内存分配策略
Java与C++之间有一堵由内存动态分配和垃圾收集技术所围成的“高墙”,墙外面的人想进去,墙里面的人却想出来. 3.1 概述 说起垃圾收集(Garbage Collection,GC),大部分人都把这 ...
- HTTP 内容编码,也就这 2 点需要知道 | 实用 HTTP
Hi,大家好,我是承香墨影! HTTP 协议在网络知识中占据了重要的地位,HTTP 协议最基础的就是请求和响应的报文,而报文又是由报文头(Header)和实体组成.大多数 Http 协议的使用方式,都 ...
- ConfirmCancelUtilDialog【确认取消对话框封装类】
版权声明:本文为HaiyuKing原创文章,转载请注明出处! 前言 对确认取消对话框的封装. 前提:调用对话框的Activity必须继承FragmentActivity及其子类(比如AppCompat ...
- SmartSql 介绍
介绍 SmartSql = MyBatis + Cache(Memory | Redis) + R/W Splitting +Dynamic Repository + Diagnostics .... ...
- springboot情操陶冶-web配置(九)
承接前文springboot情操陶冶-web配置(八),本文在前文的基础上深入了解下WebSecurity类的运作逻辑 WebSecurityConfigurerAdapter 在剖析WebSecur ...
- 【Javascript】JS的异步操作,浏览器的多线程间的协作
遇到的问题,引发了思考 今天看了一个例子,强烈引发了我对于浏览器多线程之间的操作机制.同步与异步.回调函数的兴致,代码如下: <html> <head> <title&g ...