KLayout 0.29.8 (2024-11-26 926dac96c) [master]

API reference - Class QMdiArea

Notation used in Ruby API documentation

Module: QtWidgets

Description: Binding of QMdiArea

Class hierarchy: QMdiArea » QAbstractScrollArea » QFrame » QWidget » QObject

Sub-classes: AreaOption, QFlags_AreaOption, ViewMode, QFlags_ViewMode, WindowOrder, QFlags_WindowOrder

Public constructors

new QMdiAreanew(QWidget ptr parent = nullptr)Constructor QMdiArea::QMdiArea(QWidget *parent)

Public methods

[const]QMdiArea ptr_const_castReturns a non-const reference to self.
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
voidactivateNextSubWindowMethod void QMdiArea::activateNextSubWindow()
voidactivatePreviousSubWindowMethod void QMdiArea::activatePreviousSubWindow()
[const]QMdiArea_WindowOrderactivationOrderMethod QMdiArea::WindowOrder QMdiArea::activationOrder()
voidactivationOrder=(const QMdiArea_WindowOrder order)Method void QMdiArea::setActivationOrder(QMdiArea::WindowOrder order)
[const]QMdiSubWindow ptractiveSubWindowMethod QMdiSubWindow *QMdiArea::activeSubWindow()
voidactiveSubWindow=(QMdiSubWindow ptr window)Method void QMdiArea::setActiveSubWindow(QMdiSubWindow *window)
QMdiSubWindow ptraddSubWindow(QWidget ptr widget,
Qt_QFlags_WindowType flags = Qt::WindowFlags())
Method QMdiSubWindow *QMdiArea::addSubWindow(QWidget *widget, QFlags<Qt::WindowType> flags)
[const]QBrushbackgroundMethod QBrush QMdiArea::background()
voidbackground=(const QBrush background)Method void QMdiArea::setBackground(const QBrush &background)
voidcascadeSubWindowsMethod void QMdiArea::cascadeSubWindows()
voidcloseActiveSubWindowMethod void QMdiArea::closeActiveSubWindow()
voidcloseAllSubWindowsMethod void QMdiArea::closeAllSubWindows()
[const]QMdiSubWindow ptrcurrentSubWindowMethod QMdiSubWindow *QMdiArea::currentSubWindow()
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QMdiArea::customContextMenuRequested(const QPoint &pos)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QMdiArea::destroyed(QObject *)
[const]booldocumentModeMethod bool QMdiArea::documentMode()
voiddocumentMode=(bool enabled)Method void QMdiArea::setDocumentMode(bool enabled)
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QMdiArea::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = nullptr)Emitter for signal void QMdiArea::destroyed(QObject *)
voidemit_objectNameChanged(string objectName)Emitter for signal void QMdiArea::objectNameChanged(const QString &objectName)
voidemit_subWindowActivated(QMdiSubWindow ptr arg1)Emitter for signal void QMdiArea::subWindowActivated(QMdiSubWindow *)
voidemit_windowIconChanged(const QIcon icon)Emitter for signal void QMdiArea::windowIconChanged(const QIcon &icon)
voidemit_windowIconTextChanged(string iconText)Emitter for signal void QMdiArea::windowIconTextChanged(const QString &iconText)
voidemit_windowTitleChanged(string title)Emitter for signal void QMdiArea::windowTitleChanged(const QString &title)
[const]boolhasHeightForWidthVirtual method bool QMdiArea::hasHeightForWidth()
[const]intheightForWidth(int arg1)Virtual method int QMdiArea::heightForWidth(int)
[const]variantinputMethodQuery(const Qt_InputMethodQuery arg1)Virtual method QVariant QMdiArea::inputMethodQuery(Qt::InputMethodQuery)
[const]QSizeminimumSizeHintVirtual method QSize QMdiArea::minimumSizeHint()
[signal]voidobjectNameChanged(string objectName)Signal declaration for QMdiArea::objectNameChanged(const QString &objectName)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QMdiArea::paintEngine()
voidremoveSubWindow(QWidget ptr widget)Method void QMdiArea::removeSubWindow(QWidget *widget)
voidsetActivationOrder(const QMdiArea_WindowOrder order)Method void QMdiArea::setActivationOrder(QMdiArea::WindowOrder order)
voidsetActiveSubWindow(QMdiSubWindow ptr window)Method void QMdiArea::setActiveSubWindow(QMdiSubWindow *window)
voidsetBackground(const QBrush background)Method void QMdiArea::setBackground(const QBrush &background)
voidsetDocumentMode(bool enabled)Method void QMdiArea::setDocumentMode(bool enabled)
voidsetOption(const QMdiArea_AreaOption option,
bool on = true)
Method void QMdiArea::setOption(QMdiArea::AreaOption option, bool on)
voidsetTabPosition(const QTabWidget_TabPosition position)Method void QMdiArea::setTabPosition(QTabWidget::TabPosition position)
voidsetTabShape(const QTabWidget_TabShape shape)Method void QMdiArea::setTabShape(QTabWidget::TabShape shape)
voidsetTabsClosable(bool closable)Method void QMdiArea::setTabsClosable(bool closable)
voidsetTabsMovable(bool movable)Method void QMdiArea::setTabsMovable(bool movable)
voidsetViewMode(const QMdiArea_ViewMode mode)Method void QMdiArea::setViewMode(QMdiArea::ViewMode mode)
voidsetVisible(bool visible)Virtual method void QMdiArea::setVisible(bool visible)
[const]QSizesizeHintVirtual method QSize QMdiArea::sizeHint()
[signal]voidsubWindowActivated(QMdiSubWindow ptr arg1)Signal declaration for QMdiArea::subWindowActivated(QMdiSubWindow *)
[const]QMdiSubWindow ptr[]subWindowList(const QMdiArea_WindowOrder order = QMdiArea::CreationOrder)Method QList<QMdiSubWindow *> QMdiArea::subWindowList(QMdiArea::WindowOrder order)
[const]QTabWidget_TabPositiontabPositionMethod QTabWidget::TabPosition QMdiArea::tabPosition()
voidtabPosition=(const QTabWidget_TabPosition position)Method void QMdiArea::setTabPosition(QTabWidget::TabPosition position)
[const]QTabWidget_TabShapetabShapeMethod QTabWidget::TabShape QMdiArea::tabShape()
voidtabShape=(const QTabWidget_TabShape shape)Method void QMdiArea::setTabShape(QTabWidget::TabShape shape)
[const]booltabsClosableMethod bool QMdiArea::tabsClosable()
voidtabsClosable=(bool closable)Method void QMdiArea::setTabsClosable(bool closable)
[const]booltabsMovableMethod bool QMdiArea::tabsMovable()
voidtabsMovable=(bool movable)Method void QMdiArea::setTabsMovable(bool movable)
[const]booltestOption(const QMdiArea_AreaOption opton)Method bool QMdiArea::testOption(QMdiArea::AreaOption opton)
voidtileSubWindowsMethod void QMdiArea::tileSubWindows()
[const]QMdiArea_ViewModeviewModeMethod QMdiArea::ViewMode QMdiArea::viewMode()
voidviewMode=(const QMdiArea_ViewMode mode)Method void QMdiArea::setViewMode(QMdiArea::ViewMode mode)
[signal]voidwindowIconChanged(const QIcon icon)Signal declaration for QMdiArea::windowIconChanged(const QIcon &icon)
[signal]voidwindowIconTextChanged(string iconText)Signal declaration for QMdiArea::windowIconTextChanged(const QString &iconText)
[signal]voidwindowTitleChanged(string title)Signal declaration for QMdiArea::windowTitleChanged(const QString &title)

