KLayout 0.29.1 (2024-05-13 48b32733c) [master]

API reference - Class QMainWindow

Notation used in Ruby API documentation

Module: QtGui

Description: Binding of QMainWindow

Class hierarchy: QMainWindow » QWidget » QObject

Sub-classes: DockOption, QFlags_DockOption

Public constructors

new QMainWindownew(QWidget ptr parent = 0,
Qt_QFlags_WindowType flags = 0)
Constructor QMainWindow::QMainWindow(QWidget *parent, QFlags<Qt::WindowType> flags)

Public methods

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.
voidaddDockWidget(const Qt_DockWidgetArea area,
QDockWidget ptr dockwidget)
Method void QMainWindow::addDockWidget(Qt::DockWidgetArea area, QDockWidget *dockwidget)
voidaddDockWidget(const Qt_DockWidgetArea area,
QDockWidget ptr dockwidget,
const Qt_Orientation orientation)
Method void QMainWindow::addDockWidget(Qt::DockWidgetArea area, QDockWidget *dockwidget, Qt::Orientation orientation)
voidaddToolBar(const Qt_ToolBarArea area,
QToolBar ptr toolbar)
Method void QMainWindow::addToolBar(Qt::ToolBarArea area, QToolBar *toolbar)
voidaddToolBar(QToolBar ptr toolbar)Method void QMainWindow::addToolBar(QToolBar *toolbar)
QToolBar ptraddToolBar(string title)Method QToolBar *QMainWindow::addToolBar(const QString &title)
voidaddToolBarBreak(const Qt_ToolBarArea area = Qt::TopToolBarArea)Method void QMainWindow::addToolBarBreak(Qt::ToolBarArea area)
[const]boolanimatedMethod bool QMainWindow::isAnimated()
voidanimated=(bool enabled)Method void QMainWindow::setAnimated(bool enabled)
[const]QWidget ptrcentralWidgetMethod QWidget *QMainWindow::centralWidget()
voidcentralWidget=(QWidget ptr widget)Method void QMainWindow::setCentralWidget(QWidget *widget)
[const]Qt_DockWidgetAreacorner(const Qt_Corner corner)Method Qt::DockWidgetArea QMainWindow::corner(Qt::Corner corner)
QMenu ptrcreatePopupMenuVirtual method QMenu *QMainWindow::createPopupMenu()
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QMainWindow::customContextMenuRequested(const QPoint &pos)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QMainWindow::destroyed(QObject *)
[const]booldockNestingEnabledMethod bool QMainWindow::isDockNestingEnabled()
voiddockNestingEnabled=(bool enabled)Method void QMainWindow::setDockNestingEnabled(bool enabled)
[const]QMainWindow_QFlags_DockOptiondockOptionsMethod QFlags<QMainWindow::DockOption> QMainWindow::dockOptions()
voiddockOptions=(QMainWindow_QFlags_DockOption options)Method void QMainWindow::setDockOptions(QFlags<QMainWindow::DockOption> options)
[const]Qt_DockWidgetAreadockWidgetArea(QDockWidget ptr dockwidget)Method Qt::DockWidgetArea QMainWindow::dockWidgetArea(QDockWidget *dockwidget)
[const]booldocumentModeMethod bool QMainWindow::documentMode()
voiddocumentMode=(bool enabled)Method void QMainWindow::setDocumentMode(bool enabled)
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QMainWindow::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = 0)Emitter for signal void QMainWindow::destroyed(QObject *)
voidemit_iconSizeChanged(const QSize iconSize)Emitter for signal void QMainWindow::iconSizeChanged(const QSize &iconSize)
voidemit_toolButtonStyleChanged(const Qt_ToolButtonStyle toolButtonStyle)Emitter for signal void QMainWindow::toolButtonStyleChanged(Qt::ToolButtonStyle toolButtonStyle)
booleventFilter(QObject ptr arg1,
QEvent ptr arg2)
Virtual method bool QMainWindow::eventFilter(QObject *, QEvent *)
[const]intheightForWidth(int arg1)Virtual method int QMainWindow::heightForWidth(int)
[const]QSizeiconSizeMethod QSize QMainWindow::iconSize()
voidiconSize=(const QSize iconSize)Method void QMainWindow::setIconSize(const QSize &iconSize)
[signal]voidiconSizeChanged(const QSize iconSize)Signal declaration for QMainWindow::iconSizeChanged(const QSize &iconSize)
[const]variantinputMethodQuery(const Qt_InputMethodQuery arg1)Virtual method QVariant QMainWindow::inputMethodQuery(Qt::InputMethodQuery)
voidinsertToolBar(QToolBar ptr before,
QToolBar ptr toolbar)
Method void QMainWindow::insertToolBar(QToolBar *before, QToolBar *toolbar)
voidinsertToolBarBreak(QToolBar ptr before)Method void QMainWindow::insertToolBarBreak(QToolBar *before)
[const]boolisAnimated?Method bool QMainWindow::isAnimated()
[const]boolisDockNestingEnabled?Method bool QMainWindow::isDockNestingEnabled()
[const]boolisSeparator?(const QPoint pos)Method bool QMainWindow::isSeparator(const QPoint &pos)
[const]QMenuBar ptrmenuBarMethod QMenuBar *QMainWindow::menuBar()
voidmenuBar=(QMenuBar ptr menubar)Method void QMainWindow::setMenuBar(QMenuBar *menubar)
[const]QWidget ptrmenuWidgetMethod QWidget *QMainWindow::menuWidget()
voidmenuWidget=(QWidget ptr menubar)Method void QMainWindow::setMenuWidget(QWidget *menubar)
[const]QSizeminimumSizeHintVirtual method QSize QMainWindow::minimumSizeHint()
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QMainWindow::paintEngine()
voidremoveDockWidget(QDockWidget ptr dockwidget)Method void QMainWindow::removeDockWidget(QDockWidget *dockwidget)
voidremoveToolBar(QToolBar ptr toolbar)Method void QMainWindow::removeToolBar(QToolBar *toolbar)
voidremoveToolBarBreak(QToolBar ptr before)Method void QMainWindow::removeToolBarBreak(QToolBar *before)
boolrestoreDockWidget(QDockWidget ptr dockwidget)Method bool QMainWindow::restoreDockWidget(QDockWidget *dockwidget)
boolrestoreState(bytes state,
int version = 0)
Method bool QMainWindow::restoreState(const QByteArray &state, int version)
[const]bytessaveState(int version = 0)Method QByteArray QMainWindow::saveState(int version)
voidsetAnimated(bool enabled)Method void QMainWindow::setAnimated(bool enabled)
voidsetCentralWidget(QWidget ptr widget)Method void QMainWindow::setCentralWidget(QWidget *widget)
voidsetCorner(const Qt_Corner corner,
const Qt_DockWidgetArea area)
Method void QMainWindow::setCorner(Qt::Corner corner, Qt::DockWidgetArea area)
voidsetDockNestingEnabled(bool enabled)Method void QMainWindow::setDockNestingEnabled(bool enabled)
voidsetDockOptions(QMainWindow_QFlags_DockOption options)Method void QMainWindow::setDockOptions(QFlags<QMainWindow::DockOption> options)
voidsetDocumentMode(bool enabled)Method void QMainWindow::setDocumentMode(bool enabled)
voidsetIconSize(const QSize iconSize)Method void QMainWindow::setIconSize(const QSize &iconSize)
voidsetMenuBar(QMenuBar ptr menubar)Method void QMainWindow::setMenuBar(QMenuBar *menubar)
voidsetMenuWidget(QWidget ptr menubar)Method void QMainWindow::setMenuWidget(QWidget *menubar)
voidsetStatusBar(QStatusBar ptr statusbar)Method void QMainWindow::setStatusBar(QStatusBar *statusbar)
voidsetTabPosition(Qt_QFlags_DockWidgetArea areas,
const QTabWidget_TabPosition tabPosition)
Method void QMainWindow::setTabPosition(QFlags<Qt::DockWidgetArea> areas, QTabWidget::TabPosition tabPosition)
voidsetTabShape(const QTabWidget_TabShape tabShape)Method void QMainWindow::setTabShape(QTabWidget::TabShape tabShape)
voidsetToolButtonStyle(const Qt_ToolButtonStyle toolButtonStyle)Method void QMainWindow::setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle)
voidsetUnifiedTitleAndToolBarOnMac(bool set)Method void QMainWindow::setUnifiedTitleAndToolBarOnMac(bool set)
voidsetVisible(bool visible)Virtual method void QMainWindow::setVisible(bool visible)
[const]QSizesizeHintVirtual method QSize QMainWindow::sizeHint()
voidsplitDockWidget(QDockWidget ptr after,
QDockWidget ptr dockwidget,
const Qt_Orientation orientation)
Method void QMainWindow::splitDockWidget(QDockWidget *after, QDockWidget *dockwidget, Qt::Orientation orientation)
[const]QStatusBar ptrstatusBarMethod QStatusBar *QMainWindow::statusBar()
voidstatusBar=(QStatusBar ptr statusbar)Method void QMainWindow::setStatusBar(QStatusBar *statusbar)
[const]QTabWidget_TabPositiontabPosition(const Qt_DockWidgetArea area)Method QTabWidget::TabPosition QMainWindow::tabPosition(Qt::DockWidgetArea area)
[const]QTabWidget_TabShapetabShapeMethod QTabWidget::TabShape QMainWindow::tabShape()
voidtabShape=(const QTabWidget_TabShape tabShape)Method void QMainWindow::setTabShape(QTabWidget::TabShape tabShape)
[const]QDockWidget ptr[]tabifiedDockWidgets(QDockWidget ptr dockwidget)Method QList<QDockWidget*> QMainWindow::tabifiedDockWidgets(QDockWidget *dockwidget)
voidtabifyDockWidget(QDockWidget ptr first,
QDockWidget ptr second)
Method void QMainWindow::tabifyDockWidget(QDockWidget *first, QDockWidget *second)
[const]Qt_ToolBarAreatoolBarArea(QToolBar ptr toolbar)Method Qt::ToolBarArea QMainWindow::toolBarArea(QToolBar *toolbar)
[const]booltoolBarBreak(QToolBar ptr toolbar)Method bool QMainWindow::toolBarBreak(QToolBar *toolbar)
[const]Qt_ToolButtonStyletoolButtonStyleMethod Qt::ToolButtonStyle QMainWindow::toolButtonStyle()
voidtoolButtonStyle=(const Qt_ToolButtonStyle toolButtonStyle)Method void QMainWindow::setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle)
[signal]voidtoolButtonStyleChanged(const Qt_ToolButtonStyle toolButtonStyle)Signal declaration for QMainWindow::toolButtonStyleChanged(Qt::ToolButtonStyle toolButtonStyle)
[const]boolunifiedTitleAndToolBarOnMacMethod bool QMainWindow::unifiedTitleAndToolBarOnMac()
voidunifiedTitleAndToolBarOnMac=(bool set)Method void QMainWindow::setUnifiedTitleAndToolBarOnMac(bool set)

