Python bindings for Qt Advanced Docking System
Project description
PyQt6Ads
PyQt6 Bindings for (the amazing) Qt-Advanced-Docking-System
Installation
pip install PyQt6Ads
Usage
Please see documentation in the upstream repo.
See also examples in this repo.
The autogenerated type stubs are also useful for understanding the API.
Minimal Example
from PyQt6.QtCore import Qt
from PyQt6.QtGui import QAction
from PyQt6.QtWidgets import QMainWindow, QLabel
import PyQt6Ads as ads
class MainWindow(QMainWindow):
def __init__(self) -> None:
super().__init__()
# create the dock manager
# If the parent is a QMainWindow, DockManager sets itself as the central widget.
self.dock_manager = ads.CDockManager(self)
# create an example widget to place inside the dock widget
lbl = QLabel()
lbl.setWordWrap(True)
lbl.setAlignment(Qt.AlignmentFlag.AlignTop | Qt.AlignmentFlag.AlignLeft)
lbl.setText("Lorem ipsum dolor sit amet, consectetuer adipiscing elit.")
# create a dock widget with the title "Label 1"
# and set the created label as the dock widget content
dw = ads.CDockWidget("Label 1")
dw.setWidget(lbl)
# add the toggleViewAction of the dock widget to the menu
# to give the user the possibility to show the dock widget if it has been closed
self.menuView = self.menuBar().addMenu("View")
self.menuView.addAction(dw.toggleViewAction())
# add the dock widget to the top dock widget area
self.dock_manager.addDockWidget(ads.DockWidgetArea.TopDockWidgetArea, dw)
Alternatives
- For PySide6: See https://github.com/mborgerson/pyside6_qtads
- For PyQt5: See https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System#pyqt5 (in the upstream repo)
Developers
To build the wheel locally, use cibuildwheel:
export QT_VERSION=6.5.3
uvx cibuildwheel
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyqt6ads-4.5.0.tar.gz.
File metadata
- Download URL: pyqt6ads-4.5.0.tar.gz
- Upload date:
- Size: 52.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df0f161e6cced3d006f0bd70b3c4d03609e84b68182c05c848aa4df0cfcc3337
|
|
| MD5 |
701e5ef8e8d850fe57d9be63115855c3
|
|
| BLAKE2b-256 |
21c8dbe010d7f8f7cda828d1d9004d1aeac75c4699eb543ff55b0e131982bd1d
|
Provenance
The following attestation bundles were made for pyqt6ads-4.5.0.tar.gz:
Publisher:
pypi.yml on pyapp-kit/PyQt6Ads
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyqt6ads-4.5.0.tar.gz -
Subject digest:
df0f161e6cced3d006f0bd70b3c4d03609e84b68182c05c848aa4df0cfcc3337 - Sigstore transparency entry: 908601273
- Sigstore integration time:
-
Permalink:
pyapp-kit/PyQt6Ads@b990169e04d8ac32ab0a0074e48fd4e81bdfdcc7 -
Branch / Tag:
refs/tags/v4.5.0 - Owner: https://github.com/pyapp-kit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@b990169e04d8ac32ab0a0074e48fd4e81bdfdcc7 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pyqt6ads-4.5.0-cp39-abi3-win_amd64.whl.
File metadata
- Download URL: pyqt6ads-4.5.0-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.9+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58c26cd6362822a05dc4daeac6c42b77c88ec1f9b4d5747dd9c470ee87b3c3a7
|
|
| MD5 |
4b3837453c1e6f359a8eeb701a7a20b6
|
|
| BLAKE2b-256 |
8a4d7874bee95205061e4b1db098aada4cc0650b0061fae3d26638eec51dbb5a
|
Provenance
The following attestation bundles were made for pyqt6ads-4.5.0-cp39-abi3-win_amd64.whl:
Publisher:
pypi.yml on pyapp-kit/PyQt6Ads
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyqt6ads-4.5.0-cp39-abi3-win_amd64.whl -
Subject digest:
58c26cd6362822a05dc4daeac6c42b77c88ec1f9b4d5747dd9c470ee87b3c3a7 - Sigstore transparency entry: 908601310
- Sigstore integration time:
-
Permalink:
pyapp-kit/PyQt6Ads@b990169e04d8ac32ab0a0074e48fd4e81bdfdcc7 -
Branch / Tag:
refs/tags/v4.5.0 - Owner: https://github.com/pyapp-kit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@b990169e04d8ac32ab0a0074e48fd4e81bdfdcc7 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pyqt6ads-4.5.0-cp39-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pyqt6ads-4.5.0-cp39-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 445.5 kB
- Tags: CPython 3.9+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62193279ae3676d15cdbb08337079cf271cc28c4c1d088939d06d4387809baa6
|
|
| MD5 |
0a405a6f67317eb8519074f095a54835
|
|
| BLAKE2b-256 |
5ef7e565a685169353b21108c9a96839f8f1d354fb01776de9083908bb81ca38
|
Provenance
The following attestation bundles were made for pyqt6ads-4.5.0-cp39-abi3-manylinux_2_28_x86_64.whl:
Publisher:
pypi.yml on pyapp-kit/PyQt6Ads
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyqt6ads-4.5.0-cp39-abi3-manylinux_2_28_x86_64.whl -
Subject digest:
62193279ae3676d15cdbb08337079cf271cc28c4c1d088939d06d4387809baa6 - Sigstore transparency entry: 908601319
- Sigstore integration time:
-
Permalink:
pyapp-kit/PyQt6Ads@b990169e04d8ac32ab0a0074e48fd4e81bdfdcc7 -
Branch / Tag:
refs/tags/v4.5.0 - Owner: https://github.com/pyapp-kit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@b990169e04d8ac32ab0a0074e48fd4e81bdfdcc7 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pyqt6ads-4.5.0-cp39-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: pyqt6ads-4.5.0-cp39-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 347.6 kB
- Tags: CPython 3.9+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80a877822917c8afd930e5670be3cedfa8f40d1b72d5f1b937703ae4230c7ec6
|
|
| MD5 |
193bb9fdec85570ebf4aa844eaaf05e0
|
|
| BLAKE2b-256 |
8ab78baeb3e1eaa9edaedc3bfe208f976986272348346029b39aed7e551f1308
|
Provenance
The following attestation bundles were made for pyqt6ads-4.5.0-cp39-abi3-macosx_11_0_arm64.whl:
Publisher:
pypi.yml on pyapp-kit/PyQt6Ads
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyqt6ads-4.5.0-cp39-abi3-macosx_11_0_arm64.whl -
Subject digest:
80a877822917c8afd930e5670be3cedfa8f40d1b72d5f1b937703ae4230c7ec6 - Sigstore transparency entry: 908601295
- Sigstore integration time:
-
Permalink:
pyapp-kit/PyQt6Ads@b990169e04d8ac32ab0a0074e48fd4e81bdfdcc7 -
Branch / Tag:
refs/tags/v4.5.0 - Owner: https://github.com/pyapp-kit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@b990169e04d8ac32ab0a0074e48fd4e81bdfdcc7 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pyqt6ads-4.5.0-cp39-abi3-macosx_10_14_x86_64.whl.
File metadata
- Download URL: pyqt6ads-4.5.0-cp39-abi3-macosx_10_14_x86_64.whl
- Upload date:
- Size: 366.2 kB
- Tags: CPython 3.9+, macOS 10.14+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
561f200ed4b39069d7a28a56e22b1185c00be1d1c7eb003ab22c75acffddd1f5
|
|
| MD5 |
6a17db182f373413b2a16277d04d2a03
|
|
| BLAKE2b-256 |
91ab8fae572e4ec2ed9fc1404c951d7725926c40e6e9d016a446d40f4a5c44cc
|
Provenance
The following attestation bundles were made for pyqt6ads-4.5.0-cp39-abi3-macosx_10_14_x86_64.whl:
Publisher:
pypi.yml on pyapp-kit/PyQt6Ads
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyqt6ads-4.5.0-cp39-abi3-macosx_10_14_x86_64.whl -
Subject digest:
561f200ed4b39069d7a28a56e22b1185c00be1d1c7eb003ab22c75acffddd1f5 - Sigstore transparency entry: 908601279
- Sigstore integration time:
-
Permalink:
pyapp-kit/PyQt6Ads@b990169e04d8ac32ab0a0074e48fd4e81bdfdcc7 -
Branch / Tag:
refs/tags/v4.5.0 - Owner: https://github.com/pyapp-kit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@b990169e04d8ac32ab0a0074e48fd4e81bdfdcc7 -
Trigger Event:
workflow_dispatch
-
Statement type: