Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtGui »

Classe « QWindow »

Informations générales

Héritage

builtins.object
    Object
        QSurface
builtins.object
    Object
        QObject
            QWindow

Définition

class QWindow(QObject, QSurface):

Description [extrait de QWindow.__doc__]

QWindow(self, parent: PySide6.QtGui.QWindow) -> None
QWindow(self, screen: Optional[PySide6.QtGui.QScreen] = None) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AutomaticVisibilityPySide6.QtGui.QWindow.Visibility.AutomaticVisibility
Direct3DSurfacePySide6.QtGui.QSurface.SurfaceType.Direct3DSurface
ExcludeTransientsPySide6.QtGui.QWindow.AncestorMode.ExcludeTransients
FullScreenPySide6.QtGui.QWindow.Visibility.FullScreen
HiddenPySide6.QtGui.QWindow.Visibility.Hidden
IncludeTransientsPySide6.QtGui.QWindow.AncestorMode.IncludeTransients
MaximizedPySide6.QtGui.QWindow.Visibility.Maximized
MetalSurfacePySide6.QtGui.QSurface.SurfaceType.MetalSurface
MinimizedPySide6.QtGui.QWindow.Visibility.Minimized
OffscreenPySide6.QtGui.QSurface.SurfaceClass.Offscreen
OpenGLSurfacePySide6.QtGui.QSurface.SurfaceType.OpenGLSurface
OpenVGSurfacePySide6.QtGui.QSurface.SurfaceType.OpenVGSurface
RasterGLSurfacePySide6.QtGui.QSurface.SurfaceType.RasterGLSurface
RasterSurfacePySide6.QtGui.QSurface.SurfaceType.RasterSurface
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40e27ea440>
VulkanSurfacePySide6.QtGui.QSurface.SurfaceType.VulkanSurface
WindowPySide6.QtGui.QSurface.SurfaceClass.Window
WindowedPySide6.QtGui.QWindow.Visibility.Windowed

Attributs statiques hérités de la classe QSurface

