-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from stlehmann/add-additional-stubs
Add additional stubs for PyQt5.14.2
- Loading branch information
Showing
30 changed files
with
17,039 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: ... |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.