Public static methods and constants

[static,const]QMdiArea_WindowOrderActivationHistoryOrderEnum constant QMdiArea::ActivationHistoryOrder
[static,const]QMdiArea_WindowOrderCreationOrderEnum constant QMdiArea::CreationOrder
[static,const]QMdiArea_AreaOptionDontMaximizeSubWindowOnActivationEnum constant QMdiArea::DontMaximizeSubWindowOnActivation
[static,const]QMdiArea_WindowOrderStackingOrderEnum constant QMdiArea::StackingOrder
[static,const]QMdiArea_ViewModeSubWindowViewEnum constant QMdiArea::SubWindowView
[static,const]QMdiArea_ViewModeTabbedViewEnum constant QMdiArea::TabbedView
QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = nullptr,
int n = -1)
Static method QString QMdiArea::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = nullptr,
int n = -1)
Static method QString QMdiArea::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidactionEvent(QActionEvent ptr event)Virtual method void QMdiArea::actionEvent(QActionEvent *event)
voidchangeEvent(QEvent ptr arg1)Virtual method void QMdiArea::changeEvent(QEvent *)
voidchildEvent(QChildEvent ptr childEvent)Virtual method void QMdiArea::childEvent(QChildEvent *childEvent)
voidcloseEvent(QCloseEvent ptr event)Virtual method void QMdiArea::closeEvent(QCloseEvent *event)
voidcontextMenuEvent(QContextMenuEvent ptr arg1)Virtual method void QMdiArea::contextMenuEvent(QContextMenuEvent *)
voidcreate(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QMdiArea::create(WId, bool initializeWindow, bool destroyOldWindow)
voidcustomEvent(QEvent ptr event)Virtual method void QMdiArea::customEvent(QEvent *event)
voiddestroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QMdiArea::destroy(bool destroyWindow, bool destroySubWindows)
voiddisconnectNotify(const QMetaMethod signal)Virtual method void QMdiArea::disconnectNotify(const QMetaMethod &signal)
voiddragEnterEvent(QDragEnterEvent ptr arg1)Virtual method void QMdiArea::dragEnterEvent(QDragEnterEvent *)
voiddragLeaveEvent(QDragLeaveEvent ptr arg1)Virtual method void QMdiArea::dragLeaveEvent(QDragLeaveEvent *)
voiddragMoveEvent(QDragMoveEvent ptr arg1)Virtual method void QMdiArea::dragMoveEvent(QDragMoveEvent *)
voiddrawFrame(QPainter ptr arg1)Method void QMdiArea::drawFrame(QPainter *)
voiddropEvent(QDropEvent ptr arg1)Virtual method void QMdiArea::dropEvent(QDropEvent *)
voidenterEvent(QEvent ptr event)Virtual method void QMdiArea::enterEvent(QEvent *event)
boolevent(QEvent ptr event)Virtual method bool QMdiArea::event(QEvent *event)
booleventFilter(QObject ptr object,
QEvent ptr event)
Virtual method bool QMdiArea::eventFilter(QObject *object, QEvent *event)
voidfocusInEvent(QFocusEvent ptr event)Virtual method void QMdiArea::focusInEvent(QFocusEvent *event)
boolfocusNextChildMethod bool QMdiArea::focusNextChild()
boolfocusNextPrevChild(bool next)Virtual method bool QMdiArea::focusNextPrevChild(bool next)
voidfocusOutEvent(QFocusEvent ptr event)Virtual method void QMdiArea::focusOutEvent(QFocusEvent *event)
boolfocusPreviousChildMethod bool QMdiArea::focusPreviousChild()
voidhideEvent(QHideEvent ptr event)Virtual method void QMdiArea::hideEvent(QHideEvent *event)
[const]voidinitPainter(QPainter ptr painter)Virtual method void QMdiArea::initPainter(QPainter *painter)
[const]voidinitStyleOption(QStyleOptionFrame ptr option)Method void QMdiArea::initStyleOption(QStyleOptionFrame *option)
voidinputMethodEvent(QInputMethodEvent ptr arg1)Virtual method void QMdiArea::inputMethodEvent(QInputMethodEvent *)
[const]boolisSignalConnected(const QMetaMethod signal)Method bool QMdiArea::isSignalConnected(const QMetaMethod &signal)
voidkeyPressEvent(QKeyEvent ptr arg1)Virtual method void QMdiArea::keyPressEvent(QKeyEvent *)
voidkeyReleaseEvent(QKeyEvent ptr event)Virtual method void QMdiArea::keyReleaseEvent(QKeyEvent *event)
voidleaveEvent(QEvent ptr event)Virtual method void QMdiArea::leaveEvent(QEvent *event)
[const]intmetric(const QPaintDevice_PaintDeviceMetric arg1)Virtual method int QMdiArea::metric(QPaintDevice::PaintDeviceMetric)
voidmouseDoubleClickEvent(QMouseEvent ptr arg1)Virtual method void QMdiArea::mouseDoubleClickEvent(QMouseEvent *)
voidmouseMoveEvent(QMouseEvent ptr arg1)Virtual method void QMdiArea::mouseMoveEvent(QMouseEvent *)
voidmousePressEvent(QMouseEvent ptr arg1)Virtual method void QMdiArea::mousePressEvent(QMouseEvent *)
voidmouseReleaseEvent(QMouseEvent ptr arg1)Virtual method void QMdiArea::mouseReleaseEvent(QMouseEvent *)
voidmoveEvent(QMoveEvent ptr event)Virtual method void QMdiArea::moveEvent(QMoveEvent *event)
boolnativeEvent(bytes eventType,
void * message,
long ptr result)
Virtual method bool QMdiArea::nativeEvent(const QByteArray &eventType, void *message, long int *result)
voidpaintEvent(QPaintEvent ptr paintEvent)Virtual method void QMdiArea::paintEvent(QPaintEvent *paintEvent)
voidqt_create(unsigned long long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QMdiArea::create(WId, bool initializeWindow, bool destroyOldWindow)
voidqt_destroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QMdiArea::destroy(bool destroyWindow, bool destroySubWindows)
[const]intreceivers(string signal)Method int QMdiArea::receivers(const char *signal)
[const]QPaintDevice ptrredirected(QPoint ptr offset)Virtual method QPaintDevice *QMdiArea::redirected(QPoint *offset)
voidresizeEvent(QResizeEvent ptr resizeEvent)Virtual method void QMdiArea::resizeEvent(QResizeEvent *resizeEvent)
voidscrollContentsBy(int dx,
int dy)
Virtual method void QMdiArea::scrollContentsBy(int dx, int dy)
[const]QObject ptrsenderMethod QObject *QMdiArea::sender()
[const]intsenderSignalIndexMethod int QMdiArea::senderSignalIndex()
voidsetViewportMargins(int left,
int top,
int right,
int bottom)
Method void QMdiArea::setViewportMargins(int left, int top, int right, int bottom)
voidsetViewportMargins(const QMargins margins)Method void QMdiArea::setViewportMargins(const QMargins &margins)
voidsetupViewport(QWidget ptr viewport)Virtual method void QMdiArea::setupViewport(QWidget *viewport)
[const]QPainter ptrsharedPainterVirtual method QPainter *QMdiArea::sharedPainter()
voidshowEvent(QShowEvent ptr showEvent)Virtual method void QMdiArea::showEvent(QShowEvent *showEvent)
voidtabletEvent(QTabletEvent ptr event)Virtual method void QMdiArea::tabletEvent(QTabletEvent *event)
voidtimerEvent(QTimerEvent ptr timerEvent)Virtual method void QMdiArea::timerEvent(QTimerEvent *timerEvent)
voidupdateMicroFocusMethod void QMdiArea::updateMicroFocus()
boolviewportEvent(QEvent ptr event)Virtual method bool QMdiArea::viewportEvent(QEvent *event)
[const]QMarginsviewportMarginsMethod QMargins QMdiArea::viewportMargins()
[const]QSizeviewportSizeHintVirtual method QSize QMdiArea::viewportSizeHint()
voidwheelEvent(QWheelEvent ptr arg1)Virtual method void QMdiArea::wheelEvent(QWheelEvent *)

Detailed description

ActivationHistoryOrder

Signature: [static,const] QMdiArea_WindowOrder ActivationHistoryOrder

Description: Enum constant QMdiArea::ActivationHistoryOrder

Python specific notes:
The object exposes a readable attribute 'ActivationHistoryOrder'. This is the getter.

CreationOrder

Signature: [static,const] QMdiArea_WindowOrder CreationOrder

Description: Enum constant QMdiArea::CreationOrder

Python specific notes:
The object exposes a readable attribute 'CreationOrder'. This is the getter.

DontMaximizeSubWindowOnActivation

Signature: [static,const] QMdiArea_AreaOption DontMaximizeSubWindowOnActivation

Description: Enum constant QMdiArea::DontMaximizeSubWindowOnActivation

Python specific notes:
The object exposes a readable attribute 'DontMaximizeSubWindowOnActivation'. This is the getter.

StackingOrder

Signature: [static,const] QMdiArea_WindowOrder StackingOrder

Description: Enum constant QMdiArea::StackingOrder

Python specific notes:
The object exposes a readable attribute 'StackingOrder'. This is the getter.

SubWindowView

Signature: [static,const] QMdiArea_ViewMode SubWindowView

Description: Enum constant QMdiArea::SubWindowView

Python specific notes:
The object exposes a readable attribute 'SubWindowView'. This is the getter.

TabbedView

Signature: [static,const] QMdiArea_ViewMode TabbedView

Description: Enum constant QMdiArea::TabbedView

Python specific notes:
The object exposes a readable attribute 'TabbedView'. This is the getter.

_const_cast

Signature: [const] QMdiArea ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

actionEvent

Signature: void actionEvent (QActionEvent ptr event)

Description: Virtual method void QMdiArea::actionEvent(QActionEvent *event)

This method can be reimplemented in a derived class.

activateNextSubWindow

Signature: void activateNextSubWindow

Description: Method void QMdiArea::activateNextSubWindow()

activatePreviousSubWindow

Signature: void activatePreviousSubWindow

Description: Method void QMdiArea::activatePreviousSubWindow()

activationOrder

Signature: [const] QMdiArea_WindowOrder activationOrder

Description: Method QMdiArea::WindowOrder QMdiArea::activationOrder()

Python specific notes:
The object exposes a readable attribute 'activationOrder'. This is the getter.

activationOrder=

Signature: void activationOrder= (const QMdiArea_WindowOrder order)

Description: Method void QMdiArea::setActivationOrder(QMdiArea::WindowOrder order)

Python specific notes:
The object exposes a writable attribute 'activationOrder'. This is the setter.

activeSubWindow

Signature: [const] QMdiSubWindow ptr activeSubWindow

Description: Method QMdiSubWindow *QMdiArea::activeSubWindow()

Python specific notes:
The object exposes a readable attribute 'activeSubWindow'. This is the getter.

activeSubWindow=

Signature: void activeSubWindow= (QMdiSubWindow ptr window)

Description: Method void QMdiArea::setActiveSubWindow(QMdiSubWindow *window)

Python specific notes:
The object exposes a writable attribute 'activeSubWindow'. This is the setter.

addSubWindow

Signature: QMdiSubWindow ptr addSubWindow (QWidget ptr widget, Qt_QFlags_WindowType flags = Qt::WindowFlags())

Description: Method QMdiSubWindow *QMdiArea::addSubWindow(QWidget *widget, QFlags<Qt::WindowType> flags)

background

Signature: [const] QBrush background

Description: Method QBrush QMdiArea::background()

Python specific notes:
The object exposes a readable attribute 'background'. This is the getter.

background=

Signature: void background= (const QBrush background)

Description: Method void QMdiArea::setBackground(const QBrush &background)

Python specific notes:
The object exposes a writable attribute 'background'. This is the setter.

cascadeSubWindows

Signature: void cascadeSubWindows

Description: Method void QMdiArea::cascadeSubWindows()

changeEvent

Signature: void changeEvent (QEvent ptr arg1)

Description: Virtual method void QMdiArea::changeEvent(QEvent *)

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr childEvent)

Description: Virtual method void QMdiArea::childEvent(QChildEvent *childEvent)

This method can be reimplemented in a derived class.

closeActiveSubWindow

Signature: void closeActiveSubWindow

Description: Method void QMdiArea::closeActiveSubWindow()

closeAllSubWindows

Signature: void closeAllSubWindows

Description: Method void QMdiArea::closeAllSubWindows()

closeEvent

Signature: void closeEvent (QCloseEvent ptr event)

Description: Virtual method void QMdiArea::closeEvent(QCloseEvent *event)

This method can be reimplemented in a derived class.

contextMenuEvent

Signature: void contextMenuEvent (QContextMenuEvent ptr arg1)

Description: Virtual method void QMdiArea::contextMenuEvent(QContextMenuEvent *)

This method can be reimplemented in a derived class.

create

Signature: void create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QMdiArea::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

currentSubWindow

Signature: [const] QMdiSubWindow ptr currentSubWindow

Description: Method QMdiSubWindow *QMdiArea::currentSubWindow()

customContextMenuRequested

Signature: [signal] void customContextMenuRequested (const QPoint pos)

Description: Signal declaration for QMdiArea::customContextMenuRequested(const QPoint &pos)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'customContextMenuRequested'. This is the getter.
The object exposes a writable attribute 'customContextMenuRequested'. This is the setter.

customEvent

Signature: void customEvent (QEvent ptr event)

Description: Virtual method void QMdiArea::customEvent(QEvent *event)

This method can be reimplemented in a derived class.

destroy

Signature: void destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QMdiArea::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

destroyed

Signature: [signal] void destroyed (QObject ptr arg1)

Description: Signal declaration for QMdiArea::destroyed(QObject *)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'destroyed'. This is the getter.
The object exposes a writable attribute 'destroyed'. This is the setter.

disconnectNotify

Signature: void disconnectNotify (const QMetaMethod signal)

Description: Virtual method void QMdiArea::disconnectNotify(const QMetaMethod &signal)

This method can be reimplemented in a derived class.

documentMode

Signature: [const] bool documentMode

Description: Method bool QMdiArea::documentMode()

Python specific notes:
The object exposes a readable attribute 'documentMode'. This is the getter.

documentMode=

Signature: void documentMode= (bool enabled)

Description: Method void QMdiArea::setDocumentMode(bool enabled)

Python specific notes:
The object exposes a writable attribute 'documentMode'. This is the setter.

dragEnterEvent

Signature: void dragEnterEvent (QDragEnterEvent ptr arg1)

Description: Virtual method void QMdiArea::dragEnterEvent(QDragEnterEvent *)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr arg1)

