Skip to main content

PyQt6Ads

License PyPI Python Version Build

PyQt6 Bindings for (the amazing) Qt-Advanced-Docking-System

Video Advanced Docking

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

Developers

To build the wheel locally, use cibuildwheel:

export QT_VERSION=6.5.3
uvx cibuildwheel

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyqt6ads-5.0.0.tar.gz (54.7 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyqt6ads-5.0.0-cp39-abi3-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.9+Windows x86-64

pyqt6ads-5.0.0-cp39-abi3-manylinux_2_28_x86_64.whl (467.6 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.28+ x86-64

pyqt6ads-5.0.0-cp39-abi3-macosx_11_0_arm64.whl (369.2 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

pyqt6ads-5.0.0-cp39-abi3-macosx_10_14_x86_64.whl (388.4 kB view details)

Uploaded CPython 3.9+macOS 10.14+ x86-64

File details

Details for the file pyqt6ads-5.0.0.tar.gz.

File metadata

  • Download URL: pyqt6ads-5.0.0.tar.gz
  • Upload date:
  • Size: 54.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for pyqt6ads-5.0.0.tar.gz
Algorithm Hash digest
SHA256 0e36bd5f1ed5b1130f318981ce89f1b6ea9d1b02a0b7f85f3104c35de195e81b
MD5 8a7e2df7e02b5599a07f827bd92030e1
BLAKE2b-256 15c134bcddaaaeecad538d9b5ff80ec0274e8eb60e330edaee7969e1a044e45c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqt6ads-5.0.0.tar.gz:

Publisher: pypi.yml on pyapp-kit/PyQt6Ads

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyqt6ads-5.0.0-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: pyqt6ads-5.0.0-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for pyqt6ads-5.0.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c7364f14a0e37ae34e0ffe0d5897baca1f9fc8b245b32dde8d967e075010849a
MD5 c3dda78e597d3986f8caf68389505682
BLAKE2b-256 e89c61a586bb4f7217600ca244cd3a7b49899ad8f0342e86f84fab278a661d15

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqt6ads-5.0.0-cp39-abi3-win_amd64.whl:

Publisher: pypi.yml on pyapp-kit/PyQt6Ads

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyqt6ads-5.0.0-cp39-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyqt6ads-5.0.0-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 eca4c8f908913e7e5c942e79fd2c9ce2f843f1bd96147e496d20a15bb14adbeb
MD5 dcc6f6538d7e9c315d247221da83f09d
BLAKE2b-256 f7851047a6404a942a6618a682625b4d12068227c1405356ce154cf1246a22c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqt6ads-5.0.0-cp39-abi3-manylinux_2_28_x86_64.whl:

Publisher: pypi.yml on pyapp-kit/PyQt6Ads

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyqt6ads-5.0.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyqt6ads-5.0.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ca3826475976cf8fb932749c68c19f0ea91695dd9fd143ac41c8eb9c309617a8
MD5 d854ca20a2c8bfb726bd86432404cef4
BLAKE2b-256 f21288c48b6868531f3c4e40ff90f0d9da647899c605daa54819a98193a591d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqt6ads-5.0.0-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: pypi.yml on pyapp-kit/PyQt6Ads

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyqt6ads-5.0.0-cp39-abi3-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for pyqt6ads-5.0.0-cp39-abi3-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 faa883c5d76fa96de57841e8b75b8d89b99d94f3600226db090b985679199fbf
MD5 b04ba5363209c8fc1016e5eca46d56cb
BLAKE2b-256 a38b20fd24ff5af21e69c73bbcd4c3fa2d40c2ce401ec703be921bb5479d279b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqt6ads-5.0.0-cp39-abi3-macosx_10_14_x86_64.whl:

Publisher: pypi.yml on pyapp-kit/PyQt6Ads

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

5.0.0 This release

5 files

4.5.0

5 files

4.4.0.post2

5 files

4.4.0.post1

5 files

4.4.0

5 files

4.3.1

4 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page