Skip to content

PythonQt.QtGui.QMdiArea · declarations 002

Back to PythonQt.QtGui.QMdiArea

setActiveSubWindow

setActiveSubWindow(window: Any) -> None

X.setActiveSubWindow(window)

Supplemental documentation: Qt 5 reference:

[slot] void QMdiArea::setActiveSubWindow(QMdiSubWindow *window)

Activates the subwindow window. If window is nullptr, any current active window is deactivated.

See also activeSubWindow().

Upstream PySide2 reference signatures (binding differences may apply):

setActiveSubWindow(self, window: PySide2.QtWidgets.QMdiSubWindow) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#setActiveSubWindow

setBackground

setBackground(background: Any) -> None

X.setBackground(background)

Upstream PySide2 reference signatures (binding differences may apply):

setBackground(self, background: PySide2.QtGui.QBrush) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#setBackground

setDocumentMode

setDocumentMode(enabled: bool) -> None

X.setDocumentMode(enabled)

Upstream PySide2 reference signatures (binding differences may apply):

setDocumentMode(self, enabled: bool) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#setDocumentMode

setOption

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

X.setOption(option, on)

Supplemental documentation: Qt 5 reference:

void QMdiArea::setOption(QMdiArea::AreaOption option, bool on \= true)

If on is true, option is enabled on the MDI area; otherwise it is disabled. See AreaOption for the effect of each option.

See also AreaOption and testOption().

Upstream PySide2 reference signatures (binding differences may apply):

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

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

setTabPosition

setTabPosition(position: Any) -> None

X.setTabPosition(position)

Upstream PySide2 reference signatures (binding differences may apply):

setTabPosition(self, position: PySide2.QtWidgets.QTabWidget.TabPosition) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#setTabPosition

setTabShape

setTabShape(shape: Any) -> None

X.setTabShape(shape)

Upstream PySide2 reference signatures (binding differences may apply):

setTabShape(self, shape: PySide2.QtWidgets.QTabWidget.TabShape) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#setTabShape

setTabsClosable

setTabsClosable(closable: bool) -> None

X.setTabsClosable(closable)

Upstream PySide2 reference signatures (binding differences may apply):

setTabsClosable(self, closable: bool) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#setTabsClosable

setTabsMovable

setTabsMovable(movable: bool) -> None

X.setTabsMovable(movable)

Upstream PySide2 reference signatures (binding differences may apply):

setTabsMovable(self, movable: bool) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#setTabsMovable

setViewMode

setViewMode(mode: Any) -> None

X.setViewMode(mode)

Upstream PySide2 reference signatures (binding differences may apply):

setViewMode(self, mode: PySide2.QtWidgets.QMdiArea.ViewMode) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#setViewMode

setupViewport

setupViewport(viewport: Any) -> None

X.setupViewport(viewport)

Supplemental documentation: Qt 5 reference:

[override virtual protected slot] void QMdiArea::setupViewport(QWidget *viewport)

Reimplements: QAbstractScrollArea::setupViewport(QWidget *viewport).

This slot is called by QAbstractScrollArea after setViewport() has been called. Reimplement this function in a subclass of QMdiArea to initialize the new viewport before it is used.

See also setViewport().

Upstream PySide2 reference signatures (binding differences may apply):

setupViewport(self, viewport: PySide2.QtWidgets.QWidget) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#setupViewport

showEvent

showEvent(showEvent: Any) -> None

X.showEvent(showEvent)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMdiArea::showEvent(QShowEvent *showEvent)