Description: Virtual method void QMdiArea::dragLeaveEvent(QDragLeaveEvent *)

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr arg1)

Description: Virtual method void QMdiArea::dragMoveEvent(QDragMoveEvent *)

This method can be reimplemented in a derived class.

drawFrame

Signature: void drawFrame (QPainter ptr arg1)

Description: Method void QMdiArea::drawFrame(QPainter *)

This method is protected and can only be called from inside a derived class.

dropEvent

Signature: void dropEvent (QDropEvent ptr arg1)

Description: Virtual method void QMdiArea::dropEvent(QDropEvent *)

This method can be reimplemented in a derived class.

emit_customContextMenuRequested

Signature: void emit_customContextMenuRequested (const QPoint pos)

Description: Emitter for signal void QMdiArea::customContextMenuRequested(const QPoint &pos)

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = nullptr)

Description: Emitter for signal void QMdiArea::destroyed(QObject *)

Call this method to emit this signal.

emit_objectNameChanged

Signature: void emit_objectNameChanged (string objectName)

Description: Emitter for signal void QMdiArea::objectNameChanged(const QString &objectName)

Call this method to emit this signal.

emit_subWindowActivated

Signature: void emit_subWindowActivated (QMdiSubWindow ptr arg1)

Description: Emitter for signal void QMdiArea::subWindowActivated(QMdiSubWindow *)

