Skip to content

Commit

Permalink
Merge pull request #44 from stlehmann/add-additional-stubs
Browse files Browse the repository at this point in the history
Add additional stubs for PyQt5.14.2
  • Loading branch information
stlehmann authored May 4, 2020
2 parents 0f57f16 + 1dfbd66 commit f906c88
Show file tree
Hide file tree
Showing 30 changed files with 17,039 additions and 0 deletions.
448 changes: 448 additions & 0 deletions PyQt5-stubs/Qt3DAnimation.pyi

Large diffs are not rendered by default.

499 changes: 499 additions & 0 deletions PyQt5-stubs/Qt3DCore.pyi

Large diffs are not rendered by default.

782 changes: 782 additions & 0 deletions PyQt5-stubs/Qt3DExtras.pyi

Large diffs are not rendered by default.

400 changes: 400 additions & 0 deletions PyQt5-stubs/Qt3DInput.pyi

Large diffs are not rendered by default.

52 changes: 52 additions & 0 deletions PyQt5-stubs/Qt3DLogic.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# The PEP 484 type hints stub file for the Qt3DLogic module.
#
# Generated by SIP 5.2.0
#
# Copyright (c) 2019 Riverbank Computing Limited <[email protected]>
#
# This file is part of PyQt3D.
#
# This file may be used under the terms of the GNU General Public License
# version 3.0 as published by the Free Software Foundation and appearing in
# the file LICENSE included in the packaging of this file. Please review the
# following information to ensure the GNU General Public License version 3.0
# requirements will be met: http://www.gnu.org/copyleft/gpl.html.
#
# If you do not wish to use this file under the terms of the GPL version 3.0
# then you may purchase a commercial license. For more information contact
# [email protected].
#
# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.


import typing
import sip

from PyQt5 import Qt3DCore

# Support for QDate, QDateTime and QTime.
import datetime

# Convenient type aliases.
PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal]
PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal]

# Convenient aliases for complicated OpenGL types.
PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float],
sip.Buffer, None]
PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int],
typing.Sequence[float], sip.Buffer, int, None]


class Qt3DLogic(sip.simplewrapper):

class QFrameAction(Qt3DCore.QComponent):

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

def triggered(self, dt: float) -> None: ...

class QLogicAspect(Qt3DCore.QAbstractAspect):

def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
2,304 changes: 2,304 additions & 0 deletions PyQt5-stubs/Qt3DRender.pyi

Large diffs are not rendered by default.

1,404 changes: 1,404 additions & 0 deletions PyQt5-stubs/QtDataVisualization.pyi

Large diffs are not rendered by default.

482 changes: 482 additions & 0 deletions PyQt5-stubs/QtDesigner.pyi

Large diffs are not rendered by default.

1,187 changes: 1,187 additions & 0 deletions PyQt5-stubs/QtLocation.pyi

Large diffs are not rendered by default.

Loading

0 comments on commit f906c88

Please sign in to comment.