Skip to content

Commit

Permalink
Adding GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
HobbitDur committed May 28, 2024
1 parent 9a8c294 commit 87654c1
Show file tree
Hide file tree
Showing 2,476 changed files with 302,166 additions and 173 deletions.
1 change: 1 addition & 0 deletions .venv/Lib/site-packages/PyQt5-5.15.10.dist-info/INSTALLER
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pip
65 changes: 65 additions & 0 deletions .venv/Lib/site-packages/PyQt5-5.15.10.dist-info/METADATA
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
Metadata-Version: 2.1
Name: PyQt5
Version: 5.15.10
Requires-Python: >=3.7
Summary: Python bindings for the Qt cross platform application toolkit
Home-Page: https://www.riverbankcomputing.com/software/pyqt/
Author: Riverbank Computing Limited
Author-Email: [email protected]
License: GPL v3
Requires-Dist: PyQt5-sip (>=12.13, <13)
Requires-Dist: PyQt5-Qt5 (>=5.15.2)

PyQt5 - Comprehensive Python Bindings for Qt v5
===============================================

Qt is set of cross-platform C++ libraries that implement high-level APIs for
accessing many aspects of modern desktop and mobile systems. These include
location and positioning services, multimedia, NFC and Bluetooth connectivity,
a Chromium based web browser, as well as traditional UI development.

PyQt5 is a comprehensive set of Python bindings for Qt v5. It is implemented
as more than 35 extension modules and enables Python to be used as an
alternative application development language to C++ on all supported platforms
including iOS and Android.

PyQt5 may also be embedded in C++ based applications to allow users of those
applications to configure or enhance the functionality of those applications.


Author
------

PyQt5 is copyright (c) Riverbank Computing Limited. Its homepage is
https://www.riverbankcomputing.com/software/pyqt/.

Support may be obtained from the PyQt mailing list at
https://www.riverbankcomputing.com/mailman/listinfo/pyqt/.


License
-------

PyQt5 is released under the GPL v3 license and under a commercial license that
allows for the development of proprietary applications.


Documentation
-------------

The documentation for the latest release can be found
`here <https://www.riverbankcomputing.com/static/Docs/PyQt5/>`__.


Installation
------------

The GPL version of PyQt5 can be installed from PyPI::

pip install PyQt5

``pip`` will also build and install the bindings from the sdist package but
Qt's ``qmake`` tool must be on ``PATH``.

The ``sip-install`` tool will also install the bindings from the sdist package
but will allow you to configure many aspects of the installation.
988 changes: 988 additions & 0 deletions .venv/Lib/site-packages/PyQt5-5.15.10.dist-info/RECORD

Large diffs are not rendered by default.

Empty file.
4 changes: 4 additions & 0 deletions .venv/Lib/site-packages/PyQt5-5.15.10.dist-info/WHEEL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Wheel-Version: 1.0
Generator: pyqtbuild 1.15.3
Root-Is-Purelib: false
Tag: cp37-abi3-win_amd64
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[console_scripts]
pylupdate5=PyQt5.pylupdate_main:main
pyrcc5=PyQt5.pyrcc_main:main
pyuic5=PyQt5.uic.pyuic:main
Binary file added .venv/Lib/site-packages/PyQt5/QAxContainer.pyd
Binary file not shown.
107 changes: 107 additions & 0 deletions .venv/Lib/site-packages/PyQt5/QAxContainer.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# The PEP 484 type hints stub file for the QAxContainer module.
#
# Generated by SIP 6.7.12
#
# Copyright (c) 2023 Riverbank Computing Limited <[email protected]>
#
# This file is part of PyQt5.
#
# 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 PyQt5.sip

from PyQt5 import QtCore
from PyQt5 import QtGui
from PyQt5 import QtWidgets

# 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[..., Any], QtCore.pyqtBoundSignal]

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


class QAxBase(PyQt5.sipsimplewrapper):