Reimplements: QWidget::showEvent(QShowEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

showEvent(self, showEvent: PySide2.QtGui.QShowEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#showEvent

sizeHint instance-attribute

sizeHint: QSize

Qt 5 reference:

[override virtual] QSize QMdiArea::sizeHint() const

Reimplements: QAbstractScrollArea::sizeHint() const.

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#sizeHint

subWindowActivated

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

Native PythonQt.QtGui.QMdiArea.subWindowActivated; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QMdiArea::subWindowActivated(QMdiSubWindow *window)

QMdiArea emits this signal after window has been activated. When window is nullptr, QMdiArea has just deactivated its last active window, and there are no active windows on the workspace.

See also QMdiArea::activeSubWindow().

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#subWindowActivated

subWindowList

subWindowList(order: Any) -> tuple

X.subWindowList(order) -> tuple

Supplemental documentation: Qt 5 reference:

QList\<QMdiSubWindow *> QMdiArea::subWindowList(QMdiArea::WindowOrder order \= CreationOrder) const

Returns a list of all subwindows in the MDI area. If order is CreationOrder (the default), the windows are sorted in the order in which they were inserted into the workspace. If order is StackingOrder, the windows are listed in their stacking order, with the topmost window as the last item in the list. If order is ActivationHistoryOrder, the windows are listed according to their recent activation history.

See also WindowOrder.

Upstream PySide2 reference signatures (binding differences may apply):

subWindowList(self, order: PySide2.QtWidgets.QMdiArea.WindowOrder=...) -> typing.List[PySide2.QtWidgets.QMdiSubWindow]

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#subWindowList

tabPosition instance-attribute

tabPosition: Any

Qt 5 reference:

tabPosition : QTabWidget::TabPosition

This property holds the position of the tabs in tabbed view mode.

Possible values for this property are described by the QTabWidget::TabPosition enum.

This property was introduced in Qt 4.4.

Access functions:

QTabWidget::TabPosition tabPosition() const
void setTabPosition(QTabWidget::TabPosition position)

See also QTabWidget::TabPosition and setViewMode().

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#tabPosition

tabShape instance-attribute

tabShape: Any

Qt 5 reference:

tabShape : QTabWidget::TabShape

This property holds the shape of the tabs in tabbed view mode.

Possible values for this property are QTabWidget::Rounded (default) or QTabWidget::Triangular.

This property was introduced in Qt 4.4.

Access functions:

QTabWidget::TabShape tabShape() const
void setTabShape(QTabWidget::TabShape shape)

See also QTabWidget::TabShape and setViewMode().

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#tabShape

tabsClosable instance-attribute

tabsClosable: bool

Qt 5 reference:

tabsClosable : bool

This property holds whether the tab bar should place close buttons on each tab in tabbed view mode.

Tabs are not closable by default.

This property was introduced in Qt 4.8.

Access functions:

bool tabsClosable() const
void setTabsClosable(bool closable)

See also QTabBar::tabsClosable and setViewMode().

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#tabsClosable

tabsMovable instance-attribute

tabsMovable: bool

Qt 5 reference:

tabsMovable : bool

This property holds whether the user can move the tabs within the tabbar area in tabbed view mode.

Tabs are not movable by default.

This property was introduced in Qt 4.8.

Access functions:

bool tabsMovable() const
void setTabsMovable(bool movable)

See also QTabBar::movable and setViewMode().

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#tabsMovable

testOption

testOption(opton: Any) -> bool

X.testOption(opton) -> bool

Supplemental documentation: Qt 5 reference:

bool QMdiArea::testOption(QMdiArea::AreaOption option) const

Returns true if option is enabled; otherwise returns false.

See also AreaOption and setOption().

Upstream PySide2 reference signatures (binding differences may apply):

testOption(self, opton: PySide2.QtWidgets.QMdiArea.AreaOption) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#testOption

tileSubWindows

tileSubWindows() -> None

X.tileSubWindows()

Supplemental documentation: Qt 5 reference:

[slot] void QMdiArea::tileSubWindows()

Arranges all child windows in a tile pattern.

See also cascadeSubWindows().

Upstream PySide2 reference signatures (binding differences may apply):

tileSubWindows(self) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#tileSubWindows

timerEvent

timerEvent(timerEvent: Any) -> None

X.timerEvent(timerEvent)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QMdiArea::timerEvent(QTimerEvent *timerEvent)

Reimplements: QObject::timerEvent(QTimerEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

timerEvent(self, timerEvent: PySide2.QtCore.QTimerEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#timerEvent

viewMode instance-attribute

viewMode: Any

Qt 5 reference:

viewMode : ViewMode

This property holds the way sub-windows are displayed in the QMdiArea.

By default, the SubWindowView is used to display sub-windows.

This property was introduced in Qt 4.4.

Access functions:

QMdiArea::ViewMode viewMode() const
void setViewMode(QMdiArea::ViewMode mode)

See also ViewMode, setTabShape(), and setTabPosition().

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#viewMode

viewportEvent

viewportEvent(event: Any) -> bool

X.viewportEvent(event) -> bool

Supplemental documentation: Qt 5 reference:

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

Reimplements: QAbstractScrollArea::viewportEvent(QEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

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

Source: https://doc.qt.io/archives/qt-5.15/qmdiarea.html#viewportEvent

windowIconChanged

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

Native PythonQt.QtGui.QMdiArea.windowIconChanged; argument details are not documented.

windowIconTextChanged

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

Native PythonQt.QtGui.QMdiArea.windowIconTextChanged; argument details are not documented.

windowTitleChanged

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

Native PythonQt.QtGui.QMdiArea.windowTitleChanged; argument details are not documented.