• PySide 模块
  • PySide.QtGui
  • 内容表

    上一话题

    QResizeEvent

    下一话题

    QPaintEvent

    QMoveEvent

    概要

    函数

    详细描述

    PySide.QtGui.QMoveEvent class contains event parameters for move events.

    Move events are sent to widgets that have been moved to a new position relative to their parent.

    事件处理程序 QWidget.moveEvent() receives move events.

    class PySide.QtGui. QMoveEvent ( pos , oldPos )
    参数:

    Constructs a move event with the new and old widget positions, pos and oldPos 分别。

    PySide.QtGui.QMoveEvent. oldPos ( )
    返回类型: PySide.QtCore.QPoint

    Returns the old position of the widget.

    PySide.QtGui.QMoveEvent. pos ( )
    返回类型: PySide.QtCore.QPoint

    Returns the new position of the widget. This excludes the window frame for top level widgets.