PythonQt.QtGui.QWindow · declarations 004
Back to PythonQt.QtGui.QWindow
tabletEvent
tabletEvent(arg__1: Any) -> None
X.tabletEvent(arg__1)
Supplemental documentation: Qt 5 reference:
[virtual protected] void QWindow::tabletEvent(QTabletEvent *ev)
Override this to handle tablet press, move, and release events (ev).
Proximity enter and leave events are not sent to windows, they are delivered to the application instance.
Upstream PySide2 reference signatures (binding differences may apply):
tabletEvent(self, arg__1: PySide2.QtGui.QTabletEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qwindow.html#tabletEvent
title
instance-attribute
title: str
Qt 5 reference:
title : QString
This property holds the window's title in the windowing system
The window title might appear in the title area of the window decorations, depending on the windowing system and the window flags. It might also be used by the windowing system to identify the window in other contexts, such as in the task switcher.
Access functions:
| QString | title() const |
|---|---|
| void | setTitle(const QString \&) |
Notifier signal:
| void | windowTitleChanged(const QString \&title) |
|---|---|
See also flags().
Source: https://doc.qt.io/archives/qt-5.15/qwindow.html#title
touchEvent
touchEvent(arg__1: Any) -> None
X.touchEvent(arg__1)
Supplemental documentation: Qt 5 reference:
[virtual protected] void QWindow::touchEvent(QTouchEvent *ev)
Override this to handle touch events (ev).
Upstream PySide2 reference signatures (binding differences may apply):
touchEvent(self, arg__1: PySide2.QtGui.QTouchEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qwindow.html#touchEvent
transientParentChanged
transientParentChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QWindow.transientParentChanged; argument details are not documented.
type
type() -> Any
X.type()
Supplemental documentation: Qt 5 reference:
Qt::WindowType QWindow::type() const
Returns the type of the window.
This returns the part of the window flags that represents whether the window is a dialog, tooltip, popup, regular window, etc.
See also flags() and setFlags().
Upstream PySide2 reference signatures (binding differences may apply):
type(self) -> PySide2.QtCore.Qt.WindowType
Source: https://doc.qt.io/archives/qt-5.15/qwindow.html#type
unsetCursor
unsetCursor() -> None
X.unsetCursor()
Supplemental documentation: Qt 5 reference:
void QWindow::unsetCursor()
Restores the default arrow cursor for this window.
Upstream PySide2 reference signatures (binding differences may apply):
unsetCursor(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qwindow.html#unsetCursor
visibility
instance-attribute
visibility: Any
Qt 5 reference:
visibility : Visibility
This property holds the screen-occupation state of the window
Visibility is whether the window should appear in the windowing system as normal, minimized, maximized, fullscreen or hidden.
To set the visibility to AutomaticVisibility means to give the window a default visible state, which might be fullscreen or windowed depending on the platform. When reading the visibility property you will always get the actual state, never AutomaticVisibility.
This property was introduced in Qt 5.1.
Access functions:
| QWindow::Visibility | visibility() const |
|---|---|
| void | setVisibility(QWindow::Visibility v) |
Notifier signal:
| void | visibilityChanged(QWindow::Visibility visibility) |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qwindow.html#visibility
visibilityChanged
visibilityChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QWindow.visibilityChanged; argument details are not documented.
visible
instance-attribute
visible: Any
Qt 5 reference:
visible : bool
This property holds whether the window is visible or not
This property controls the visibility of the window in the windowing system.
By default, the window is not visible, you must call setVisible(true), or show() or similar to make it visible.
Note: Hiding a window does not remove the window from the windowing system, it only hides it. On windowing systems that give full screen applications a dedicated desktop (such as macOS), hiding a full screen window will not remove that desktop, but leave it blank. Another window from the same application might be shown full screen, and will fill that desktop. Use QWindow::close to completely remove a window from the windowing system.
Access functions:
| bool | isVisible() const |
|---|---|
| void | setVisible(bool visible) |
Notifier signal:
| void | visibleChanged(bool arg) |
|---|---|
See also show().
Source: https://doc.qt.io/archives/qt-5.15/qwindow.html#visible
visibleChanged
visibleChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QWindow.visibleChanged; argument details are not documented.
wheelEvent
wheelEvent(arg__1: Any) -> None
X.wheelEvent(arg__1)
Supplemental documentation: Qt 5 reference:
[virtual protected] void QWindow::wheelEvent(QWheelEvent *ev)
Override this to handle mouse wheel or other wheel events (ev).
Upstream PySide2 reference signatures (binding differences may apply):
wheelEvent(self, arg__1: PySide2.QtGui.QWheelEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qwindow.html#wheelEvent
width
instance-attribute
width: int
Qt 5 reference:
width : int
This property holds the width of the window's geometry
Access functions:
| int | width() const |
|---|---|
| void | setWidth(int arg) |
Notifier signal:
| void | widthChanged(int arg) |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qwindow.html#width
widthChanged
widthChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QWindow.widthChanged; argument details are not documented.
winId
winId() -> int
X.winId() -> int
Supplemental documentation: Qt 5 reference:
WId QWindow::winId() const
Returns the window's platform id.
Note: This function will cause the platform window to be created if it is not already. Returns 0, if the platform window creation failed.
For platforms where this id might be useful, the value returned will uniquely represent the window inside the corresponding screen.
See also screen().
Upstream PySide2 reference signatures (binding differences may apply):
winId(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qwindow.html#winId
windowState
windowState() -> Any
X.windowState()
Supplemental documentation: Qt 5 reference:
Qt::WindowState QWindow::windowState() const
the screen-occupation state of the window
See also setWindowState() and windowStates().
Upstream PySide2 reference signatures (binding differences may apply):
windowState(self) -> PySide2.QtCore.Qt.WindowState
Source: https://doc.qt.io/archives/qt-5.15/qwindow.html#windowState
windowStateChanged
windowStateChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QWindow.windowStateChanged; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QWindow::windowStateChanged(Qt::WindowState windowState)
This signal is emitted when the windowState changes, either by being set explicitly with setWindowStates(), or automatically when the user clicks one of the titlebar buttons or by other means.
Source: https://doc.qt.io/archives/qt-5.15/qwindow.html#windowStateChanged
windowTitleChanged
windowTitleChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QWindow.windowTitleChanged; argument details are not documented.
x
instance-attribute
x: int
Qt 5 reference:
x : int
This property holds the x position of the window's geometry
Access functions:
| int | x() const |
|---|---|
| void | setX(int arg) |
Notifier signal:
| void | xChanged(int arg) |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qwindow.html#x
xChanged
xChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QWindow.xChanged; argument details are not documented.
y
instance-attribute
y: int
Qt 5 reference:
y : int
This property holds the y position of the window's geometry
Access functions:
| int | y() const |
|---|---|
| void | setY(int arg) |
Notifier signal:
| void | yChanged(int arg) |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qwindow.html#y
yChanged
yChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QWindow.yChanged; argument details are not documented.