Notation used in Ruby API documentation
Module: QtWidgets
Description: Binding of QMainWindow
Class hierarchy: QMainWindow » QWidget » QObject
Sub-classes: DockOption, QFlags_DockOption
new QMainWindow | new | (QWidget ptr parent = nullptr, Qt_QFlags_WindowType flags = Qt::WindowFlags()) | Constructor QMainWindow::QMainWindow(QWidget *parent, QFlags<Qt::WindowType> flags) |
[const] | QMainWindow ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly 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 | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
void | addDockWidget | (const Qt_DockWidgetArea area, QDockWidget ptr dockwidget) | Method void QMainWindow::addDockWidget(Qt::DockWidgetArea area, QDockWidget *dockwidget) | |
void | addDockWidget | (const Qt_DockWidgetArea area, QDockWidget ptr dockwidget, const Qt_Orientation orientation) | Method void QMainWindow::addDockWidget(Qt::DockWidgetArea area, QDockWidget *dockwidget, Qt::Orientation orientation) | |
void | addToolBar | (const Qt_ToolBarArea area, QToolBar ptr toolbar) | Method void QMainWindow::addToolBar(Qt::ToolBarArea area, QToolBar *toolbar) | |
void | addToolBar | (QToolBar ptr toolbar) | Method void QMainWindow::addToolBar(QToolBar *toolbar) | |
QToolBar ptr | addToolBar | (string title) | Method QToolBar *QMainWindow::addToolBar(const QString &title) | |
void | addToolBarBreak | (const Qt_ToolBarArea area = Qt::TopToolBarArea) | Method void QMainWindow::addToolBarBreak(Qt::ToolBarArea area) | |
[const] | bool | animated | Method bool QMainWindow::isAnimated() | |
void | animated= | (bool enabled) | Method void QMainWindow::setAnimated(bool enabled) | |
[const] | QWidget ptr | centralWidget | Method QWidget *QMainWindow::centralWidget() | |
void | centralWidget= | (QWidget ptr widget) | Method void QMainWindow::setCentralWidget(QWidget *widget) | |
[const] | Qt_DockWidgetArea | corner | (const Qt_Corner corner) | Method Qt::DockWidgetArea QMainWindow::corner(Qt::Corner corner) |
QMenu ptr | createPopupMenu | Virtual method QMenu *QMainWindow::createPopupMenu() | ||
[signal] | void | customContextMenuRequested | (const QPoint pos) | Signal declaration for QMainWindow::customContextMenuRequested(const QPoint &pos) |
[signal] | void | destroyed | (QObject ptr arg1) | Signal declaration for QMainWindow::destroyed(QObject *) |
[const] | bool | dockNestingEnabled | Method bool QMainWindow::isDockNestingEnabled() | |
void | dockNestingEnabled= | (bool enabled) | Method void QMainWindow::setDockNestingEnabled(bool enabled) | |
[const] | QMainWindow_QFlags_DockOption | dockOptions | Method QFlags<QMainWindow::DockOption> QMainWindow::dockOptions() | |
void | dockOptions= | (QMainWindow_QFlags_DockOption options) | Method void QMainWindow::setDockOptions(QFlags<QMainWindow::DockOption> options) | |
[const] | Qt_DockWidgetArea | dockWidgetArea | (QDockWidget ptr dockwidget) | Method Qt::DockWidgetArea QMainWindow::dockWidgetArea(QDockWidget *dockwidget) |
[const] | bool | documentMode | Method bool QMainWindow::documentMode() | |
void | documentMode= | (bool enabled) | Method void QMainWindow::setDocumentMode(bool enabled) | |
void | emit_customContextMenuRequested | (const QPoint pos) | Emitter for signal void QMainWindow::customContextMenuRequested(const QPoint &pos) | |
void | emit_destroyed | (QObject ptr arg1 = nullptr) | Emitter for signal void QMainWindow::destroyed(QObject *) | |
void | emit_iconSizeChanged | (const QSize iconSize) | Emitter for signal void QMainWindow::iconSizeChanged(const QSize &iconSize) | |
void | emit_objectNameChanged | (string objectName) | Emitter for signal void QMainWindow::objectNameChanged(const QString &objectName) | |
void | emit_tabifiedDockWidgetActivated | (QDockWidget ptr dockWidget) | Emitter for signal void QMainWindow::tabifiedDockWidgetActivated(QDockWidget *dockWidget) | |
void | emit_toolButtonStyleChanged | (const Qt_ToolButtonStyle toolButtonStyle) | Emitter for signal void QMainWindow::toolButtonStyleChanged(Qt::ToolButtonStyle toolButtonStyle) | |
void | emit_windowIconChanged | (const QIcon icon) | Emitter for signal void QMainWindow::windowIconChanged(const QIcon &icon) | |
void | emit_windowIconTextChanged | (string iconText) | Emitter for signal void QMainWindow::windowIconTextChanged(const QString &iconText) | |
void | emit_windowTitleChanged | (string title) | Emitter for signal void QMainWindow::windowTitleChanged(const QString &title) | |
bool | eventFilter | (QObject ptr watched, QEvent ptr event) | Virtual method bool QMainWindow::eventFilter(QObject *watched, QEvent *event) | |
[const] | bool | hasHeightForWidth | Virtual method bool QMainWindow::hasHeightForWidth() | |
[const] | int | heightForWidth | (int arg1) | Virtual method int QMainWindow::heightForWidth(int) |
[const] | QSize | iconSize | Method QSize QMainWindow::iconSize() | |
void | iconSize= | (const QSize iconSize) | Method void QMainWindow::setIconSize(const QSize &iconSize) | |
[signal] | void | iconSizeChanged | (const QSize iconSize) | Signal declaration for QMainWindow::iconSizeChanged(const QSize &iconSize) |
[const] | variant | inputMethodQuery | (const Qt_InputMethodQuery arg1) | Virtual method QVariant QMainWindow::inputMethodQuery(Qt::InputMethodQuery) |
void | insertToolBar | (QToolBar ptr before, QToolBar ptr toolbar) | Method void QMainWindow::insertToolBar(QToolBar *before, QToolBar *toolbar) | |
void | insertToolBarBreak | (QToolBar ptr before) | Method void QMainWindow::insertToolBarBreak(QToolBar *before) | |
[const] | bool | isAnimated? | Method bool QMainWindow::isAnimated() | |
[const] | bool | isDockNestingEnabled? | Method bool QMainWindow::isDockNestingEnabled() | |
[const] | bool | isSeparator? | (const QPoint pos) | Method bool QMainWindow::isSeparator(const QPoint &pos) |
[const] | QMenuBar ptr | menuBar | Method QMenuBar *QMainWindow::menuBar() | |
void | menuBar= | (QMenuBar ptr menubar) | Method void QMainWindow::setMenuBar(QMenuBar *menubar) | |
[const] | QWidget ptr | menuWidget | Method QWidget *QMainWindow::menuWidget() | |
void | menuWidget= | (QWidget ptr menubar) | Method void QMainWindow::setMenuWidget(QWidget *menubar) | |
[const] | QSize | minimumSizeHint | Virtual method QSize QMainWindow::minimumSizeHint() | |
[signal] | void | objectNameChanged | (string objectName) | Signal declaration for QMainWindow::objectNameChanged(const QString &objectName) |
[const] | QPaintEngine ptr | paintEngine | Virtual method QPaintEngine *QMainWindow::paintEngine() | |
void | removeDockWidget | (QDockWidget ptr dockwidget) | Method void QMainWindow::removeDockWidget(QDockWidget *dockwidget) | |
void | removeToolBar | (QToolBar ptr toolbar) | Method void QMainWindow::removeToolBar(QToolBar *toolbar) | |
void | removeToolBarBreak | (QToolBar ptr before) | Method void QMainWindow::removeToolBarBreak(QToolBar *before) | |
void | resizeDocks | (QDockWidget ptr[] docks, int[] sizes, const Qt_Orientation orientation) | Method void QMainWindow::resizeDocks(const QList<QDockWidget *> &docks, const QList<int> &sizes, Qt::Orientation orientation) | |
bool | restoreDockWidget | (QDockWidget ptr dockwidget) | Method bool QMainWindow::restoreDockWidget(QDockWidget *dockwidget) | |
bool | restoreState | (bytes state, int version = 0) | Method bool QMainWindow::restoreState(const QByteArray &state, int version) | |
[const] | bytes | saveState | (int version = 0) | Method QByteArray QMainWindow::saveState(int version) |
void | setAnimated | (bool enabled) | Method void QMainWindow::setAnimated(bool enabled) | |
void | setCentralWidget | (QWidget ptr widget) | Method void QMainWindow::setCentralWidget(QWidget *widget) | |
void | setCorner | (const Qt_Corner corner, const Qt_DockWidgetArea area) | Method void QMainWindow::setCorner(Qt::Corner corner, Qt::DockWidgetArea area) | |
void | setDockNestingEnabled | (bool enabled) | Method void QMainWindow::setDockNestingEnabled(bool enabled) | |
void | setDockOptions | (QMainWindow_QFlags_DockOption options) | Method void QMainWindow::setDockOptions(QFlags<QMainWindow::DockOption> options) | |
void | setDocumentMode | (bool enabled) | Method void QMainWindow::setDocumentMode(bool enabled) | |
void | setIconSize | (const QSize iconSize) | Method void QMainWindow::setIconSize(const QSize &iconSize) | |
void | setMenuBar | (QMenuBar ptr menubar) | Method void QMainWindow::setMenuBar(QMenuBar *menubar) | |
void | setMenuWidget | (QWidget ptr menubar) | Method void QMainWindow::setMenuWidget(QWidget *menubar) | |
void | setStatusBar | (QStatusBar ptr statusbar) | Method void QMainWindow::setStatusBar(QStatusBar *statusbar) | |
void | setTabPosition | (Qt_QFlags_DockWidgetArea areas, const QTabWidget_TabPosition tabPosition) | Method void QMainWindow::setTabPosition(QFlags<Qt::DockWidgetArea> areas, QTabWidget::TabPosition tabPosition) | |
void | setTabShape | (const QTabWidget_TabShape tabShape) | Method void QMainWindow::setTabShape(QTabWidget::TabShape tabShape) | |
void | setToolButtonStyle | (const Qt_ToolButtonStyle toolButtonStyle) | Method void QMainWindow::setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle) | |
void | setUnifiedTitleAndToolBarOnMac | (bool set) | Method void QMainWindow::setUnifiedTitleAndToolBarOnMac(bool set) | |
void | setVisible | (bool visible) | Virtual method void QMainWindow::setVisible(bool visible) | |
[const] | QSize | sizeHint | Virtual method QSize QMainWindow::sizeHint() | |
void | splitDockWidget | (QDockWidget ptr after, QDockWidget ptr dockwidget, const Qt_Orientation orientation) | Method void QMainWindow::splitDockWidget(QDockWidget *after, QDockWidget *dockwidget, Qt::Orientation orientation) | |
[const] | QStatusBar ptr | statusBar | Method QStatusBar *QMainWindow::statusBar() | |
void | statusBar= | (QStatusBar ptr statusbar) | Method void QMainWindow::setStatusBar(QStatusBar *statusbar) | |
[const] | QTabWidget_TabPosition | tabPosition | (const Qt_DockWidgetArea area) | Method QTabWidget::TabPosition QMainWindow::tabPosition(Qt::DockWidgetArea area) |
[const] | QTabWidget_TabShape | tabShape | Method QTabWidget::TabShape QMainWindow::tabShape() | |
void | tabShape= | (const QTabWidget_TabShape tabShape) | Method void QMainWindow::setTabShape(QTabWidget::TabShape tabShape) | |
[signal] | void | tabifiedDockWidgetActivated | (QDockWidget ptr dockWidget) | Signal declaration for QMainWindow::tabifiedDockWidgetActivated(QDockWidget *dockWidget) |
[const] | QDockWidget ptr[] | tabifiedDockWidgets | (QDockWidget ptr dockwidget) | Method QList<QDockWidget*> QMainWindow::tabifiedDockWidgets(QDockWidget *dockwidget) |
void | tabifyDockWidget | (QDockWidget ptr first, QDockWidget ptr second) | Method void QMainWindow::tabifyDockWidget(QDockWidget *first, QDockWidget *second) | |
QWidget ptr | takeCentralWidget | Method QWidget *QMainWindow::takeCentralWidget() | ||
[const] | Qt_ToolBarArea | toolBarArea | (QToolBar ptr toolbar) | Method Qt::ToolBarArea QMainWindow::toolBarArea(QToolBar *toolbar) |
[const] | bool | toolBarBreak | (QToolBar ptr toolbar) | Method bool QMainWindow::toolBarBreak(QToolBar *toolbar) |
[const] | Qt_ToolButtonStyle | toolButtonStyle | Method Qt::ToolButtonStyle QMainWindow::toolButtonStyle() | |
void | toolButtonStyle= | (const Qt_ToolButtonStyle toolButtonStyle) | Method void QMainWindow::setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle) | |
[signal] | void | toolButtonStyleChanged | (const Qt_ToolButtonStyle toolButtonStyle) | Signal declaration for QMainWindow::toolButtonStyleChanged(Qt::ToolButtonStyle toolButtonStyle) |
[const] | bool | unifiedTitleAndToolBarOnMac | Method bool QMainWindow::unifiedTitleAndToolBarOnMac() | |
void | unifiedTitleAndToolBarOnMac= | (bool set) | Method void QMainWindow::setUnifiedTitleAndToolBarOnMac(bool set) | |
[signal] | void | windowIconChanged | (const QIcon icon) | Signal declaration for QMainWindow::windowIconChanged(const QIcon &icon) |
[signal] | void | windowIconTextChanged | (string iconText) | Signal declaration for QMainWindow::windowIconTextChanged(const QString &iconText) |
[signal] | void | windowTitleChanged | (string title) | Signal declaration for QMainWindow::windowTitleChanged(const QString &title) |
[static,const] | QMainWindow_DockOption | AllowNestedDocks | Enum constant QMainWindow::AllowNestedDocks | |
[static,const] | QMainWindow_DockOption | AllowTabbedDocks | Enum constant QMainWindow::AllowTabbedDocks | |
[static,const] | QMainWindow_DockOption | AnimatedDocks | Enum constant QMainWindow::AnimatedDocks | |
[static,const] | QMainWindow_DockOption | ForceTabbedDocks | Enum constant QMainWindow::ForceTabbedDocks | |
[static,const] | QMainWindow_DockOption | GroupedDragging | Enum constant QMainWindow::GroupedDragging | |
[static,const] | QMainWindow_DockOption | VerticalTabs | Enum constant QMainWindow::VerticalTabs | |
QMetaObject | staticMetaObject | Obtains the static MetaObject for this class. | ||
string | tr | (string s, string c = nullptr, int n = -1) | Static method QString QMainWindow::tr(const char *s, const char *c, int n) | |
string | trUtf8 | (string s, string c = nullptr, int n = -1) | Static method QString QMainWindow::trUtf8(const char *s, const char *c, int n) |
void | actionEvent | (QActionEvent ptr event) | Virtual method void QMainWindow::actionEvent(QActionEvent *event) | ||
void | changeEvent | (QEvent ptr arg1) | Virtual method void QMainWindow::changeEvent(QEvent *) | ||
void | childEvent | (QChildEvent ptr event) | Virtual method void QMainWindow::childEvent(QChildEvent *event) | ||
void | closeEvent | (QCloseEvent ptr event) | Virtual method void QMainWindow::closeEvent(QCloseEvent *event) | ||
void | contextMenuEvent | (QContextMenuEvent ptr event) | Virtual method void QMainWindow::contextMenuEvent(QContextMenuEvent *event) | ||
void | create | (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true) | Method void QMainWindow::create(WId, bool initializeWindow, bool destroyOldWindow) | ||
void | customEvent | (QEvent ptr event) | Virtual method void QMainWindow::customEvent(QEvent *event) | ||
void | destroy | (bool destroyWindow = true, bool destroySubWindows = true) | Method void QMainWindow::destroy(bool destroyWindow, bool destroySubWindows) | ||
void | disconnectNotify | (const QMetaMethod signal) | Virtual method void QMainWindow::disconnectNotify(const QMetaMethod &signal) | ||
void | dragEnterEvent | (QDragEnterEvent ptr event) | Virtual method void QMainWindow::dragEnterEvent(QDragEnterEvent *event) | ||
void | dragLeaveEvent | (QDragLeaveEvent ptr event) | Virtual method void QMainWindow::dragLeaveEvent(QDragLeaveEvent *event) | ||
void | dragMoveEvent | (QDragMoveEvent ptr event) | Virtual method void QMainWindow::dragMoveEvent(QDragMoveEvent *event) | ||
void | dropEvent | (QDropEvent ptr event) | Virtual method void QMainWindow::dropEvent(QDropEvent *event) | ||
void | enterEvent | (QEvent ptr event) | Virtual method void QMainWindow::enterEvent(QEvent *event) | ||
bool | event | (QEvent ptr event) | Virtual method bool QMainWindow::event(QEvent *event) | ||
void | focusInEvent | (QFocusEvent ptr event) | Virtual method void QMainWindow::focusInEvent(QFocusEvent *event) | ||
bool | focusNextChild | Method bool QMainWindow::focusNextChild() | |||
bool | focusNextPrevChild | (bool next) | Virtual method bool QMainWindow::focusNextPrevChild(bool next) | ||
void | focusOutEvent | (QFocusEvent ptr event) | Virtual method void QMainWindow::focusOutEvent(QFocusEvent *event) | ||
bool | focusPreviousChild | Method bool QMainWindow::focusPreviousChild() | |||
void | hideEvent | (QHideEvent ptr event) | Virtual method void QMainWindow::hideEvent(QHideEvent *event) | ||
[const] | void | initPainter | (QPainter ptr painter) | Virtual method void QMainWindow::initPainter(QPainter *painter) | |
void | inputMethodEvent | (QInputMethodEvent ptr arg1) | Virtual method void QMainWindow::inputMethodEvent(QInputMethodEvent *) | ||
[const] | bool | isSignalConnected | (const QMetaMethod signal) | Method bool QMainWindow::isSignalConnected(const QMetaMethod &signal) | |
void | keyPressEvent | (QKeyEvent ptr event) | Virtual method void QMainWindow::keyPressEvent(QKeyEvent *event) | ||
void | keyReleaseEvent | (QKeyEvent ptr event) | Virtual method void QMainWindow::keyReleaseEvent(QKeyEvent *event) | ||
void | leaveEvent | (QEvent ptr event) | Virtual method void QMainWindow::leaveEvent(QEvent *event) | ||
[const] | int | metric | (const QPaintDevice_PaintDeviceMetric arg1) | Virtual method int QMainWindow::metric(QPaintDevice::PaintDeviceMetric) | |
void | mouseDoubleClickEvent | (QMouseEvent ptr event) | Virtual method void QMainWindow::mouseDoubleClickEvent(QMouseEvent *event) | ||
void | mouseMoveEvent | (QMouseEvent ptr event) | Virtual method void QMainWindow::mouseMoveEvent(QMouseEvent *event) | ||
void | mousePressEvent | (QMouseEvent ptr event) | Virtual method void QMainWindow::mousePressEvent(QMouseEvent *event) | ||
void | mouseReleaseEvent | (QMouseEvent ptr event) | Virtual method void QMainWindow::mouseReleaseEvent(QMouseEvent *event) | ||
void | moveEvent | (QMoveEvent ptr event) | Virtual method void QMainWindow::moveEvent(QMoveEvent *event) | ||
bool | nativeEvent | (bytes eventType, void * message, long ptr result) | Virtual method bool QMainWindow::nativeEvent(const QByteArray &eventType, void *message, long int *result) | ||
void | paintEvent | (QPaintEvent ptr event) | Virtual method void QMainWindow::paintEvent(QPaintEvent *event) | ||
void | qt_create | (unsigned long long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true) | Method void QMainWindow::create(WId, bool initializeWindow, bool destroyOldWindow) | ||
void | qt_destroy | (bool destroyWindow = true, bool destroySubWindows = true) | Method void QMainWindow::destroy(bool destroyWindow, bool destroySubWindows) | ||
[const] | int | receivers | (string signal) | Method int QMainWindow::receivers(const char *signal) | |
[const] | QPaintDevice ptr | redirected | (QPoint ptr offset) | Virtual method QPaintDevice *QMainWindow::redirected(QPoint *offset) | |
void | resizeEvent | (QResizeEvent ptr event) | Virtual method void QMainWindow::resizeEvent(QResizeEvent *event) | ||
[const] | QObject ptr | sender | Method QObject *QMainWindow::sender() | ||
[const] | int | senderSignalIndex | Method int QMainWindow::senderSignalIndex() | ||
[const] | QPainter ptr | sharedPainter | Virtual method QPainter *QMainWindow::sharedPainter() | ||
void | showEvent | (QShowEvent ptr event) | Virtual method void QMainWindow::showEvent(QShowEvent *event) | ||
void | tabletEvent | (QTabletEvent ptr event) | Virtual method void QMainWindow::tabletEvent(QTabletEvent *event) | ||
void | timerEvent | (QTimerEvent ptr event) | Virtual method void QMainWindow::timerEvent(QTimerEvent *event) | ||
void | updateMicroFocus | Method void QMainWindow::updateMicroFocus() | |||
void | wheelEvent | (QWheelEvent ptr event) | Virtual method void QMainWindow::wheelEvent(QWheelEvent *event) |
AllowNestedDocks | Signature: [static,const] QMainWindow_DockOption AllowNestedDocks Description: Enum constant QMainWindow::AllowNestedDocks Python specific notes: |
AllowTabbedDocks | Signature: [static,const] QMainWindow_DockOption AllowTabbedDocks Description: Enum constant QMainWindow::AllowTabbedDocks Python specific notes: |
AnimatedDocks | Signature: [static,const] QMainWindow_DockOption AnimatedDocks Description: Enum constant QMainWindow::AnimatedDocks Python specific notes: |
ForceTabbedDocks | Signature: [static,const] QMainWindow_DockOption ForceTabbedDocks Description: Enum constant QMainWindow::ForceTabbedDocks Python specific notes: |
GroupedDragging | Signature: [static,const] QMainWindow_DockOption GroupedDragging Description: Enum constant QMainWindow::GroupedDragging Python specific notes: |
VerticalTabs | Signature: [static,const] QMainWindow_DockOption VerticalTabs Description: Enum constant QMainWindow::VerticalTabs Python specific notes: |
_const_cast | Signature: [const] QMainWindow 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 QMainWindow::actionEvent(QActionEvent *event) 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: |
animated= | Signature: void animated= (bool enabled) Description: Method void QMainWindow::setAnimated(bool enabled) Python specific notes: |
centralWidget | Signature: [const] QWidget ptr centralWidget Description: Method QWidget *QMainWindow::centralWidget() Python specific notes: |
centralWidget= | Signature: void centralWidget= (QWidget ptr widget) Description: Method void QMainWindow::setCentralWidget(QWidget *widget) Python specific notes: |
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 event) Description: Virtual method void QMainWindow::childEvent(QChildEvent *event) This method can be reimplemented in a derived class. |
closeEvent | Signature: void closeEvent (QCloseEvent ptr event) Description: Virtual method void QMainWindow::closeEvent(QCloseEvent *event) 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 (unsigned long 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. |
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: |
customEvent | Signature: void customEvent (QEvent ptr event) Description: Virtual method void QMainWindow::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 QMainWindow::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 QMainWindow::destroyed(QObject *) You can bind a procedure to this signal. Python specific notes: |
disconnectNotify | Signature: void disconnectNotify (const QMetaMethod signal) Description: Virtual method void QMainWindow::disconnectNotify(const QMetaMethod &signal) This method can be reimplemented in a derived class. |
dockNestingEnabled | Signature: [const] bool dockNestingEnabled Description: Method bool QMainWindow::isDockNestingEnabled() Python specific notes: |
dockNestingEnabled= | Signature: void dockNestingEnabled= (bool enabled) Description: Method void QMainWindow::setDockNestingEnabled(bool enabled) Python specific notes: |
dockOptions | Signature: [const] QMainWindow_QFlags_DockOption dockOptions Description: Method QFlags<QMainWindow::DockOption> QMainWindow::dockOptions() Python specific notes: |
dockOptions= | Signature: void dockOptions= (QMainWindow_QFlags_DockOption options) Description: Method void QMainWindow::setDockOptions(QFlags<QMainWindow::DockOption> options) Python specific notes: |
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: |
documentMode= | Signature: void documentMode= (bool enabled) Description: Method void QMainWindow::setDocumentMode(bool enabled) Python specific notes: |
dragEnterEvent | Signature: void dragEnterEvent (QDragEnterEvent ptr event) Description: Virtual method void QMainWindow::dragEnterEvent(QDragEnterEvent *event) This method can be reimplemented in a derived class. |
dragLeaveEvent | Signature: void dragLeaveEvent (QDragLeaveEvent ptr event) Description: Virtual method void QMainWindow::dragLeaveEvent(QDragLeaveEvent *event) This method can be reimplemented in a derived class. |
dragMoveEvent | Signature: void dragMoveEvent (QDragMoveEvent ptr event) Description: Virtual method void QMainWindow::dragMoveEvent(QDragMoveEvent *event) This method can be reimplemented in a derived class. |
dropEvent | Signature: void dropEvent (QDropEvent ptr event) Description: Virtual method void QMainWindow::dropEvent(QDropEvent *event) 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 = nullptr) 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_objectNameChanged | Signature: void emit_objectNameChanged (string objectName) Description: Emitter for signal void QMainWindow::objectNameChanged(const QString &objectName) Call this method to emit this signal. |
emit_tabifiedDockWidgetActivated | Signature: void emit_tabifiedDockWidgetActivated (QDockWidget ptr dockWidget) Description: Emitter for signal void QMainWindow::tabifiedDockWidgetActivated(QDockWidget *dockWidget) 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. |
emit_windowIconChanged | Signature: void emit_windowIconChanged (const QIcon icon) Description: Emitter for signal void QMainWindow::windowIconChanged(const QIcon &icon) Call this method to emit this signal. |
emit_windowIconTextChanged | Signature: void emit_windowIconTextChanged (string iconText) Description: Emitter for signal void QMainWindow::windowIconTextChanged(const QString &iconText) Call this method to emit this signal. |
emit_windowTitleChanged | Signature: void emit_windowTitleChanged (string title) Description: Emitter for signal void QMainWindow::windowTitleChanged(const QString &title) Call this method to emit this signal. |
enterEvent | Signature: void enterEvent (QEvent ptr event) Description: Virtual method void QMainWindow::enterEvent(QEvent *event) 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 watched, QEvent ptr event) Description: Virtual method bool QMainWindow::eventFilter(QObject *watched, QEvent *event) This method can be reimplemented in a derived class. |
focusInEvent | Signature: void focusInEvent (QFocusEvent ptr event) Description: Virtual method void QMainWindow::focusInEvent(QFocusEvent *event) 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 event) Description: Virtual method void QMainWindow::focusOutEvent(QFocusEvent *event) 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. |
hasHeightForWidth | Signature: [const] bool hasHeightForWidth Description: Virtual method bool QMainWindow::hasHeightForWidth() 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 event) Description: Virtual method void QMainWindow::hideEvent(QHideEvent *event) This method can be reimplemented in a derived class. |
iconSize | Signature: [const] QSize iconSize Description: Method QSize QMainWindow::iconSize() Python specific notes: |
iconSize= | Signature: void iconSize= (const QSize iconSize) Description: Method void QMainWindow::setIconSize(const QSize &iconSize) Python specific notes: |
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: |
initPainter | Signature: [const] void initPainter (QPainter ptr painter) Description: Virtual method void QMainWindow::initPainter(QPainter *painter) This method can be reimplemented in a derived class. |
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: |
isDockNestingEnabled? | Signature: [const] bool isDockNestingEnabled? Description: Method bool QMainWindow::isDockNestingEnabled() Python specific notes: |
isSeparator? | Signature: [const] bool isSeparator? (const QPoint pos) Description: Method bool QMainWindow::isSeparator(const QPoint &pos) |
isSignalConnected | Signature: [const] bool isSignalConnected (const QMetaMethod signal) Description: Method bool QMainWindow::isSignalConnected(const QMetaMethod &signal) This method is protected and can only be called from inside a derived class. |
keyPressEvent | Signature: void keyPressEvent (QKeyEvent ptr event) Description: Virtual method void QMainWindow::keyPressEvent(QKeyEvent *event) This method can be reimplemented in a derived class. |
keyReleaseEvent | Signature: void keyReleaseEvent (QKeyEvent ptr event) Description: Virtual method void QMainWindow::keyReleaseEvent(QKeyEvent *event) This method can be reimplemented in a derived class. |
leaveEvent | Signature: void leaveEvent (QEvent ptr event) Description: Virtual method void QMainWindow::leaveEvent(QEvent *event) This method can be reimplemented in a derived class. |
menuBar | Signature: [const] QMenuBar ptr menuBar Description: Method QMenuBar *QMainWindow::menuBar() Python specific notes: |
menuBar= | Signature: void menuBar= (QMenuBar ptr menubar) Description: Method void QMainWindow::setMenuBar(QMenuBar *menubar) Python specific notes: |
menuWidget | Signature: [const] QWidget ptr menuWidget Description: Method QWidget *QMainWindow::menuWidget() Python specific notes: |
menuWidget= | Signature: void menuWidget= (QWidget ptr menubar) Description: Method void QMainWindow::setMenuWidget(QWidget *menubar) Python specific notes: |
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 event) Description: Virtual method void QMainWindow::mouseDoubleClickEvent(QMouseEvent *event) This method can be reimplemented in a derived class. |
mouseMoveEvent | Signature: void mouseMoveEvent (QMouseEvent ptr event) Description: Virtual method void QMainWindow::mouseMoveEvent(QMouseEvent *event) This method can be reimplemented in a derived class. |
mousePressEvent | Signature: void mousePressEvent (QMouseEvent ptr event) Description: Virtual method void QMainWindow::mousePressEvent(QMouseEvent *event) This method can be reimplemented in a derived class. |
mouseReleaseEvent | Signature: void mouseReleaseEvent (QMouseEvent ptr event) Description: Virtual method void QMainWindow::mouseReleaseEvent(QMouseEvent *event) This method can be reimplemented in a derived class. |
moveEvent | Signature: void moveEvent (QMoveEvent ptr event) Description: Virtual method void QMainWindow::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 QMainWindow::nativeEvent(const QByteArray &eventType, void *message, long int *result) This method can be reimplemented in a derived class. |
new | Signature: [static] new QMainWindow new (QWidget ptr parent = nullptr, Qt_QFlags_WindowType flags = Qt::WindowFlags()) Description: Constructor QMainWindow::QMainWindow(QWidget *parent, QFlags<Qt::WindowType> flags) This method creates an object of class QMainWindow. Python specific notes: |
objectNameChanged | Signature: [signal] void objectNameChanged (string objectName) Description: Signal declaration for QMainWindow::objectNameChanged(const QString &objectName) You can bind a procedure to this signal. Python specific notes: |
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 event) Description: Virtual method void QMainWindow::paintEvent(QPaintEvent *event) 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 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. |
redirected | Signature: [const] QPaintDevice ptr redirected (QPoint ptr offset) Description: Virtual method QPaintDevice *QMainWindow::redirected(QPoint *offset) This method can be reimplemented in 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) |
resizeDocks | Signature: void resizeDocks (QDockWidget ptr[] docks, int[] sizes, const Qt_Orientation orientation) Description: Method void QMainWindow::resizeDocks(const QList<QDockWidget *> &docks, const QList<int> &sizes, Qt::Orientation orientation) |
resizeEvent | Signature: void resizeEvent (QResizeEvent ptr event) Description: Virtual method void QMainWindow::resizeEvent(QResizeEvent *event) 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. |
senderSignalIndex | Signature: [const] int senderSignalIndex Description: Method int QMainWindow::senderSignalIndex() 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: |
setCentralWidget | Signature: void setCentralWidget (QWidget ptr widget) Description: Method void QMainWindow::setCentralWidget(QWidget *widget) Python specific notes: |
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: |
setDockOptions | Signature: void setDockOptions (QMainWindow_QFlags_DockOption options) Description: Method void QMainWindow::setDockOptions(QFlags<QMainWindow::DockOption> options) Python specific notes: |
setDocumentMode | Signature: void setDocumentMode (bool enabled) Description: Method void QMainWindow::setDocumentMode(bool enabled) Python specific notes: |
setIconSize | Signature: void setIconSize (const QSize iconSize) Description: Method void QMainWindow::setIconSize(const QSize &iconSize) Python specific notes: |
setMenuBar | Signature: void setMenuBar (QMenuBar ptr menubar) Description: Method void QMainWindow::setMenuBar(QMenuBar *menubar) Python specific notes: |
setMenuWidget | Signature: void setMenuWidget (QWidget ptr menubar) Description: Method void QMainWindow::setMenuWidget(QWidget *menubar) Python specific notes: |
setStatusBar | Signature: void setStatusBar (QStatusBar ptr statusbar) Description: Method void QMainWindow::setStatusBar(QStatusBar *statusbar) Python specific notes: |
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: |
setToolButtonStyle | Signature: void setToolButtonStyle (const Qt_ToolButtonStyle toolButtonStyle) Description: Method void QMainWindow::setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle) Python specific notes: |
setUnifiedTitleAndToolBarOnMac | Signature: void setUnifiedTitleAndToolBarOnMac (bool set) Description: Method void QMainWindow::setUnifiedTitleAndToolBarOnMac(bool set) Python specific notes: |
setVisible | Signature: void setVisible (bool visible) Description: Virtual method void QMainWindow::setVisible(bool visible) This method can be reimplemented in a derived class. |
sharedPainter | Signature: [const] QPainter ptr sharedPainter Description: Virtual method QPainter *QMainWindow::sharedPainter() This method can be reimplemented in a derived class. |
showEvent | Signature: void showEvent (QShowEvent ptr event) Description: Virtual method void QMainWindow::showEvent(QShowEvent *event) 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: |
statusBar= | Signature: void statusBar= (QStatusBar ptr statusbar) Description: Method void QMainWindow::setStatusBar(QStatusBar *statusbar) Python specific notes: |
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: |
tabShape= | Signature: void tabShape= (const QTabWidget_TabShape tabShape) Description: Method void QMainWindow::setTabShape(QTabWidget::TabShape tabShape) Python specific notes: |
tabifiedDockWidgetActivated | Signature: [signal] void tabifiedDockWidgetActivated (QDockWidget ptr dockWidget) Description: Signal declaration for QMainWindow::tabifiedDockWidgetActivated(QDockWidget *dockWidget) You can bind a procedure to this signal. Python specific notes: |
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 event) Description: Virtual method void QMainWindow::tabletEvent(QTabletEvent *event) This method can be reimplemented in a derived class. |
takeCentralWidget | Signature: QWidget ptr takeCentralWidget Description: Method QWidget *QMainWindow::takeCentralWidget() |
timerEvent | Signature: void timerEvent (QTimerEvent ptr event) Description: Virtual method void QMainWindow::timerEvent(QTimerEvent *event) 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: |
toolButtonStyle= | Signature: void toolButtonStyle= (const Qt_ToolButtonStyle toolButtonStyle) Description: Method void QMainWindow::setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle) Python specific notes: |
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: |
tr | Signature: [static] string tr (string s, string c = nullptr, int n = -1) 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 | Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1) 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: |
unifiedTitleAndToolBarOnMac= | Signature: void unifiedTitleAndToolBarOnMac= (bool set) Description: Method void QMainWindow::setUnifiedTitleAndToolBarOnMac(bool set) Python specific notes: |
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 event) Description: Virtual method void QMainWindow::wheelEvent(QWheelEvent *event) This method can be reimplemented in a derived class. |
windowIconChanged | Signature: [signal] void windowIconChanged (const QIcon icon) Description: Signal declaration for QMainWindow::windowIconChanged(const QIcon &icon) You can bind a procedure to this signal. Python specific notes: |
windowIconTextChanged | Signature: [signal] void windowIconTextChanged (string iconText) Description: Signal declaration for QMainWindow::windowIconTextChanged(const QString &iconText) You can bind a procedure to this signal. Python specific notes: |
windowTitleChanged | Signature: [signal] void windowTitleChanged (string title) Description: Signal declaration for QMainWindow::windowTitleChanged(const QString &title) You can bind a procedure to this signal. Python specific notes: |