Public static methods and constants

[static,const]QMainWindow_DockOptionAllowNestedDocksEnum constant QMainWindow::AllowNestedDocks
[static,const]QMainWindow_DockOptionAllowTabbedDocksEnum constant QMainWindow::AllowTabbedDocks
[static,const]QMainWindow_DockOptionAnimatedDocksEnum constant QMainWindow::AnimatedDocks
[static,const]QMainWindow_DockOptionForceTabbedDocksEnum constant QMainWindow::ForceTabbedDocks
[static,const]QMainWindow_DockOptionVerticalTabsEnum constant QMainWindow::VerticalTabs
QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = 0)
Static method QString QMainWindow::tr(const char *s, const char *c)
stringtr(string s,
string c,
int n)
Static method QString QMainWindow::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = 0)
Static method QString QMainWindow::trUtf8(const char *s, const char *c)
stringtrUtf8(string s,
string c,
int n)
Static method QString QMainWindow::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidactionEvent(QActionEvent ptr arg1)Virtual method void QMainWindow::actionEvent(QActionEvent *)
voidchangeEvent(QEvent ptr arg1)Virtual method void QMainWindow::changeEvent(QEvent *)
voidchildEvent(QChildEvent ptr arg1)Virtual method void QMainWindow::childEvent(QChildEvent *)
voidcloseEvent(QCloseEvent ptr arg1)Virtual method void QMainWindow::closeEvent(QCloseEvent *)
voidcontextMenuEvent(QContextMenuEvent ptr event)Virtual method void QMainWindow::contextMenuEvent(QContextMenuEvent *event)
voidcustomEvent(QEvent ptr arg1)Virtual method void QMainWindow::customEvent(QEvent *)
voiddisconnectNotify(string signal)Virtual method void QMainWindow::disconnectNotify(const char *signal)
voiddragEnterEvent(QDragEnterEvent ptr arg1)Virtual method void QMainWindow::dragEnterEvent(QDragEnterEvent *)
voiddragLeaveEvent(QDragLeaveEvent ptr arg1)Virtual method void QMainWindow::dragLeaveEvent(QDragLeaveEvent *)
voiddragMoveEvent(QDragMoveEvent ptr arg1)Virtual method void QMainWindow::dragMoveEvent(QDragMoveEvent *)
voiddropEvent(QDropEvent ptr arg1)Virtual method void QMainWindow::dropEvent(QDropEvent *)
voidenabledChange(bool arg1)Virtual method void QMainWindow::enabledChange(bool)
voidenterEvent(QEvent ptr arg1)Virtual method void QMainWindow::enterEvent(QEvent *)
boolevent(QEvent ptr event)Virtual method bool QMainWindow::event(QEvent *event)
voidfocusInEvent(QFocusEvent ptr arg1)Virtual method void QMainWindow::focusInEvent(QFocusEvent *)
boolfocusNextChildMethod bool QMainWindow::focusNextChild()
boolfocusNextPrevChild(bool next)Virtual method bool QMainWindow::focusNextPrevChild(bool next)
voidfocusOutEvent(QFocusEvent ptr arg1)Virtual method void QMainWindow::focusOutEvent(QFocusEvent *)
boolfocusPreviousChildMethod bool QMainWindow::focusPreviousChild()
voidfontChange(const QFont arg1)Virtual method void QMainWindow::fontChange(const QFont &)
voidhideEvent(QHideEvent ptr arg1)Virtual method void QMainWindow::hideEvent(QHideEvent *)
voidinputMethodEvent(QInputMethodEvent ptr arg1)Virtual method void QMainWindow::inputMethodEvent(QInputMethodEvent *)
voidkeyPressEvent(QKeyEvent ptr arg1)Virtual method void QMainWindow::keyPressEvent(QKeyEvent *)
voidkeyReleaseEvent(QKeyEvent ptr arg1)Virtual method void QMainWindow::keyReleaseEvent(QKeyEvent *)
voidlanguageChangeVirtual method void QMainWindow::languageChange()
voidleaveEvent(QEvent ptr arg1)Virtual method void QMainWindow::leaveEvent(QEvent *)
[const]intmetric(const QPaintDevice_PaintDeviceMetric arg1)Virtual method int QMainWindow::metric(QPaintDevice::PaintDeviceMetric)
voidmouseDoubleClickEvent(QMouseEvent ptr arg1)Virtual method void QMainWindow::mouseDoubleClickEvent(QMouseEvent *)
voidmouseMoveEvent(QMouseEvent ptr arg1)Virtual method void QMainWindow::mouseMoveEvent(QMouseEvent *)
voidmousePressEvent(QMouseEvent ptr arg1)Virtual method void QMainWindow::mousePressEvent(QMouseEvent *)
voidmouseReleaseEvent(QMouseEvent ptr arg1)Virtual method void QMainWindow::mouseReleaseEvent(QMouseEvent *)
voidmoveEvent(QMoveEvent ptr arg1)Virtual method void QMainWindow::moveEvent(QMoveEvent *)
voidpaintEvent(QPaintEvent ptr arg1)Virtual method void QMainWindow::paintEvent(QPaintEvent *)
voidpaletteChange(const QPalette arg1)Virtual method void QMainWindow::paletteChange(const QPalette &)
voidqt_create(unsigned long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QMainWindow::create(WId, bool initializeWindow, bool destroyOldWindow)
voidqt_destroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QMainWindow::destroy(bool destroyWindow, bool destroySubWindows)
[const]intreceivers(string signal)Method int QMainWindow::receivers(const char *signal)
voidresetInputContextMethod void QMainWindow::resetInputContext()
voidresizeEvent(QResizeEvent ptr arg1)Virtual method void QMainWindow::resizeEvent(QResizeEvent *)
[const]QObject ptrsenderMethod QObject *QMainWindow::sender()
voidshowEvent(QShowEvent ptr arg1)Virtual method void QMainWindow::showEvent(QShowEvent *)
voidstyleChange(QStyle arg1)Virtual method void QMainWindow::styleChange(QStyle &)
voidtabletEvent(QTabletEvent ptr arg1)Virtual method void QMainWindow::tabletEvent(QTabletEvent *)
voidtimerEvent(QTimerEvent ptr arg1)Virtual method void QMainWindow::timerEvent(QTimerEvent *)
voidupdateMicroFocusMethod void QMainWindow::updateMicroFocus()
voidwheelEvent(QWheelEvent ptr arg1)Virtual method void QMainWindow::wheelEvent(QWheelEvent *)
voidwindowActivationChange(bool arg1)Virtual method void QMainWindow::windowActivationChange(bool)

Deprecated methods (protected, public, static, non-static and constructors)

voidcreateUse of this method is deprecated. Use _create instead
voiddestroyUse of this method is deprecated. Use _destroy instead
[const]boolis_const_object?Use of this method is deprecated. Use _is_const_object? instead

Detailed description

AllowNestedDocks

Signature: [static,const] QMainWindow_DockOption AllowNestedDocks

Description: Enum constant QMainWindow::AllowNestedDocks

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

AllowTabbedDocks

Signature: [static,const] QMainWindow_DockOption AllowTabbedDocks

Description: Enum constant QMainWindow::AllowTabbedDocks

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

AnimatedDocks

Signature: [static,const] QMainWindow_DockOption AnimatedDocks

Description: Enum constant QMainWindow::AnimatedDocks

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

ForceTabbedDocks

Signature: [static,const] QMainWindow_DockOption ForceTabbedDocks

Description: Enum constant QMainWindow::ForceTabbedDocks

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

VerticalTabs

Signature: [static,const] QMainWindow_DockOption VerticalTabs

Description: Enum constant QMainWindow::VerticalTabs

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

_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 arg1)

