Skip to content

Commit

Permalink
Merge pull request #48 from hexchain/fix-signals
Browse files Browse the repository at this point in the history
Fix some signals
  • Loading branch information
stlehmann authored Jun 30, 2020
2 parents 91f334f + ea771bb commit bd6d944
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 42 deletions.
44 changes: 22 additions & 22 deletions PyQt5-stubs/QtGui.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -913,10 +913,10 @@ class QClipboard(QtCore.QObject):
Selection = ... # type: 'QClipboard.Mode'
FindBuffer = ... # type: 'QClipboard.Mode'

def selectionChanged(self) -> None: ...
def findBufferChanged(self) -> None: ...
def dataChanged(self) -> None: ...
def changed(self, mode: 'QClipboard.Mode') -> None: ...
selectionChanged: PYQT_SIGNAL
findBufferChanged: PYQT_SIGNAL
dataChanged: PYQT_SIGNAL
changed: PYQT_SIGNAL
def setPixmap(self, a0: QPixmap, mode: 'QClipboard.Mode' = ...) -> None: ...
def setImage(self, a0: 'QImage', mode: 'QClipboard.Mode' = ...) -> None: ...
def pixmap(self, mode: 'QClipboard.Mode' = ...) -> QPixmap: ...
Expand Down Expand Up @@ -4449,9 +4449,9 @@ class QWindow(QtCore.QObject, QSurface):
def setWindowStates(self, states: typing.Union[QtCore.Qt.WindowStates, QtCore.Qt.WindowState]) -> None: ...
def windowStates(self) -> QtCore.Qt.WindowStates: ...
def setFlag(self, a0: QtCore.Qt.WindowType, on: bool = ...) -> None: ...
def opacityChanged(self, opacity: float) -> None: ...
def activeChanged(self) -> None: ...
def visibilityChanged(self, visibility: 'QWindow.Visibility') -> None: ...
opacityChanged: PYQT_SIGNAL
activeChanged: PYQT_SIGNAL
visibilityChanged: PYQT_SIGNAL
@staticmethod
def fromWinId(id: sip.voidptr) -> 'QWindow': ...
def mask(self) -> 'QRegion': ...
Expand All @@ -4476,21 +4476,21 @@ class QWindow(QtCore.QObject, QSurface):
def moveEvent(self, a0: QMoveEvent) -> None: ...
def resizeEvent(self, a0: QResizeEvent) -> None: ...
def exposeEvent(self, a0: QExposeEvent) -> None: ...
def windowTitleChanged(self, title: str) -> None: ...
def focusObjectChanged(self, object: QtCore.QObject) -> None: ...
def contentOrientationChanged(self, orientation: QtCore.Qt.ScreenOrientation) -> None: ...
def visibleChanged(self, arg: bool) -> None: ...
def maximumHeightChanged(self, arg: int) -> None: ...
def maximumWidthChanged(self, arg: int) -> None: ...
def minimumHeightChanged(self, arg: int) -> None: ...
def minimumWidthChanged(self, arg: int) -> None: ...
def heightChanged(self, arg: int) -> None: ...
def widthChanged(self, arg: int) -> None: ...
def yChanged(self, arg: int) -> None: ...
def xChanged(self, arg: int) -> None: ...
def windowStateChanged(self, windowState: QtCore.Qt.WindowState) -> None: ...
def modalityChanged(self, modality: QtCore.Qt.WindowModality) -> None: ...
def screenChanged(self, screen: 'QScreen') -> None: ...
windowTitleChanged: PYQT_SIGNAL
focusObjectChanged: PYQT_SIGNAL
contentOrientationChanged: PYQT_SIGNAL
visibleChanged: PYQT_SIGNAL
maximumHeightChanged: PYQT_SIGNAL
maximumWidthChanged: PYQT_SIGNAL
minimumHeightChanged: PYQT_SIGNAL
minimumWidthChanged: PYQT_SIGNAL
heightChanged: PYQT_SIGNAL
widthChanged: PYQT_SIGNAL
yChanged: PYQT_SIGNAL
xChanged: PYQT_SIGNAL
windowStateChanged: PYQT_SIGNAL
modalityChanged: PYQT_SIGNAL
screenChanged: PYQT_SIGNAL
def requestUpdate(self) -> None: ...
def alert(self, msec: int) -> None: ...
def setMaximumHeight(self, h: int) -> None: ...
Expand Down
8 changes: 4 additions & 4 deletions PyQt5-stubs/QtQml.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ class QQmlEngine(QJSEngine):
def singletonInstance(self, qmlTypeId: int) -> QtCore.QObject: ...
def retranslate(self) -> None: ...
def offlineStorageDatabaseFilePath(self, databaseName: str) -> str: ...
def exit(self, retCode: int) -> None: ...
def warnings(self, warnings: typing.Iterable['QQmlError']) -> None: ...
def quit(self) -> None: ...
exit: PYQT_SIGNAL
warnings: PYQT_SIGNAL
quit: PYQT_SIGNAL
def event(self, a0: QtCore.QEvent) -> bool: ...
@staticmethod
def objectOwnership(a0: QtCore.QObject) -> 'QQmlEngine.ObjectOwnership': ...
Expand Down Expand Up @@ -228,7 +228,7 @@ class QQmlApplicationEngine(QQmlEngine):
@typing.overload
def __init__(self, filePath: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...

def objectCreated(self, object: QtCore.QObject, url: QtCore.QUrl) -> None: ...
objectCreated: PYQT_SIGNAL
def setInitialProperties(self, initialProperties: typing.Dict[str, typing.Any]) -> None: ...
def loadData(self, data: typing.Union[QtCore.QByteArray, bytes, bytearray], url: QtCore.QUrl = ...) -> None: ...
@typing.overload
Expand Down
32 changes: 16 additions & 16 deletions PyQt5-stubs/QtQuick.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,8 @@ class QQuickWindow(QtGui.QWindow):

def __init__(self, parent: typing.Optional[QtGui.QWindow] = ...) -> None: ...

def afterRenderPassRecording(self) -> None: ...
def beforeRenderPassRecording(self) -> None: ...
afterRenderPassRecording: PYQT_SIGNAL
beforeRenderPassRecording: PYQT_SIGNAL
def endExternalCommands(self) -> None: ...
def beginExternalCommands(self) -> None: ...
@staticmethod
Expand All @@ -497,14 +497,14 @@ class QQuickWindow(QtGui.QWindow):
def isSceneGraphInitialized(self) -> bool: ...
def effectiveDevicePixelRatio(self) -> float: ...
def scheduleRenderJob(self, job: QtCore.QRunnable, schedule: 'QQuickWindow.RenderStage') -> None: ...
def sceneGraphError(self, error: 'QQuickWindow.SceneGraphError', message: str) -> None: ...
def sceneGraphAboutToStop(self) -> None: ...
def afterAnimating(self) -> None: ...
def afterSynchronizing(self) -> None: ...
def openglContextCreated(self, context: QtGui.QOpenGLContext) -> None: ...
sceneGraphError: PYQT_SIGNAL
sceneGraphAboutToStop: PYQT_SIGNAL
afterAnimating: PYQT_SIGNAL
afterSynchronizing: PYQT_SIGNAL
openglContextCreated: PYQT_SIGNAL
def resetOpenGLState(self) -> None: ...
def activeFocusItemChanged(self) -> None: ...
def closing(self, close: 'QQuickCloseEvent') -> None: ...
activeFocusItemChanged: PYQT_SIGNAL
closing: PYQT_SIGNAL
@staticmethod
def setDefaultAlphaBuffer(useAlpha: bool) -> None: ...
@staticmethod
Expand All @@ -525,13 +525,13 @@ class QQuickWindow(QtGui.QWindow):
def exposeEvent(self, a0: QtGui.QExposeEvent) -> None: ...
def releaseResources(self) -> None: ...
def update(self) -> None: ...
def colorChanged(self, a0: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor]) -> None: ...
def afterRendering(self) -> None: ...
def beforeRendering(self) -> None: ...
def beforeSynchronizing(self) -> None: ...
def sceneGraphInvalidated(self) -> None: ...
def sceneGraphInitialized(self) -> None: ...
def frameSwapped(self) -> None: ...
colorChanged: PYQT_SIGNAL
afterRendering: PYQT_SIGNAL
beforeRendering: PYQT_SIGNAL
beforeSynchronizing: PYQT_SIGNAL
sceneGraphInvalidated: PYQT_SIGNAL
sceneGraphInitialized: PYQT_SIGNAL
frameSwapped: PYQT_SIGNAL
def openglContext(self) -> QtGui.QOpenGLContext: ...
def isPersistentSceneGraph(self) -> bool: ...
def setPersistentSceneGraph(self, persistent: bool) -> None: ...
Expand Down

0 comments on commit bd6d944

Please sign in to comment.