@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, a0: 'QAxBase') -> None: ...

def setClassContext(self, classContext: int) -> None: ...
def classContext(self) -> int: ...
def disableEventSink(self) -> None: ...
def disableClassInfo(self) -> None: ...
def disableMetaObject(self) -> None: ...
def setControl(self, a0: typing.Optional[str]) -> bool: ...
def clear(self) -> None: ...
exception: typing.ClassVar[QtCore.pyqtSignal]
propertyChanged: typing.ClassVar[QtCore.pyqtSignal]
signal: typing.ClassVar[QtCore.pyqtSignal]
def asVariant(self) -> typing.Any: ...
def verbs(self) -> typing.List[str]: ...
def isNull(self) -> bool: ...
def setPropertyWritable(self, a0: typing.Optional[str], a1: bool) -> None: ...
def propertyWritable(self, a0: typing.Optional[str]) -> bool: ...
def generateDocumentation(self) -> str: ...
def setPropertyBag(self, a0: typing.Dict[str, typing.Any]) -> None: ...
def propertyBag(self) -> typing.Dict[str, typing.Any]: ...
@typing.overload
def querySubObject(self, a0: typing.Optional[str], a1: typing.Iterable[typing.Any]) -> typing.Optional['QAxObject']: ...
@typing.overload
def querySubObject(self, a0: typing.Optional[str], value1: typing.Any = ..., value2: typing.Any = ..., value3: typing.Any = ..., value4: typing.Any = ..., value5: typing.Any = ..., value6: typing.Any = ..., value7: typing.Any = ..., value8: typing.Any = ...) -> typing.Optional['QAxObject']: ...
@typing.overload
def dynamicCall(self, a0: typing.Optional[str], a1: typing.Iterable[typing.Any]) -> typing.Any: ...
@typing.overload
def dynamicCall(self, a0: typing.Optional[str], value1: typing.Any = ..., value2: typing.Any = ..., value3: typing.Any = ..., value4: typing.Any = ..., value5: typing.Any = ..., value6: typing.Any = ..., value7: typing.Any = ..., value8: typing.Any = ...) -> typing.Any: ...
def control(self) -> str: ...


class QAxObject(QtCore.QObject, QAxBase):

@typing.overload
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
@typing.overload
def __init__(self, a0: typing.Optional[str], parent: typing.Optional[QtCore.QObject] = ...) -> None: ...

def connectNotify(self, a0: QtCore.QMetaMethod) -> None: ...
def doVerb(self, a0: typing.Optional[str]) -> bool: ...


class QAxWidget(QtWidgets.QWidget, QAxBase):