Description: Virtual method void QMainWindow::actionEvent(QActionEvent *)

This method can be reimplemented in a derived class.

addDockWidget

(1) Signature: void addDockWidget (const Qt_DockWidgetArea area, QDockWidget ptr dockwidget)

Description: Method void QMainWindow::addDockWidget(Qt::DockWidgetArea area, QDockWidget *dockwidget)

(2) Signature: void addDockWidget (const Qt_DockWidgetArea area, QDockWidget ptr dockwidget, const Qt_Orientation orientation)

Description: Method void QMainWindow::addDockWidget(Qt::DockWidgetArea area, QDockWidget *dockwidget, Qt::Orientation orientation)

addToolBar

(1) Signature: void addToolBar (const Qt_ToolBarArea area, QToolBar ptr toolbar)

Description: Method void QMainWindow::addToolBar(Qt::ToolBarArea area, QToolBar *toolbar)

(2) Signature: void addToolBar (QToolBar ptr toolbar)

Description: Method void QMainWindow::addToolBar(QToolBar *toolbar)

(3) Signature: QToolBar ptr addToolBar (string title)

Description: Method QToolBar *QMainWindow::addToolBar(const QString &title)

addToolBarBreak

Signature: void addToolBarBreak (const Qt_ToolBarArea area = Qt::TopToolBarArea)