Call this method to emit this signal.

emit_windowIconChanged

Signature: void emit_windowIconChanged (const QIcon icon)

Description: Emitter for signal void QMdiArea::windowIconChanged(const QIcon &icon)

Call this method to emit this signal.

emit_windowIconTextChanged

Signature: void emit_windowIconTextChanged (string iconText)

Description: Emitter for signal void QMdiArea::windowIconTextChanged(const QString &iconText)

Call this method to emit this signal.

emit_windowTitleChanged

Signature: void emit_windowTitleChanged (string title)

Description: Emitter for signal void QMdiArea::windowTitleChanged(const QString &title)

Call this method to emit this signal.

enterEvent

Signature: void enterEvent (QEvent ptr event)

Description: Virtual method void QMdiArea::enterEvent(QEvent *event)

This method can be reimplemented in a derived class.

event

Signature: bool event (QEvent ptr event)

Description: Virtual method bool QMdiArea::event(QEvent *event)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr object, QEvent ptr event)

Description: Virtual method bool QMdiArea::eventFilter(QObject *object, QEvent *event)

This method can be reimplemented in a derived class.

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr event)

Description: Virtual method void QMdiArea::focusInEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

Description: Method bool QMdiArea::focusNextChild()

This method is protected and can only be called from inside a derived class.

