Skip to main content

Python bindings for Qt Advanced Docking System

Project description

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

Project details


Download files

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

Source Distribution

pyqt6ads-4.4.0.post1.tar.gz (50.8 MB view details)

Uploaded Source

Built Distributions

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

pyqt6ads-4.4.0.post1-cp39-abi3-win_amd64.whl (395.5 kB view details)

Uploaded CPython 3.9+Windows x86-64

pyqt6ads-4.4.0.post1-cp39-abi3-manylinux_2_28_x86_64.whl (444.2 kB view details)

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

pyqt6ads-4.4.0.post1-cp39-abi3-macosx_11_0_arm64.whl (347.2 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

pyqt6ads-4.4.0.post1-cp39-abi3-macosx_10_14_x86_64.whl (364.9 kB view details)

Uploaded CPython 3.9+macOS 10.14+ x86-64

File details

Details for the file pyqt6ads-4.4.0.post1.tar.gz.

File metadata

  • Download URL: pyqt6ads-4.4.0.post1.tar.gz
  • Upload date:
  • Size: 50.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyqt6ads-4.4.0.post1.tar.gz
Algorithm Hash digest
SHA256 dccf954b3eb802d9046c0a1ec732c6c555844d1316c47fd419276f3a421cf0b1
MD5 92adfff597aa2f2ce0c9d086373caeec
BLAKE2b-256 76cde133e91048173ee3af788875ecc6f50109b1a07a5b3213f8c958fedee1a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqt6ads-4.4.0.post1.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-4.4.0.post1-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for pyqt6ads-4.4.0.post1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9f7f7694ca048ed5e0b45ca7c2f1a15b17ea51f2add9ceaeb3cd65a46ad5a0f7
MD5 270d09dc7622983eebd35c736f3b0ba8
BLAKE2b-256 9a51c24f43109a07e16375c9a66c8ed20ed97bead39b97d152bb5266bbb4791b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqt6ads-4.4.0.post1-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-4.4.0.post1-cp39-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyqt6ads-4.4.0.post1-cp39-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0ebc037521e957158c1d4b635a03a633b21b9a3b9af81c5b226c3557f06f1265
MD5 fbcaa93ef4dbf1ec82dba10f11fcd0f3
BLAKE2b-256 39169641d76132f4b05df71c684e25ce70c74f837ab22e289e7ad55ddd9a9efa

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqt6ads-4.4.0.post1-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-4.4.0.post1-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyqt6ads-4.4.0.post1-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 177b56cab7346e01058a2590b2afa0b7ebd8495289619125206d74c624c96686
MD5 ba84cfc7ae9c52334bd729a1c3437c69
BLAKE2b-256 cdcc351ca7b343d66d2ccc20f36f0de89a8032e1d09da9ec72ed55d8a5e122c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqt6ads-4.4.0.post1-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-4.4.0.post1-cp39-abi3-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for pyqt6ads-4.4.0.post1-cp39-abi3-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d6c5d3859a157bd3b89927b34ce42d584bb06501e3e33da9fe4ed51a0d5cce3f
MD5 1897a4b9f15db7fe6d5e4b46acea258a
BLAKE2b-256 a8b96ffd86087c92f0d258b392215bcc00b4295dfae945f3e8acd48f28a1cfc3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqt6ads-4.4.0.post1-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.

Supported by

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