Description: Method void QMainWindow::addToolBarBreak(Qt::ToolBarArea area)

animated

Signature: [const] bool animated

Description: Method bool QMainWindow::isAnimated()

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

animated=

Signature: void animated= (bool enabled)

Description: Method void QMainWindow::setAnimated(bool enabled)

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

centralWidget

Signature: [const] QWidget ptr centralWidget

Description: Method QWidget *QMainWindow::centralWidget()

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

centralWidget=

Signature: void centralWidget= (QWidget ptr widget)

Description: Method void QMainWindow::setCentralWidget(QWidget *widget)

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

changeEvent

Signature: void changeEvent (QEvent ptr arg1)

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

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr arg1)

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

This method can be reimplemented in a derived class.

closeEvent

Signature: void closeEvent (QCloseEvent ptr arg1)

Description: Virtual method void QMainWindow::closeEvent(QCloseEvent *)

This method can be reimplemented in a derived class.

contextMenuEvent

Signature: void contextMenuEvent (QContextMenuEvent ptr event)

Description: Virtual method void QMainWindow::contextMenuEvent(QContextMenuEvent *event)

This method can be reimplemented in a derived class.

corner

Signature: [const] Qt_DockWidgetArea corner (const Qt_Corner corner)

Description: Method Qt::DockWidgetArea QMainWindow::corner(Qt::Corner corner)