focusNextPrevChild

Signature: bool focusNextPrevChild (bool next)

Description: Virtual method bool QMdiArea::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr event)

Description: Virtual method void QMdiArea::focusOutEvent(QFocusEvent *event)

This method can be reimplemented in a derived class.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QMdiArea::focusPreviousChild()

This method is protected and can only be called from inside a derived class.

hasHeightForWidth

Signature: [const] bool hasHeightForWidth

Description: Virtual method bool QMdiArea::hasHeightForWidth()

This method can be reimplemented in a derived class.

heightForWidth

Signature: [const] int heightForWidth (int arg1)

Description: Virtual method int QMdiArea::heightForWidth(int)

This method can be reimplemented in a derived class.

hideEvent

Signature: void hideEvent (QHideEvent ptr event)

Description: Virtual method void QMdiArea::hideEvent(QHideEvent *event)

This method can be reimplemented in a derived class.

initPainter

Signature: [const] void initPainter (QPainter ptr painter)

Description: Virtual method void QMdiArea::initPainter(QPainter *painter)

This method can be reimplemented in a derived class.

initStyleOption

Signature: [const] void initStyleOption (QStyleOptionFrame ptr option)

Description: Method void QMdiArea::initStyleOption(QStyleOptionFrame *option)

This method is protected and can only be called from inside a derived class.

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr arg1)

