Skip to content

PythonQt.QtGui.QMdiSubWindow · declarations 001

Back to PythonQt.QtGui.QMdiSubWindow

AllowOutsideAreaHorizontally instance-attribute

AllowOutsideAreaHorizontally: Any

AllowOutsideAreaVertically instance-attribute

AllowOutsideAreaVertically: Any

RubberBandMove instance-attribute

RubberBandMove: Any

RubberBandResize instance-attribute

RubberBandResize: Any

SubWindowOption instance-attribute

SubWindowOption: type

int([x]) -> 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

SubWindowOptions instance-attribute

SubWindowOptions: type

int([x]) -> 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

aboutToActivate

aboutToActivate(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QMdiSubWindow.aboutToActivate; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QMdiSubWindow::aboutToActivate()

QMdiSubWindow emits this signal immediately before it is activated. After the subwindow has been activated, the QMdiArea that manages the subwindow will also emit the subWindowActivated() signal.

See also QMdiArea::subWindowActivated().

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#aboutToActivate

changeEvent

changeEvent(changeEvent: Any) -> None

X.changeEvent(changeEvent)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMdiSubWindow::changeEvent(QEvent *changeEvent)

Reimplements: QWidget::changeEvent(QEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

changeEvent(self, changeEvent: PySide2.QtCore.QEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#changeEvent

childEvent

childEvent(childEvent: Any) -> None

X.childEvent(childEvent)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMdiSubWindow::childEvent(QChildEvent *childEvent)

Reimplements: QObject::childEvent(QChildEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

childEvent(self, childEvent: PySide2.QtCore.QChildEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#childEvent

closeEvent

closeEvent(closeEvent: Any) -> None

X.closeEvent(closeEvent)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMdiSubWindow::closeEvent(QCloseEvent *closeEvent)

Reimplements: QWidget::closeEvent(QCloseEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

closeEvent(self, closeEvent: PySide2.QtGui.QCloseEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#closeEvent

contextMenuEvent

contextMenuEvent(contextMenuEvent: Any) -> None

X.contextMenuEvent(contextMenuEvent)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMdiSubWindow::contextMenuEvent(QContextMenuEvent *contextMenuEvent)

Reimplements: QWidget::contextMenuEvent(QContextMenuEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

contextMenuEvent(self, contextMenuEvent: PySide2.QtGui.QContextMenuEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#contextMenuEvent

customContextMenuRequested

customContextMenuRequested(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QMdiSubWindow.customContextMenuRequested; argument details are not documented.

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QMdiSubWindow.destroyed; argument details are not documented.

event

event(event: Any) -> bool

X.event(event) -> bool

Supplemental documentation: Qt 5 reference:

[override virtual protected] bool QMdiSubWindow::event(QEvent *event)

Reimplements: QWidget::event(QEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

event(self, event: PySide2.QtCore.QEvent) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#event

eventFilter

eventFilter(object: Any, event: Any) -> bool

X.eventFilter(object, event) -> bool

Supplemental documentation: Qt 5 reference:

[override virtual protected] bool QMdiSubWindow::eventFilter(QObject *object, QEvent *event)

Reimplements: QObject::eventFilter(QObject *watched, QEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

eventFilter(self, object: PySide2.QtCore.QObject, event: PySide2.QtCore.QEvent) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#eventFilter

focusInEvent

focusInEvent(focusInEvent: Any) -> None

X.focusInEvent(focusInEvent)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMdiSubWindow::focusInEvent(QFocusEvent *focusInEvent)

Reimplements: QWidget::focusInEvent(QFocusEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

focusInEvent(self, focusInEvent: PySide2.QtGui.QFocusEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#focusInEvent

focusOutEvent

focusOutEvent(focusOutEvent: Any) -> None

X.focusOutEvent(focusOutEvent)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMdiSubWindow::focusOutEvent(QFocusEvent *focusOutEvent)

Reimplements: QWidget::focusOutEvent(QFocusEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

focusOutEvent(self, focusOutEvent: PySide2.QtGui.QFocusEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#focusOutEvent

hideEvent

hideEvent(hideEvent: Any) -> None

X.hideEvent(hideEvent)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMdiSubWindow::hideEvent(QHideEvent *hideEvent)

Reimplements: QWidget::hideEvent(QHideEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

hideEvent(self, hideEvent: PySide2.QtGui.QHideEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#hideEvent

isShaded

isShaded() -> bool

X.isShaded() -> bool

Supplemental documentation: Qt 5 reference:

bool QMdiSubWindow::isShaded() const

Returns true if this window is shaded; otherwise returns false.

A window is shaded if it is collapsed so that only the title bar is visible.

Upstream PySide2 reference signatures (binding differences may apply):

isShaded(self) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#isShaded

keyPressEvent

keyPressEvent(keyEvent: Any) -> None

X.keyPressEvent(keyEvent)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMdiSubWindow::keyPressEvent(QKeyEvent *keyEvent)

Reimplements: QWidget::keyPressEvent(QKeyEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

keyPressEvent(self, keyEvent: PySide2.QtGui.QKeyEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#keyPressEvent

keyboardPageStep instance-attribute

keyboardPageStep: int

Qt 5 reference:

keyboardPageStep : int

sets how far a widget should move or resize when using the keyboard page keys.

When in keyboard-interactive mode, you can use the arrow and page keys to either move or resize the window. This property controls the page keys. The common way to enter keyboard interactive mode is to enter the subwindow menu, and select either "resize" or "move".

The default keyboard page step value is 20 pixels.

Access functions:

int keyboardPageStep() const
void setKeyboardPageStep(int step)

See also keyboardSingleStep.

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#keyboardPageStep

keyboardSingleStep instance-attribute

keyboardSingleStep: int

Qt 5 reference:

keyboardSingleStep : int

sets how far a widget should move or resize when using the keyboard arrow keys.

When in keyboard-interactive mode, you can use the arrow and page keys to either move or resize the window. This property controls the arrow keys. The common way to enter keyboard interactive mode is to enter the subwindow menu, and select either "resize" or "move".

The default keyboard single step value is 5 pixels.

Access functions:

int keyboardSingleStep() const
void setKeyboardSingleStep(int step)

See also keyboardPageStep.

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#keyboardSingleStep

leaveEvent

leaveEvent(leaveEvent: Any) -> None

X.leaveEvent(leaveEvent)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMdiSubWindow::leaveEvent(QEvent *leaveEvent)

Reimplements: QWidget::leaveEvent(QEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

leaveEvent(self, leaveEvent: PySide2.QtCore.QEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#leaveEvent

maximizedButtonsWidget

maximizedButtonsWidget() -> Any

X.maximizedButtonsWidget() -> PythonQt.QtGui.QWidget

Upstream PySide2 reference signatures (binding differences may apply):

maximizedButtonsWidget(self) -> PySide2.QtWidgets.QWidget

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#maximizedButtonsWidget

maximizedSystemMenuIconWidget

maximizedSystemMenuIconWidget() -> Any

X.maximizedSystemMenuIconWidget() -> PythonQt.QtGui.QWidget

Upstream PySide2 reference signatures (binding differences may apply):

maximizedSystemMenuIconWidget(self) -> PySide2.QtWidgets.QWidget

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#maximizedSystemMenuIconWidget

mdiArea

mdiArea() -> Any

X.mdiArea() -> PythonQt.QtGui.QMdiArea

Supplemental documentation: Qt 5 reference:

QMdiArea *QMdiSubWindow::mdiArea() const

Returns the area containing this sub-window, or nullptr if there is none.

This function was introduced in Qt 4.4.

See also QMdiArea::addSubWindow().

Upstream PySide2 reference signatures (binding differences may apply):

mdiArea(self) -> PySide2.QtWidgets.QMdiArea

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#mdiArea

minimumSizeHint instance-attribute

minimumSizeHint: QSize

Qt 5 reference:

[override virtual] QSize QMdiSubWindow::minimumSizeHint() const

Reimplements an access function for property: QWidget::minimumSizeHint.

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#minimumSizeHint

mouseDoubleClickEvent

mouseDoubleClickEvent(mouseEvent: Any) -> None

X.mouseDoubleClickEvent(mouseEvent)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMdiSubWindow::mouseDoubleClickEvent(QMouseEvent *mouseEvent)

Reimplements: QWidget::mouseDoubleClickEvent(QMouseEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

mouseDoubleClickEvent(self, mouseEvent: PySide2.QtGui.QMouseEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#mouseDoubleClickEvent

mouseMoveEvent

mouseMoveEvent(mouseEvent: Any) -> None

X.mouseMoveEvent(mouseEvent)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMdiSubWindow::mouseMoveEvent(QMouseEvent *mouseEvent)

Reimplements: QWidget::mouseMoveEvent(QMouseEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

mouseMoveEvent(self, mouseEvent: PySide2.QtGui.QMouseEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#mouseMoveEvent

mousePressEvent

mousePressEvent(mouseEvent: Any) -> None

X.mousePressEvent(mouseEvent)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMdiSubWindow::mousePressEvent(QMouseEvent *mouseEvent)

Reimplements: QWidget::mousePressEvent(QMouseEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

mousePressEvent(self, mouseEvent: PySide2.QtGui.QMouseEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#mousePressEvent

mouseReleaseEvent

mouseReleaseEvent(mouseEvent: Any) -> None

X.mouseReleaseEvent(mouseEvent)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMdiSubWindow::mouseReleaseEvent(QMouseEvent *mouseEvent)

Reimplements: QWidget::mouseReleaseEvent(QMouseEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

mouseReleaseEvent(self, mouseEvent: PySide2.QtGui.QMouseEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#mouseReleaseEvent

moveEvent

moveEvent(moveEvent: Any) -> None

X.moveEvent(moveEvent)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMdiSubWindow::moveEvent(QMoveEvent *moveEvent)

Reimplements: QWidget::moveEvent(QMoveEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

moveEvent(self, moveEvent: PySide2.QtGui.QMoveEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#moveEvent

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QMdiSubWindow.objectNameChanged; argument details are not documented.

paintEvent

paintEvent(paintEvent: Any) -> None

X.paintEvent(paintEvent)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMdiSubWindow::paintEvent(QPaintEvent *paintEvent)

Reimplements: QWidget::paintEvent(QPaintEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

paintEvent(self, paintEvent: PySide2.QtGui.QPaintEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#paintEvent

resizeEvent

resizeEvent(resizeEvent: Any) -> None

X.resizeEvent(resizeEvent)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMdiSubWindow::resizeEvent(QResizeEvent *resizeEvent)

Reimplements: QWidget::resizeEvent(QResizeEvent *event).

Warning: When maximizing or restoring a subwindow, the resulting call to this function may have an invalid QResizeEvent::oldSize().

Upstream PySide2 reference signatures (binding differences may apply):

resizeEvent(self, resizeEvent: PySide2.QtGui.QResizeEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#resizeEvent

setKeyboardPageStep

setKeyboardPageStep(step: int) -> None

X.setKeyboardPageStep(step)

Upstream PySide2 reference signatures (binding differences may apply):

setKeyboardPageStep(self, step: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#setKeyboardPageStep

setKeyboardSingleStep

setKeyboardSingleStep(step: int) -> None

X.setKeyboardSingleStep(step)

Upstream PySide2 reference signatures (binding differences may apply):

setKeyboardSingleStep(self, step: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#setKeyboardSingleStep

setOption

setOption(option: Any, on: bool) -> None

X.setOption(option, on)

Supplemental documentation: Qt 5 reference:

void QMdiSubWindow::setOption(QMdiSubWindow::SubWindowOption option, bool on \= true)

If on is true, option is enabled on the subwindow; otherwise it is disabled. See SubWindowOption for the effect of each option.

See also SubWindowOption and testOption().

Upstream PySide2 reference signatures (binding differences may apply):

setOption(self, option: PySide2.QtWidgets.QMdiSubWindow.SubWindowOption, on: bool=...) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#setOption

setSystemMenu

setSystemMenu(systemMenu: Any) -> None

X.setSystemMenu(systemMenu)

Supplemental documentation: Qt 5 reference:

void QMdiSubWindow::setSystemMenu(QMenu *systemMenu)

Sets systemMenu as the current system menu for this subwindow.

By default, each QMdiSubWindow has a standard system menu.

QActions for the system menu created by QMdiSubWindow will automatically be updated depending on the current window state; e.g., the minimize action will be disabled after the window is minimized.

QActions added by the user are not updated by QMdiSubWindow.

QMdiSubWindow takes ownership of systemMenu; you do not have to delete it. Any existing menus will be deleted.

See also systemMenu() and showSystemMenu().

Upstream PySide2 reference signatures (binding differences may apply):

setSystemMenu(self, systemMenu: PySide2.QtWidgets.QMenu) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#setSystemMenu

setWidget

setWidget(widget: Any) -> None

X.setWidget(widget)

Supplemental documentation: Qt 5 reference:

void QMdiSubWindow::setWidget(QWidget *widget)

Sets widget as the internal widget of this subwindow. The internal widget is displayed in the center of the subwindow beneath the title bar.

QMdiSubWindow takes temporary ownership of widget; you do not have to delete it. Any existing internal widget will be removed and reparented to the root window.

See also widget().

Upstream PySide2 reference signatures (binding differences may apply):

setWidget(self, widget: PySide2.QtWidgets.QWidget) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdisubwindow.html#setWidget