create

Signature: void create

Description: Ensures the C++ object is created

Use of this method is deprecated. Use _create instead

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.

createPopupMenu

Signature: QMenu ptr createPopupMenu

Description: Virtual method QMenu *QMainWindow::createPopupMenu()

This method can be reimplemented in a derived class.

customContextMenuRequested

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

Description: Signal declaration for QMainWindow::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 arg1)

Description: Virtual method void QMainWindow::customEvent(QEvent *)

This method can be reimplemented in a derived class.

destroy

Signature: void destroy

Description: Explicitly destroys the object

Use of this method is deprecated. Use _destroy instead

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: [signal] void destroyed (QObject ptr arg1)

Description: Signal declaration for QMainWindow::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 (string signal)

Description: Virtual method void QMainWindow::disconnectNotify(const char *signal)

This method can be reimplemented in a derived class.

dockNestingEnabled

Signature: [const] bool dockNestingEnabled

Description: Method bool QMainWindow::isDockNestingEnabled()

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

dockNestingEnabled=

Signature: void dockNestingEnabled= (bool enabled)

Description: Method void QMainWindow::setDockNestingEnabled(bool enabled)

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

dockOptions

Signature: [const] QMainWindow_QFlags_DockOption dockOptions

Description: Method QFlags<QMainWindow::DockOption> QMainWindow::dockOptions()

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

dockOptions=

Signature: void dockOptions= (QMainWindow_QFlags_DockOption options)

Description: Method void QMainWindow::setDockOptions(QFlags<QMainWindow::DockOption> options)

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

dockWidgetArea

Signature: [const] Qt_DockWidgetArea dockWidgetArea (QDockWidget ptr dockwidget)

Description: Method Qt::DockWidgetArea QMainWindow::dockWidgetArea(QDockWidget *dockwidget)

documentMode

Signature: [const] bool documentMode

Description: Method bool QMainWindow::documentMode()

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

documentMode=

Signature: void documentMode= (bool enabled)

Description: Method void QMainWindow::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 QMainWindow::dragEnterEvent(QDragEnterEvent *)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr arg1)

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

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr arg1)

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

This method can be reimplemented in a derived class.

dropEvent

Signature: void dropEvent (QDropEvent ptr arg1)