Description: Virtual method void QMdiArea::inputMethodEvent(QInputMethodEvent *)

This method can be reimplemented in a derived class.

inputMethodQuery

Signature: [const] variant inputMethodQuery (const Qt_InputMethodQuery arg1)

Description: Virtual method QVariant QMdiArea::inputMethodQuery(Qt::InputMethodQuery)

This method can be reimplemented in a derived class.

isSignalConnected

Signature: [const] bool isSignalConnected (const QMetaMethod signal)

Description: Method bool QMdiArea::isSignalConnected(const QMetaMethod &signal)

This method is protected and can only be called from inside a derived class.

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr arg1)

Description: Virtual method void QMdiArea::keyPressEvent(QKeyEvent *)

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr event)

Description: Virtual method void QMdiArea::keyReleaseEvent(QKeyEvent *event)

This method can be reimplemented in a derived class.

leaveEvent

Signature: void leaveEvent (QEvent ptr event)

Description: Virtual method void QMdiArea::leaveEvent(QEvent *event)

This method can be reimplemented in a derived class.

metric

Signature: [const] int metric (const QPaintDevice_PaintDeviceMetric arg1)

Description: Virtual method int QMdiArea::metric(QPaintDevice::PaintDeviceMetric)

This method can be reimplemented in a derived class.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QMdiArea::minimumSizeHint()

This method can be reimplemented in a derived class.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr arg1)

Description: Virtual method void QMdiArea::mouseDoubleClickEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr arg1)

Description: Virtual method void QMdiArea::mouseMoveEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr arg1)

Description: Virtual method void QMdiArea::mousePressEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr arg1)

Description: Virtual method void QMdiArea::mouseReleaseEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

moveEvent

Signature: void moveEvent (QMoveEvent ptr event)

Description: Virtual method void QMdiArea::moveEvent(QMoveEvent *event)

This method can be reimplemented in a derived class.

nativeEvent

Signature: bool nativeEvent (bytes eventType, void * message, long ptr result)

Description: Virtual method bool QMdiArea::nativeEvent(const QByteArray &eventType, void *message, long int *result)

This method can be reimplemented in a derived class.

new

Signature: [static] new QMdiArea new (QWidget ptr parent = nullptr)

Description: Constructor QMdiArea::QMdiArea(QWidget *parent)

This method creates an object of class QMdiArea.

Python specific notes:
This method is the default initializer of the object.

objectNameChanged

Signature: [signal] void objectNameChanged (string objectName)

Description: Signal declaration for QMdiArea::objectNameChanged(const QString &objectName)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'objectNameChanged'. This is the getter.
The object exposes a writable attribute 'objectNameChanged'. This is the setter.

paintEngine

Signature: [const] QPaintEngine ptr paintEngine

Description: Virtual method QPaintEngine *QMdiArea::paintEngine()

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr paintEvent)

Description: Virtual method void QMdiArea::paintEvent(QPaintEvent *paintEvent)

This method can be reimplemented in a derived class.

qt_create