m_type

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__repr__(self) Return repr(self). [extrait de __repr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
accessibleRoot(self) -> PySide6.QtGui.QAccessibleInterface accessibleRoot(self) -> PySide6.QtGui.QAccessibleInterface [extrait de accessibleRoot.__doc__]
activeChanged
alert(self, msec: int) -> None alert(self, msec: int) -> None [extrait de alert.__doc__]
AncestorMode
baseSize(self) -> PySide6.QtCore.QSize baseSize(self) -> PySide6.QtCore.QSize [extrait de baseSize.__doc__]
close(self) -> bool close(self) -> bool [extrait de close.__doc__]
closeEvent(self, arg__1: PySide6.QtGui.QCloseEvent) -> None closeEvent(self, arg__1: PySide6.QtGui.QCloseEvent) -> None [extrait de closeEvent.__doc__]
contentOrientation(self) -> PySide6.QtCore.Qt.ScreenOrientation contentOrientation(self) -> PySide6.QtCore.Qt.ScreenOrientation [extrait de contentOrientation.__doc__]
contentOrientationChanged
create(self) -> None create(self) -> None [extrait de create.__doc__]
cursor(self) -> PySide6.QtGui.QCursor cursor(self) -> PySide6.QtGui.QCursor [extrait de cursor.__doc__]
destroy(self) -> None destroy(self) -> None [extrait de destroy.__doc__]
destroyed
devicePixelRatio(self) -> float devicePixelRatio(self) -> float [extrait de devicePixelRatio.__doc__]
event(self, arg__1: PySide6.QtCore.QEvent) -> bool event(self, arg__1: PySide6.QtCore.QEvent) -> bool [extrait de event.__doc__]
exposeEvent(self, arg__1: PySide6.QtGui.QExposeEvent) -> None exposeEvent(self, arg__1: PySide6.QtGui.QExposeEvent) -> None [extrait de exposeEvent.__doc__]
filePath(self) -> str filePath(self) -> str [extrait de filePath.__doc__]
flags(self) -> PySide6.QtCore.Qt.WindowFlags flags(self) -> PySide6.QtCore.Qt.WindowFlags [extrait de flags.__doc__]
focusInEvent(self, arg__1: PySide6.QtGui.QFocusEvent) -> None focusInEvent(self, arg__1: PySide6.QtGui.QFocusEvent) -> None [extrait de focusInEvent.__doc__]
focusObject(self) -> PySide6.QtCore.QObject focusObject(self) -> PySide6.QtCore.QObject [extrait de focusObject.__doc__]
focusObjectChanged
focusOutEvent(self, arg__1: PySide6.QtGui.QFocusEvent) -> None focusOutEvent(self, arg__1: PySide6.QtGui.QFocusEvent) -> None [extrait de focusOutEvent.__doc__]
format(self) -> PySide6.QtGui.QSurfaceFormat format(self) -> PySide6.QtGui.QSurfaceFormat [extrait de format.__doc__]
frameGeometry(self) -> PySide6.QtCore.QRect frameGeometry(self) -> PySide6.QtCore.QRect [extrait de frameGeometry.__doc__]
frameMargins(self) -> PySide6.QtCore.QMargins frameMargins(self) -> PySide6.QtCore.QMargins [extrait de frameMargins.__doc__]
framePosition(self) -> PySide6.QtCore.QPoint framePosition(self) -> PySide6.QtCore.QPoint [extrait de framePosition.__doc__]
fromWinId(id: int) -> PySide6.QtGui.QWindow fromWinId(id: int) -> PySide6.QtGui.QWindow [extrait de fromWinId.__doc__]
geometry(self) -> PySide6.QtCore.QRect geometry(self) -> PySide6.QtCore.QRect [extrait de geometry.__doc__]
height(self) -> int height(self) -> int [extrait de height.__doc__]
heightChanged
hide(self) -> None hide(self) -> None [extrait de hide.__doc__]
hideEvent(self, arg__1: PySide6.QtGui.QHideEvent) -> None hideEvent(self, arg__1: PySide6.QtGui.QHideEvent) -> None [extrait de hideEvent.__doc__]
icon(self) -> PySide6.QtGui.QIcon icon(self) -> PySide6.QtGui.QIcon [extrait de icon.__doc__]
isActive(self) -> bool isActive(self) -> bool [extrait de isActive.__doc__]
isAncestorOf(self, child: PySide6.QtGui.QWindow, mode: PySide6.QtGui.QWindow.AncestorMode = PySide6.QtGui.QWindow.AncestorMode.IncludeTransients) -> bool isAncestorOf(self, child: PySide6.QtGui.QWindow, mode: PySide6.QtGui.QWindow.AncestorMode = PySide6.QtGui.QWindow.AncestorMode.IncludeTransients) -> bool [extrait de isAncestorOf.__doc__]
isExposed(self) -> bool isExposed(self) -> bool [extrait de isExposed.__doc__]
isModal(self) -> bool isModal(self) -> bool [extrait de isModal.__doc__]
isTopLevel(self) -> bool isTopLevel(self) -> bool [extrait de isTopLevel.__doc__]
isVisible(self) -> bool isVisible(self) -> bool [extrait de isVisible.__doc__]
keyPressEvent(self, arg__1: PySide6.QtGui.QKeyEvent) -> None keyPressEvent(self, arg__1: PySide6.QtGui.QKeyEvent) -> None [extrait de keyPressEvent.__doc__]
keyReleaseEvent(self, arg__1: PySide6.QtGui.QKeyEvent) -> None keyReleaseEvent(self, arg__1: PySide6.QtGui.QKeyEvent) -> None [extrait de keyReleaseEvent.__doc__]
lower(self) -> None lower(self) -> None [extrait de lower.__doc__]
mapFromGlobal mapFromGlobal(self, pos: PySide6.QtCore.QPoint) -> PySide6.QtCore.QPoint [extrait de mapFromGlobal.__doc__]
mapToGlobal mapToGlobal(self, pos: PySide6.QtCore.QPoint) -> PySide6.QtCore.QPoint [extrait de mapToGlobal.__doc__]
mask(self) -> PySide6.QtGui.QRegion mask(self) -> PySide6.QtGui.QRegion [extrait de mask.__doc__]
maximumHeight(self) -> int maximumHeight(self) -> int [extrait de maximumHeight.__doc__]
maximumHeightChanged
maximumSize(self) -> PySide6.QtCore.QSize maximumSize(self) -> PySide6.QtCore.QSize [extrait de maximumSize.__doc__]
maximumWidth(self) -> int maximumWidth(self) -> int [extrait de maximumWidth.__doc__]
maximumWidthChanged
minimumHeight(self) -> int minimumHeight(self) -> int [extrait de minimumHeight.__doc__]
minimumHeightChanged
minimumSize(self) -> PySide6.QtCore.QSize minimumSize(self) -> PySide6.QtCore.QSize [extrait de minimumSize.__doc__]
minimumWidth(self) -> int minimumWidth(self) -> int [extrait de minimumWidth.__doc__]
minimumWidthChanged
modality(self) -> PySide6.QtCore.Qt.WindowModality modality(self) -> PySide6.QtCore.Qt.WindowModality [extrait de modality.__doc__]
modalityChanged
mouseDoubleClickEvent(self, arg__1: PySide6.QtGui.QMouseEvent) -> None mouseDoubleClickEvent(self, arg__1: PySide6.QtGui.QMouseEvent) -> None [extrait de mouseDoubleClickEvent.__doc__]
mouseMoveEvent(self, arg__1: PySide6.QtGui.QMouseEvent) -> None mouseMoveEvent(self, arg__1: PySide6.QtGui.QMouseEvent) -> None [extrait de mouseMoveEvent.__doc__]
mousePressEvent(self, arg__1: PySide6.QtGui.QMouseEvent) -> None mousePressEvent(self, arg__1: PySide6.QtGui.QMouseEvent) -> None [extrait de mousePressEvent.__doc__]
mouseReleaseEvent(self, arg__1: PySide6.QtGui.QMouseEvent) -> None mouseReleaseEvent(self, arg__1: PySide6.QtGui.QMouseEvent) -> None [extrait de mouseReleaseEvent.__doc__]
moveEvent(self, arg__1: PySide6.QtGui.QMoveEvent) -> None moveEvent(self, arg__1: PySide6.QtGui.QMoveEvent) -> None [extrait de moveEvent.__doc__]
nativeEvent(self, eventType: Union[PySide6.QtCore.QByteArray, bytes], message: int) -> Tuple[object, int] nativeEvent(self, eventType: Union[PySide6.QtCore.QByteArray, bytes], message: int) -> Tuple[object, int] [extrait de nativeEvent.__doc__]
objectNameChanged
opacity(self) -> float opacity(self) -> float [extrait de opacity.__doc__]
opacityChanged
paintEvent(self, arg__1: PySide6.QtGui.QPaintEvent) -> None paintEvent(self, arg__1: PySide6.QtGui.QPaintEvent) -> None [extrait de paintEvent.__doc__]
parent(self, mode: PySide6.QtGui.QWindow.AncestorMode = PySide6.QtGui.QWindow.AncestorMode.ExcludeTransients) -> PySide6.QtGui.QWindow parent(self, mode: PySide6.QtGui.QWindow.AncestorMode = PySide6.QtGui.QWindow.AncestorMode.ExcludeTransients) -> PySide6.QtGui.QWindow [extrait de parent.__doc__]
position(self) -> PySide6.QtCore.QPoint position(self) -> PySide6.QtCore.QPoint [extrait de position.__doc__]
raise_(self) -> None raise_(self) -> None [extrait de raise_.__doc__]
reportContentOrientationChange(self, orientation: PySide6.QtCore.Qt.ScreenOrientation) -> None reportContentOrientationChange(self, orientation: PySide6.QtCore.Qt.ScreenOrientation) -> None [extrait de reportContentOrientationChange.__doc__]
requestActivate(self) -> None requestActivate(self) -> None [extrait de requestActivate.__doc__]
requestedFormat(self) -> PySide6.QtGui.QSurfaceFormat requestedFormat(self) -> PySide6.QtGui.QSurfaceFormat [extrait de requestedFormat.__doc__]
requestUpdate(self) -> None requestUpdate(self) -> None [extrait de requestUpdate.__doc__]
resize resize(self, newSize: PySide6.QtCore.QSize) -> None [extrait de resize.__doc__]
resizeEvent(self, arg__1: PySide6.QtGui.QResizeEvent) -> None resizeEvent(self, arg__1: PySide6.QtGui.QResizeEvent) -> None [extrait de resizeEvent.__doc__]
resolveInterface(self, name: bytes, revision: int) -> int resolveInterface(self, name: bytes, revision: int) -> int [extrait de resolveInterface.__doc__]
screen(self) -> PySide6.QtGui.QScreen screen(self) -> PySide6.QtGui.QScreen [extrait de screen.__doc__]
screenChanged
setBaseSize(self, size: PySide6.QtCore.QSize) -> None setBaseSize(self, size: PySide6.QtCore.QSize) -> None [extrait de setBaseSize.__doc__]
setCursor(self, arg__1: Union[PySide6.QtGui.QCursor, PySide6.QtCore.Qt.CursorShape, PySide6.QtGui.QPixmap]) -> None setCursor(self, arg__1: Union[PySide6.QtGui.QCursor, PySide6.QtCore.Qt.CursorShape, PySide6.QtGui.QPixmap]) -> None [extrait de setCursor.__doc__]
setFilePath(self, filePath: str) -> None setFilePath(self, filePath: str) -> None [extrait de setFilePath.__doc__]
setFlag(self, arg__1: PySide6.QtCore.Qt.WindowType, on: bool = True) -> None setFlag(self, arg__1: PySide6.QtCore.Qt.WindowType, on: bool = True) -> None [extrait de setFlag.__doc__]
setFlags(self, flags: PySide6.QtCore.Qt.WindowFlags) -> None setFlags(self, flags: PySide6.QtCore.Qt.WindowFlags) -> None [extrait de setFlags.__doc__]
setFormat(self, format: Union[PySide6.QtGui.QSurfaceFormat, PySide6.QtGui.QSurfaceFormat.FormatOptions]) -> None setFormat(self, format: Union[PySide6.QtGui.QSurfaceFormat, PySide6.QtGui.QSurfaceFormat.FormatOptions]) -> None [extrait de setFormat.__doc__]
setFramePosition(self, point: PySide6.QtCore.QPoint) -> None setFramePosition(self, point: PySide6.QtCore.QPoint) -> None [extrait de setFramePosition.__doc__]
setGeometry setGeometry(self, posx: int, posy: int, w: int, h: int) -> None [extrait de setGeometry.__doc__]
setHeight(self, arg: int) -> None setHeight(self, arg: int) -> None [extrait de setHeight.__doc__]
setIcon(self, icon: Union[PySide6.QtGui.QIcon, PySide6.QtGui.QPixmap]) -> None setIcon(self, icon: Union[PySide6.QtGui.QIcon, PySide6.QtGui.QPixmap]) -> None [extrait de setIcon.__doc__]
setKeyboardGrabEnabled(self, grab: bool) -> bool setKeyboardGrabEnabled(self, grab: bool) -> bool [extrait de setKeyboardGrabEnabled.__doc__]
setMask(self, region: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> None setMask(self, region: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> None [extrait de setMask.__doc__]
setMaximumHeight(self, h: int) -> None setMaximumHeight(self, h: int) -> None [extrait de setMaximumHeight.__doc__]
setMaximumSize(self, size: PySide6.QtCore.QSize) -> None setMaximumSize(self, size: PySide6.QtCore.QSize) -> None [extrait de setMaximumSize.__doc__]
setMaximumWidth(self, w: int) -> None setMaximumWidth(self, w: int) -> None [extrait de setMaximumWidth.__doc__]
setMinimumHeight(self, h: int) -> None setMinimumHeight(self, h: int) -> None [extrait de setMinimumHeight.__doc__]
setMinimumSize(self, size: PySide6.QtCore.QSize) -> None setMinimumSize(self, size: PySide6.QtCore.QSize) -> None [extrait de setMinimumSize.__doc__]
setMinimumWidth(self, w: int) -> None setMinimumWidth(self, w: int) -> None [extrait de setMinimumWidth.__doc__]
setModality(self, modality: PySide6.QtCore.Qt.WindowModality) -> None setModality(self, modality: PySide6.QtCore.Qt.WindowModality) -> None [extrait de setModality.__doc__]
setMouseGrabEnabled(self, grab: bool) -> bool setMouseGrabEnabled(self, grab: bool) -> bool [extrait de setMouseGrabEnabled.__doc__]
setOpacity(self, level: float) -> None setOpacity(self, level: float) -> None [extrait de setOpacity.__doc__]
setParent(self, parent: PySide6.QtGui.QWindow) -> None setParent(self, parent: PySide6.QtGui.QWindow) -> None [extrait de setParent.__doc__]
setPosition setPosition(self, posx: int, posy: int) -> None [extrait de setPosition.__doc__]
setScreen(self, screen: PySide6.QtGui.QScreen) -> None setScreen(self, screen: PySide6.QtGui.QScreen) -> None [extrait de setScreen.__doc__]
setSizeIncrement(self, size: PySide6.QtCore.QSize) -> None setSizeIncrement(self, size: PySide6.QtCore.QSize) -> None [extrait de setSizeIncrement.__doc__]
setSurfaceType(self, surfaceType: PySide6.QtGui.QSurface.SurfaceType) -> None setSurfaceType(self, surfaceType: PySide6.QtGui.QSurface.SurfaceType) -> None [extrait de setSurfaceType.__doc__]
setTitle(self, arg__1: str) -> None setTitle(self, arg__1: str) -> None [extrait de setTitle.__doc__]
setTransientParent(self, parent: PySide6.QtGui.QWindow) -> None setTransientParent(self, parent: PySide6.QtGui.QWindow) -> None [extrait de setTransientParent.__doc__]
setVisibility(self, v: PySide6.QtGui.QWindow.Visibility) -> None setVisibility(self, v: PySide6.QtGui.QWindow.Visibility) -> None [extrait de setVisibility.__doc__]
setVisible(self, visible: bool) -> None setVisible(self, visible: bool) -> None [extrait de setVisible.__doc__]
setWidth(self, arg: int) -> None setWidth(self, arg: int) -> None [extrait de setWidth.__doc__]
setWindowState(self, state: PySide6.QtCore.Qt.WindowState) -> None setWindowState(self, state: PySide6.QtCore.Qt.WindowState) -> None [extrait de setWindowState.__doc__]
setWindowStates(self, states: PySide6.QtCore.Qt.WindowStates) -> None setWindowStates(self, states: PySide6.QtCore.Qt.WindowStates) -> None [extrait de setWindowStates.__doc__]
setX(self, arg: int) -> None setX(self, arg: int) -> None [extrait de setX.__doc__]
setY(self, arg: int) -> None setY(self, arg: int) -> None [extrait de setY.__doc__]
show(self) -> None show(self) -> None [extrait de show.__doc__]
showEvent(self, arg__1: PySide6.QtGui.QShowEvent) -> None showEvent(self, arg__1: PySide6.QtGui.QShowEvent) -> None [extrait de showEvent.__doc__]
showFullScreen(self) -> None showFullScreen(self) -> None [extrait de showFullScreen.__doc__]
showMaximized(self) -> None showMaximized(self) -> None [extrait de showMaximized.__doc__]
showMinimized(self) -> None showMinimized(self) -> None [extrait de showMinimized.__doc__]
showNormal(self) -> None showNormal(self) -> None [extrait de showNormal.__doc__]
size(self) -> PySide6.QtCore.QSize size(self) -> PySide6.QtCore.QSize [extrait de size.__doc__]
sizeIncrement(self) -> PySide6.QtCore.QSize sizeIncrement(self) -> PySide6.QtCore.QSize [extrait de sizeIncrement.__doc__]
startSystemMove(self) -> bool startSystemMove(self) -> bool [extrait de startSystemMove.__doc__]
startSystemResize(self, edges: PySide6.QtCore.Qt.Edges) -> bool startSystemResize(self, edges: PySide6.QtCore.Qt.Edges) -> bool [extrait de startSystemResize.__doc__]
surfaceHandle(self) -> int surfaceHandle(self) -> int [extrait de surfaceHandle.__doc__]
surfaceType(self) -> PySide6.QtGui.QSurface.SurfaceType surfaceType(self) -> PySide6.QtGui.QSurface.SurfaceType [extrait de surfaceType.__doc__]
tabletEvent(self, arg__1: PySide6.QtGui.QTabletEvent) -> None tabletEvent(self, arg__1: PySide6.QtGui.QTabletEvent) -> None [extrait de tabletEvent.__doc__]
title(self) -> str title(self) -> str [extrait de title.__doc__]
touchEvent(self, arg__1: PySide6.QtGui.QTouchEvent) -> None touchEvent(self, arg__1: PySide6.QtGui.QTouchEvent) -> None [extrait de touchEvent.__doc__]
tr
transientParent(self) -> PySide6.QtGui.QWindow transientParent(self) -> PySide6.QtGui.QWindow [extrait de transientParent.__doc__]
transientParentChanged
type(self) -> PySide6.QtCore.Qt.WindowType type(self) -> PySide6.QtCore.Qt.WindowType [extrait de type.__doc__]
unsetCursor(self) -> None unsetCursor(self) -> None [extrait de unsetCursor.__doc__]
Visibility
visibility(self) -> PySide6.QtGui.QWindow.Visibility visibility(self) -> PySide6.QtGui.QWindow.Visibility [extrait de visibility.__doc__]
visibilityChanged
visibleChanged
wheelEvent(self, arg__1: PySide6.QtGui.QWheelEvent) -> None wheelEvent(self, arg__1: PySide6.QtGui.QWheelEvent) -> None [extrait de wheelEvent.__doc__]
width(self) -> int width(self) -> int [extrait de width.__doc__]
widthChanged
windowState(self) -> PySide6.QtCore.Qt.WindowState windowState(self) -> PySide6.QtCore.Qt.WindowState [extrait de windowState.__doc__]
windowStateChanged
windowStates(self) -> PySide6.QtCore.Qt.WindowStates windowStates(self) -> PySide6.QtCore.Qt.WindowStates [extrait de windowStates.__doc__]
windowTitleChanged
winId(self) -> int winId(self) -> int [extrait de winId.__doc__]
x(self) -> int x(self) -> int [extrait de x.__doc__]
xChanged
y(self) -> int y(self) -> int [extrait de y.__doc__]
yChanged

Méthodes héritées de la classe QSurface

__init_subclass__, __subclasshook__, supportsOpenGL, SurfaceClass, surfaceClass, SurfaceType

Méthodes héritées de la classe QObject

__getattribute__, __init_subclass__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setProperty, signalsBlocked, startTimer, thread, timerEvent

Méthodes héritées de la classe Object

__getattribute__, __init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __sizeof__, __str__