Description: Virtual method void QMainWindow::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 QMainWindow::customContextMenuRequested(const QPoint &pos)

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = 0)

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

Call this method to emit this signal.

emit_iconSizeChanged

Signature: void emit_iconSizeChanged (const QSize iconSize)

Description: Emitter for signal void QMainWindow::iconSizeChanged(const QSize &iconSize)

Call this method to emit this signal.

emit_toolButtonStyleChanged

Signature: void emit_toolButtonStyleChanged (const Qt_ToolButtonStyle toolButtonStyle)

Description: Emitter for signal void QMainWindow::toolButtonStyleChanged(Qt::ToolButtonStyle toolButtonStyle)

Call this method to emit this signal.

enabledChange

Signature: void enabledChange (bool arg1)

Description: Virtual method void QMainWindow::enabledChange(bool)

This method can be reimplemented in a derived class.

enterEvent

Signature: void enterEvent (QEvent ptr arg1)

Description: Virtual method void QMainWindow::enterEvent(QEvent *)

This method can be reimplemented in a derived class.

event

Signature: bool event (QEvent ptr event)

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

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr arg1, QEvent ptr arg2)

Description: Virtual method bool QMainWindow::eventFilter(QObject *, QEvent *)

This method can be reimplemented in a derived class.

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr arg1)

Description: Virtual method void QMainWindow::focusInEvent(QFocusEvent *)

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

Description: Method bool QMainWindow::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 QMainWindow::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr arg1)

Description: Virtual method void QMainWindow::focusOutEvent(QFocusEvent *)

This method can be reimplemented in a derived class.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QMainWindow::focusPreviousChild()

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

fontChange

Signature: void fontChange (const QFont arg1)

Description: Virtual method void QMainWindow::fontChange(const QFont &)

This method can be reimplemented in a derived class.

heightForWidth

Signature: [const] int heightForWidth (int arg1)

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

This method can be reimplemented in a derived class.

hideEvent

Signature: void hideEvent (QHideEvent ptr arg1)

Description: Virtual method void QMainWindow::hideEvent(QHideEvent *)

This method can be reimplemented in a derived class.

iconSize

Signature: [const] QSize iconSize

Description: Method QSize QMainWindow::iconSize()

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

iconSize=

Signature: void iconSize= (const QSize iconSize)

Description: Method void QMainWindow::setIconSize(const QSize &iconSize)

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

iconSizeChanged

Signature: [signal] void iconSizeChanged (const QSize iconSize)

Description: Signal declaration for QMainWindow::iconSizeChanged(const QSize &iconSize)

You can bind a procedure to this signal.

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

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr arg1)

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

This method can be reimplemented in a derived class.

inputMethodQuery

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

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

This method can be reimplemented in a derived class.

insertToolBar

Signature: void insertToolBar (QToolBar ptr before, QToolBar ptr toolbar)

Description: Method void QMainWindow::insertToolBar(QToolBar *before, QToolBar *toolbar)

insertToolBarBreak

Signature: void insertToolBarBreak (QToolBar ptr before)

Description: Method void QMainWindow::insertToolBarBreak(QToolBar *before)

isAnimated?

Signature: [const] bool isAnimated?

Description: Method bool QMainWindow::isAnimated()

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

isDockNestingEnabled?

Signature: [const] bool isDockNestingEnabled?

Description: Method bool QMainWindow::isDockNestingEnabled()

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

isSeparator?

Signature: [const] bool isSeparator? (const QPoint pos)

Description: Method bool QMainWindow::isSeparator(const QPoint &pos)

is_const_object?

Signature: [const] bool is_const_object?

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

Use of this method is deprecated. Use _is_const_object? instead

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

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr arg1)

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

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr arg1)

Description: Virtual method void QMainWindow::keyReleaseEvent(QKeyEvent *)

This method can be reimplemented in a derived class.

languageChange

Signature: void languageChange

Description: Virtual method void QMainWindow::languageChange()

This method can be reimplemented in a derived class.

leaveEvent

Signature: void leaveEvent (QEvent ptr arg1)

Description: Virtual method void QMainWindow::leaveEvent(QEvent *)

This method can be reimplemented in a derived class.

menuBar

Signature: [const] QMenuBar ptr menuBar

Description: Method QMenuBar *QMainWindow::menuBar()

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

menuBar=

Signature: void menuBar= (QMenuBar ptr menubar)

Description: Method void QMainWindow::setMenuBar(QMenuBar *menubar)

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

menuWidget

Signature: [const] QWidget ptr menuWidget

Description: Method QWidget *QMainWindow::menuWidget()

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

menuWidget=

Signature: void menuWidget= (QWidget ptr menubar)

Description: Method void QMainWindow::setMenuWidget(QWidget *menubar)

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

metric

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

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