Signature: void qt_create (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QMdiArea::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

qt_destroy

Signature: void qt_destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QMdiArea::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

receivers

Signature: [const] int receivers (string signal)

Description: Method int QMdiArea::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

redirected

Signature: [const] QPaintDevice ptr redirected (QPoint ptr offset)

Description: Virtual method QPaintDevice *QMdiArea::redirected(QPoint *offset)

This method can be reimplemented in a derived class.

removeSubWindow

Signature: void removeSubWindow (QWidget ptr widget)

Description: Method void QMdiArea::removeSubWindow(QWidget *widget)

resizeEvent

Signature: void resizeEvent (QResizeEvent ptr resizeEvent)

Description: Virtual method void QMdiArea::resizeEvent(QResizeEvent *resizeEvent)

This method can be reimplemented in a derived class.

scrollContentsBy

Signature: void scrollContentsBy (int dx, int dy)

Description: Virtual method void QMdiArea::scrollContentsBy(int dx, int dy)

This method can be reimplemented in a derived class.

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QMdiArea::sender()

This method is protected and can only be called from inside a derived class.

senderSignalIndex

Signature: [const] int senderSignalIndex

Description: Method int QMdiArea::senderSignalIndex()

This method is protected and can only be called from inside a derived class.

setActivationOrder

Signature: void setActivationOrder (const QMdiArea_WindowOrder order)

Description: Method void QMdiArea::setActivationOrder(QMdiArea::WindowOrder order)

Python specific notes:
The object exposes a writable attribute 'activationOrder'. This is the setter.

setActiveSubWindow

Signature: void setActiveSubWindow (QMdiSubWindow ptr window)

Description: Method void QMdiArea::setActiveSubWindow(QMdiSubWindow *window)

Python specific notes:
The object exposes a writable attribute 'activeSubWindow'. This is the setter.

setBackground

Signature: void setBackground (const QBrush background)

Description: Method void QMdiArea::setBackground(const QBrush &background)

Python specific notes:
The object exposes a writable attribute 'background'. This is the setter.

setDocumentMode

Signature: void setDocumentMode (bool enabled)

Description: Method void QMdiArea::setDocumentMode(bool enabled)

Python specific notes:
The object exposes a writable attribute 'documentMode'. This is the setter.

setOption

Signature: void setOption (const QMdiArea_AreaOption option, bool on = true)

Description: Method void QMdiArea::setOption(QMdiArea::AreaOption option, bool on)

setTabPosition

Signature: void setTabPosition (const QTabWidget_TabPosition position)

Description: Method void QMdiArea::setTabPosition(QTabWidget::TabPosition position)

Python specific notes:
The object exposes a writable attribute 'tabPosition'. This is the setter.

setTabShape

Signature: void setTabShape (const QTabWidget_TabShape shape)

Description: Method void QMdiArea::setTabShape(QTabWidget::TabShape shape)

Python specific notes:
The object exposes a writable attribute 'tabShape'. This is the setter.

setTabsClosable

Signature: void setTabsClosable (bool closable)

Description: Method void QMdiArea::setTabsClosable(bool closable)

Python specific notes:
The object exposes a writable attribute 'tabsClosable'. This is the setter.

setTabsMovable

Signature: void setTabsMovable (bool movable)

Description: Method void QMdiArea::setTabsMovable(bool movable)

Python specific notes:
The object exposes a writable attribute 'tabsMovable'. This is the setter.

setViewMode

Signature: void setViewMode (const QMdiArea_ViewMode mode)

Description: Method void QMdiArea::setViewMode(QMdiArea::ViewMode mode)

Python specific notes:
The object exposes a writable attribute 'viewMode'. This is the setter.

setViewportMargins

(1) Signature: void setViewportMargins (int left, int top, int right, int bottom)

Description: Method void QMdiArea::setViewportMargins(int left, int top, int right, int bottom)

This method is protected and can only be called from inside a derived class.

(2) Signature: void setViewportMargins (const QMargins margins)

Description: Method void QMdiArea::setViewportMargins(const QMargins &margins)

This method is protected and can only be called from inside a derived class.

setVisible

Signature: void setVisible (bool visible)

Description: Virtual method void QMdiArea::setVisible(bool visible)

This method can be reimplemented in a derived class.

setupViewport

Signature: void setupViewport (QWidget ptr viewport)

Description: Virtual method void QMdiArea::setupViewport(QWidget *viewport)

This method can be reimplemented in a derived class.

sharedPainter

Signature: [const] QPainter ptr sharedPainter

Description: Virtual method QPainter *QMdiArea::sharedPainter()

This method can be reimplemented in a derived class.

showEvent

Signature: void showEvent (QShowEvent ptr showEvent)

Description: Virtual method void QMdiArea::showEvent(QShowEvent *showEvent)

This method can be reimplemented in a derived class.

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QMdiArea::sizeHint()

This method can be reimplemented in a derived class.

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

subWindowActivated

Signature: [signal] void subWindowActivated (QMdiSubWindow ptr arg1)

Description: Signal declaration for QMdiArea::subWindowActivated(QMdiSubWindow *)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'subWindowActivated'. This is the getter.
The object exposes a writable attribute 'subWindowActivated'. This is the setter.

subWindowList

Signature: [const] QMdiSubWindow ptr[] subWindowList (const QMdiArea_WindowOrder order = QMdiArea::CreationOrder)

Description: Method QList<QMdiSubWindow *> QMdiArea::subWindowList(QMdiArea::WindowOrder order)

tabPosition

Signature: [const] QTabWidget_TabPosition tabPosition

Description: Method QTabWidget::TabPosition QMdiArea::tabPosition()

Python specific notes:
The object exposes a readable attribute 'tabPosition'. This is the getter.

tabPosition=

Signature: void tabPosition= (const QTabWidget_TabPosition position)

Description: Method void QMdiArea::setTabPosition(QTabWidget::TabPosition position)

Python specific notes:
The object exposes a writable attribute 'tabPosition'. This is the setter.

tabShape

Signature: [const] QTabWidget_TabShape tabShape

Description: Method QTabWidget::TabShape QMdiArea::tabShape()

Python specific notes:
The object exposes a readable attribute 'tabShape'. This is the getter.

tabShape=

Signature: void tabShape= (const QTabWidget_TabShape shape)

Description: Method void QMdiArea::setTabShape(QTabWidget::TabShape shape)

Python specific notes:
The object exposes a writable attribute 'tabShape'. This is the setter.

tabletEvent

Signature: void tabletEvent (QTabletEvent ptr event)

Description: Virtual method void QMdiArea::tabletEvent(QTabletEvent *event)

This method can be reimplemented in a derived class.

tabsClosable

Signature: [const] bool tabsClosable

Description: Method bool QMdiArea::tabsClosable()

Python specific notes:
The object exposes a readable attribute 'tabsClosable'. This is the getter.

tabsClosable=

Signature: void tabsClosable= (bool closable)

Description: Method void QMdiArea::setTabsClosable(bool closable)

Python specific notes:
The object exposes a writable attribute 'tabsClosable'. This is the setter.

tabsMovable

Signature: [const] bool tabsMovable

Description: Method bool QMdiArea::tabsMovable()

Python specific notes:
The object exposes a readable attribute 'tabsMovable'. This is the getter.

tabsMovable=

Signature: void tabsMovable= (bool movable)

Description: Method void QMdiArea::setTabsMovable(bool movable)

Python specific notes:
The object exposes a writable attribute 'tabsMovable'. This is the setter.

testOption

Signature: [const] bool testOption (const QMdiArea_AreaOption opton)

Description: Method bool QMdiArea::testOption(QMdiArea::AreaOption opton)

tileSubWindows

Signature: void tileSubWindows

Description: Method void QMdiArea::tileSubWindows()

timerEvent

Signature: void timerEvent (QTimerEvent ptr timerEvent)

Description: Virtual method void QMdiArea::timerEvent(QTimerEvent *timerEvent)

This method can be reimplemented in a derived class.

tr

Signature: [static] string tr (string s, string c = nullptr, int n = -1)

Description: Static method QString QMdiArea::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1)