@typing.overload
def __init__(self, parent: typing.Optional[QtWidgets.QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...
@typing.overload
def __init__(self, a0: typing.Optional[str], parent: typing.Optional[QtWidgets.QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ...

def connectNotify(self, a0: QtCore.QMetaMethod) -> None: ...
def translateKeyEvent(self, a0: int, a1: int) -> bool: ...
def resizeEvent(self, a0: typing.Optional[QtGui.QResizeEvent]) -> None: ...
def changeEvent(self, a0: typing.Optional[QtCore.QEvent]) -> None: ...
def createHostWindow(self, a0: bool) -> bool: ...
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
def doVerb(self, a0: typing.Optional[str]) -> bool: ...
def clear(self) -> None: ...
Binary file added .venv/Lib/site-packages/PyQt5/Qt.pyd
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 4 additions & 0 deletions .venv/Lib/site-packages/PyQt5/Qt5/qml/Qt/WebSockets/qmldir
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module Qt.WebSockets
plugin declarative_qmlwebsockets ../../QtWebSockets/
classname QtWebSocketsDeclarativeModule
typeinfo plugins.qmltypes
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import QtQuick.tooling 1.2

// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.

Module {
dependencies: []
Component {
file: "qquickboundaryrule_p.h"
name: "QQuickBoundaryRule"
prototype: "QObject"
exports: ["Qt.labs.animation/BoundaryRule 1.0"]
exportMetaObjectRevisions: [0]
Enum {
name: "OvershootFilter"
values: ["None", "Peak"]
}
Property { name: "enabled"; type: "bool" }
Property { name: "minimum"; type: "double" }
Property { name: "minimumOvershoot"; type: "double" }
Property { name: "maximum"; type: "double" }
Property { name: "maximumOvershoot"; type: "double" }
Property { name: "overshootScale"; type: "double" }
Property { name: "currentOvershoot"; type: "double"; isReadonly: true }
Property { name: "peakOvershoot"; type: "double"; isReadonly: true }
Property { name: "overshootFilter"; type: "OvershootFilter" }
Property { name: "easing"; type: "QEasingCurve" }
Property { name: "returnDuration"; type: "int" }
Method { name: "componentFinalized" }
Method { name: "returnToBounds"; type: "bool" }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Qt.labs.animation
plugin labsanimationplugin
classname QtLabsAnimationPlugin
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
/****************************************************************************
**
** Copyright (C) 2017 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the Qt Labs Calendar module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL3$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see http://www.qt.io/terms-conditions. For further
** information use the contact form at http://www.qt.io/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 3 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPLv3 included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 3 requirements
** will be met: https://www.gnu.org/licenses/lgpl.html.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 2.0 or later as published by the Free
** Software Foundation and appearing in the file LICENSE.GPL included in
** the packaging of this file. Please review the following information to
** ensure the GNU General Public License version 2.0 requirements will be
** met: http://www.gnu.org/licenses/gpl-2.0.html.
**
** $QT_END_LICENSE$
**
****************************************************************************/

import QtQuick 2.12
import Qt.labs.calendar 1.0

AbstractDayOfWeekRow {
id: control

implicitWidth: Math.max(background ? background.implicitWidth : 0,
contentItem.implicitWidth + leftPadding + rightPadding)
implicitHeight: Math.max(background ? background.implicitHeight : 0,
contentItem.implicitHeight + topPadding + bottomPadding)

spacing: 6
topPadding: 6
bottomPadding: 6
font.bold: true

//! [delegate]
delegate: Text {
text: model.shortName
font: control.font
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
//! [delegate]

//! [contentItem]
contentItem: Row {
spacing: control.spacing
Repeater {
model: control.source
delegate: control.delegate
}
}
//! [contentItem]
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
/****************************************************************************
**
** Copyright (C) 2017 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the Qt Labs Calendar module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL3$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see http://www.qt.io/terms-conditions. For further
** information use the contact form at http://www.qt.io/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 3 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPLv3 included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 3 requirements
** will be met: https://www.gnu.org/licenses/lgpl.html.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 2.0 or later as published by the Free
** Software Foundation and appearing in the file LICENSE.GPL included in
** the packaging of this file. Please review the following information to
** ensure the GNU General Public License version 2.0 requirements will be
** met: http://www.gnu.org/licenses/gpl-2.0.html.
**
** $QT_END_LICENSE$
**
****************************************************************************/

import QtQuick 2.12
import Qt.labs.calendar 1.0

AbstractMonthGrid {
id: control

implicitWidth: Math.max(background ? background.implicitWidth : 0,
contentItem.implicitWidth + leftPadding + rightPadding)
implicitHeight: Math.max(background ? background.implicitHeight : 0,
contentItem.implicitHeight + topPadding + bottomPadding)

spacing: 6

//! [delegate]
delegate: Text {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
opacity: model.month === control.month ? 1 : 0
text: model.day
font: control.font
}
//! [delegate]

//! [contentItem]
contentItem: Grid {
rows: 6
columns: 7
rowSpacing: control.spacing
columnSpacing: control.spacing

Repeater {
model: control.source
delegate: control.delegate
}
}
//! [contentItem]
}
Binary file not shown.
Loading

0 comments on commit 87654c1

Please sign in to comment.