-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2,476 changed files
with
302,166 additions
and
173 deletions.
There are no files selected for viewing
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 @@ | ||
pip |
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,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. |
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
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,4 @@ | ||
Wheel-Version: 1.0 | ||
Generator: pyqtbuild 1.15.3 | ||
Root-Is-Purelib: false | ||
Tag: cp37-abi3-win_amd64 |
4 changes: 4 additions & 0 deletions
4
.venv/Lib/site-packages/PyQt5-5.15.10.dist-info/entry_points.txt
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,4 @@ | ||
[console_scripts] | ||
pylupdate5=PyQt5.pylupdate_main:main | ||
pyrcc5=PyQt5.pyrcc_main:main | ||
pyuic5=PyQt5.uic.pyuic:main |
Binary file not shown.
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,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 not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+66.5 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/generic/qtuiotouchplugin.dll
Binary file not shown.
Binary file added
BIN
+70.5 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/geometryloaders/defaultgeometryloader.dll
Binary file not shown.
Binary file added
BIN
+56 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/geometryloaders/gltfgeometryloader.dll
Binary file not shown.
Binary file added
BIN
+146 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/geoservices/qtgeoservices_esri.dll
Binary file not shown.
Binary file added
BIN
+41 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/geoservices/qtgeoservices_itemsoverlay.dll
Binary file not shown.
Binary file added
BIN
+354 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/geoservices/qtgeoservices_mapbox.dll
Binary file not shown.
Binary file added
BIN
+294 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/geoservices/qtgeoservices_nokia.dll
Binary file not shown.
Binary file added
BIN
+196 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/geoservices/qtgeoservices_osm.dll
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 added
BIN
+66.5 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/mediaservice/qtmedia_audioengine.dll
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 added
BIN
+67 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/platformthemes/qxdgdesktopportal.dll
Binary file not shown.
Binary file added
BIN
+33 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/playlistformats/qtmultimedia_m3u.dll
Binary file not shown.
Binary file added
BIN
+49.5 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/position/qtposition_positionpoll.dll
Binary file not shown.
Binary file added
BIN
+66 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/position/qtposition_serialnmea.dll
Binary file not shown.
Binary file added
BIN
+56 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/position/qtposition_winrt.dll
Binary file not shown.
Binary file added
BIN
+54 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/printsupport/windowsprintersupport.dll
Binary file not shown.
Binary file added
BIN
+774 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/renderers/openglrenderer.dll
Binary file not shown.
Binary file added
BIN
+172 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/sceneparsers/gltfsceneexport.dll
Binary file not shown.
Binary file added
BIN
+194 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/sceneparsers/gltfsceneimport.dll
Binary file not shown.
Binary file added
BIN
+79.5 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/sensorgestures/qtsensorgestures_plugin.dll
Binary file not shown.
Binary file added
BIN
+31 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/sensorgestures/qtsensorgestures_shakeplugin.dll
Binary file not shown.
Binary file added
BIN
+42 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/sensors/qtsensors_generic.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+141 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/styles/qwindowsvistastyle.dll
Binary file not shown.
Binary file added
BIN
+43.5 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/texttospeech/qtexttospeech_sapi.dll
Binary file not shown.
Binary file added
BIN
+36 KB
.venv/Lib/site-packages/PyQt5/Qt5/plugins/webview/qtwebview_webengine.dll
Binary file not shown.
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,4 @@ | ||
module Qt.WebSockets | ||
plugin declarative_qmlwebsockets ../../QtWebSockets/ | ||
classname QtWebSocketsDeclarativeModule | ||
typeinfo plugins.qmltypes |
Binary file added
BIN
+40 KB
.venv/Lib/site-packages/PyQt5/Qt5/qml/Qt/labs/animation/labsanimationplugin.dll
Binary file not shown.
34 changes: 34 additions & 0 deletions
34
.venv/Lib/site-packages/PyQt5/Qt5/qml/Qt/labs/animation/plugins.qmltypes
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,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" } | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
.venv/Lib/site-packages/PyQt5/Qt5/qml/Qt/labs/animation/qmldir
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,3 @@ | ||
module Qt.labs.animation | ||
plugin labsanimationplugin | ||
classname QtLabsAnimationPlugin |
71 changes: 71 additions & 0 deletions
71
.venv/Lib/site-packages/PyQt5/Qt5/qml/Qt/labs/calendar/DayOfWeekRow.qml
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,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 added
BIN
+4.3 KB
.venv/Lib/site-packages/PyQt5/Qt5/qml/Qt/labs/calendar/DayOfWeekRow.qmlc
Binary file not shown.
73 changes: 73 additions & 0 deletions
73
.venv/Lib/site-packages/PyQt5/Qt5/qml/Qt/labs/calendar/MonthGrid.qml
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,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.
Oops, something went wrong.