This method can be reimplemented in a derived class.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QMainWindow::minimumSizeHint()

This method can be reimplemented in a derived class.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr arg1)

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

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr arg1)

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

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr arg1)

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

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr arg1)

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

This method can be reimplemented in a derived class.

moveEvent

Signature: void moveEvent (QMoveEvent ptr arg1)

Description: Virtual method void QMainWindow::moveEvent(QMoveEvent *)

This method can be reimplemented in a derived class.

new

Signature: [static] new QMainWindow new (QWidget ptr parent = 0, Qt_QFlags_WindowType flags = 0)

Description: Constructor QMainWindow::QMainWindow(QWidget *parent, QFlags<Qt::WindowType> flags)

This method creates an object of class QMainWindow.

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

paintEngine

Signature: [const] QPaintEngine ptr paintEngine

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

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr arg1)

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

This method can be reimplemented in a derived class.

paletteChange

Signature: void paletteChange (const QPalette arg1)

Description: Virtual method void QMainWindow::paletteChange(const QPalette &)

This method can be reimplemented in a derived class.

qt_create

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

Description: Method void QMainWindow::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 QMainWindow::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 QMainWindow::receivers(const char *signal)

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

removeDockWidget

Signature: void removeDockWidget (QDockWidget ptr dockwidget)

Description: Method void QMainWindow::removeDockWidget(QDockWidget *dockwidget)

removeToolBar

Signature: void removeToolBar (QToolBar ptr toolbar)

Description: Method void QMainWindow::removeToolBar(QToolBar *toolbar)

removeToolBarBreak

Signature: void removeToolBarBreak (QToolBar ptr before)

Description: Method void QMainWindow::removeToolBarBreak(QToolBar *before)

resetInputContext

Signature: void resetInputContext

Description: Method void QMainWindow::resetInputContext()

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

resizeEvent

Signature: void resizeEvent (QResizeEvent ptr arg1)

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

This method can be reimplemented in a derived class.

restoreDockWidget

Signature: bool restoreDockWidget (QDockWidget ptr dockwidget)

Description: Method bool QMainWindow::restoreDockWidget(QDockWidget *dockwidget)

restoreState

Signature: bool restoreState (bytes state, int version = 0)

Description: Method bool QMainWindow::restoreState(const QByteArray &state, int version)

saveState

Signature: [const] bytes saveState (int version = 0)

Description: Method QByteArray QMainWindow::saveState(int version)

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QMainWindow::sender()

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

setAnimated

Signature: void setAnimated (bool enabled)

Description: Method void QMainWindow::setAnimated(bool enabled)

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

setCentralWidget

Signature: void setCentralWidget (QWidget ptr widget)

Description: Method void QMainWindow::setCentralWidget(QWidget *widget)

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

setCorner

Signature: void setCorner (const Qt_Corner corner, const Qt_DockWidgetArea area)

Description: Method void QMainWindow::setCorner(Qt::Corner corner, Qt::DockWidgetArea area)

setDockNestingEnabled

Signature: void setDockNestingEnabled (bool enabled)

Description: Method void QMainWindow::setDockNestingEnabled(bool enabled)

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

setDockOptions

Signature: void setDockOptions (QMainWindow_QFlags_DockOption options)

Description: Method void QMainWindow::setDockOptions(QFlags<QMainWindow::DockOption> options)

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

setDocumentMode

Signature: void setDocumentMode (bool enabled)

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

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

setIconSize

Signature: void setIconSize (const QSize iconSize)

Description: Method void QMainWindow::setIconSize(const QSize &iconSize)

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

setMenuBar

Signature: void setMenuBar (QMenuBar ptr menubar)

Description: Method void QMainWindow::setMenuBar(QMenuBar *menubar)

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

setMenuWidget

Signature: void setMenuWidget (QWidget ptr menubar)

Description: Method void QMainWindow::setMenuWidget(QWidget *menubar)

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

setStatusBar

Signature: void setStatusBar (QStatusBar ptr statusbar)

Description: Method void QMainWindow::setStatusBar(QStatusBar *statusbar)

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

setTabPosition

Signature: void setTabPosition (Qt_QFlags_DockWidgetArea areas, const QTabWidget_TabPosition tabPosition)

Description: Method void QMainWindow::setTabPosition(QFlags<Qt::DockWidgetArea> areas, QTabWidget::TabPosition tabPosition)

setTabShape

Signature: void setTabShape (const QTabWidget_TabShape tabShape)

Description: Method void QMainWindow::setTabShape(QTabWidget::TabShape tabShape)

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

setToolButtonStyle

Signature: void setToolButtonStyle (const Qt_ToolButtonStyle toolButtonStyle)

Description: Method void QMainWindow::setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle)

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

setUnifiedTitleAndToolBarOnMac

Signature: void setUnifiedTitleAndToolBarOnMac (bool set)