Description: Static method QString QMdiArea::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QMdiArea::updateMicroFocus()

This method is protected and can only be called from inside a derived class.

viewMode

Signature: [const] QMdiArea_ViewMode viewMode

Description: Method QMdiArea::ViewMode QMdiArea::viewMode()

Python specific notes:
The object exposes a readable attribute 'viewMode'. This is the getter.

viewMode=

Signature: void viewMode= (const QMdiArea_ViewMode mode)

Description: Method void QMdiArea::setViewMode(QMdiArea::ViewMode mode)

Python specific notes:
The object exposes a writable attribute 'viewMode'. This is the setter.

viewportEvent

Signature: bool viewportEvent (QEvent ptr event)

Description: Virtual method bool QMdiArea::viewportEvent(QEvent *event)

This method can be reimplemented in a derived class.

viewportMargins

Signature: [const] QMargins viewportMargins

Description: Method QMargins QMdiArea::viewportMargins()

This method is protected and can only be called from inside a derived class.

viewportSizeHint

Signature: [const] QSize viewportSizeHint

Description: Virtual method QSize QMdiArea::viewportSizeHint()

This method can be reimplemented in a derived class.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr arg1)

Description: Virtual method void QMdiArea::wheelEvent(QWheelEvent *)

This method can be reimplemented in a derived class.

windowIconChanged

Signature: [signal] void windowIconChanged (const QIcon icon)

Description: Signal declaration for QMdiArea::windowIconChanged(const QIcon &icon)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconChanged'. This is the getter.
The object exposes a writable attribute 'windowIconChanged'. This is the setter.

windowIconTextChanged

Signature: [signal] void windowIconTextChanged (string iconText)

Description: Signal declaration for QMdiArea::windowIconTextChanged(const QString &iconText)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowIconTextChanged'. This is the getter.
The object exposes a writable attribute 'windowIconTextChanged'. This is the setter.

windowTitleChanged

Signature: [signal] void windowTitleChanged (string title)

Description: Signal declaration for QMdiArea::windowTitleChanged(const QString &title)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'windowTitleChanged'. This is the getter.
The object exposes a writable attribute 'windowTitleChanged'. This is the setter.