Description: Method void QMainWindow::setUnifiedTitleAndToolBarOnMac(bool set)

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

setVisible

Signature: void setVisible (bool visible)

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

This method can be reimplemented in a derived class.

showEvent

Signature: void showEvent (QShowEvent ptr arg1)

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

This method can be reimplemented in a derived class.

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QMainWindow::sizeHint()

This method can be reimplemented in a derived class.

splitDockWidget

Signature: void splitDockWidget (QDockWidget ptr after, QDockWidget ptr dockwidget, const Qt_Orientation orientation)

Description: Method void QMainWindow::splitDockWidget(QDockWidget *after, QDockWidget *dockwidget, Qt::Orientation orientation)

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

statusBar

Signature: [const] QStatusBar ptr statusBar

Description: Method QStatusBar *QMainWindow::statusBar()

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

statusBar=

Signature: void statusBar= (QStatusBar ptr statusbar)

Description: Method void QMainWindow::setStatusBar(QStatusBar *statusbar)

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

styleChange

Signature: void styleChange (QStyle arg1)

Description: Virtual method void QMainWindow::styleChange(QStyle &)

This method can be reimplemented in a derived class.

tabPosition

Signature: [const] QTabWidget_TabPosition tabPosition (const Qt_DockWidgetArea area)

Description: Method QTabWidget::TabPosition QMainWindow::tabPosition(Qt::DockWidgetArea area)

tabShape

Signature: [const] QTabWidget_TabShape tabShape

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

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

tabShape=

Signature: void tabShape= (const QTabWidget_TabShape tabShape)

Description: Method void QMainWindow::setTabShape(QTabWidget::TabShape tabShape)

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

tabifiedDockWidgets

Signature: [const] QDockWidget ptr[] tabifiedDockWidgets (QDockWidget ptr dockwidget)

Description: Method QList<QDockWidget*> QMainWindow::tabifiedDockWidgets(QDockWidget *dockwidget)

tabifyDockWidget

Signature: void tabifyDockWidget (QDockWidget ptr first, QDockWidget ptr second)

Description: Method void QMainWindow::tabifyDockWidget(QDockWidget *first, QDockWidget *second)

tabletEvent

Signature: void tabletEvent (QTabletEvent ptr arg1)

Description: Virtual method void QMainWindow::tabletEvent(QTabletEvent *)

This method can be reimplemented in a derived class.

timerEvent

Signature: void timerEvent (QTimerEvent ptr arg1)

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

This method can be reimplemented in a derived class.

toolBarArea

Signature: [const] Qt_ToolBarArea toolBarArea (QToolBar ptr toolbar)

Description: Method Qt::ToolBarArea QMainWindow::toolBarArea(QToolBar *toolbar)

toolBarBreak

Signature: [const] bool toolBarBreak (QToolBar ptr toolbar)

Description: Method bool QMainWindow::toolBarBreak(QToolBar *toolbar)

toolButtonStyle

Signature: [const] Qt_ToolButtonStyle toolButtonStyle

Description: Method Qt::ToolButtonStyle QMainWindow::toolButtonStyle()

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

toolButtonStyle=

Signature: void toolButtonStyle= (const Qt_ToolButtonStyle toolButtonStyle)

Description: Method void QMainWindow::setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle)

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

toolButtonStyleChanged

Signature: [signal] void toolButtonStyleChanged (const Qt_ToolButtonStyle toolButtonStyle)

Description: Signal declaration for QMainWindow::toolButtonStyleChanged(Qt::ToolButtonStyle toolButtonStyle)

You can bind a procedure to this signal.

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

tr

(1) Signature: [static] string tr (string s, string c = 0)

Description: Static method QString QMainWindow::tr(const char *s, const char *c)

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

(2) Signature: [static] string tr (string s, string c, int n)

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

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

trUtf8

(1) Signature: [static] string trUtf8 (string s, string c = 0)

Description: Static method QString QMainWindow::trUtf8(const char *s, const char *c)

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

(2) Signature: [static] string trUtf8 (string s, string c, int n)

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

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

unifiedTitleAndToolBarOnMac

Signature: [const] bool unifiedTitleAndToolBarOnMac

Description: Method bool QMainWindow::unifiedTitleAndToolBarOnMac()

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

unifiedTitleAndToolBarOnMac=

Signature: void unifiedTitleAndToolBarOnMac= (bool set)

Description: Method void QMainWindow::setUnifiedTitleAndToolBarOnMac(bool set)

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

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QMainWindow::updateMicroFocus()

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

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr arg1)

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

This method can be reimplemented in a derived class.

windowActivationChange

Signature: void windowActivationChange (bool arg1)

Description: Virtual method void QMainWindow::windowActivationChange(bool)

This method can be reimplemented in a derived class.