pyside6-modern-widgets
Modern Windows widgets for PySide6:
ModernWindow: a lightweight, framelessQWidgetwindow with selectedQMainWindow-compatible methods and Windows 11 effects.NavigationSidebar: a collapsible navigation sidebar.NavigationView: a sidebar and synchronized page stack in one widget.TabView: a WinUI-inspired tab widget.WindowEffect: a small Windows DWM effect wrapper.
Installation
pip install pyside6-modern-widgets
Example
from PySide6.QtGui import QAction
from PySide6.QtWidgets import QApplication, QLabel
from pyside6_modern_widgets import ModernWindow
app = QApplication([])
window = ModernWindow()
window.setWindowTitle("Modern window")
file_menu = window.menuBar().addMenu("&File")
exit_action = QAction("Exit", window)
exit_action.triggered.connect(window.close)
file_menu.addAction(exit_action)
window.setCentralWidget(QLabel("Hello"))
window.resize(800, 500)
window.show()
app.exec()
The native window effects target Windows. On unsupported Windows versions or when transparency is disabled, the window automatically uses a painted fallback.
Runnable window/navigation and multi-tab examples are available in the
examples directory.
ModernWindow intentionally remains based on QWidget, so it is suitable for both
primary and auxiliary windows. Its compatibility surface is limited to the common
menuBar(), addToolBar(), statusBar(), and setCentralWidget() methods; it does
not implement QMainWindow docking or state-management features.
The bundled window and navigation icons are provided by Icons8 and remain subject to the Icons8 license.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 pyside6_modern_widgets-0.1.1.tar.gz.
File metadata
- Download URL: pyside6_modern_widgets-0.1.1.tar.gz
- Upload date:
- Size: 29.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7877b5a38aebe913e323914306de839da3a891421db166879ad58d78e3c76e6a
|
|
| MD5 |
cda03f34ae6cbfc320e195bf114253b7
|
|
| BLAKE2b-256 |
4f0a1bc3f539458b81e13495290ef76b30f3c6542a6b20a6233333b9742e050b
|
Provenance
The following attestation bundles were made for pyside6_modern_widgets-0.1.1.tar.gz:
Publisher:
publish.yml on zero-ljz/pyside6-modern-widgets
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyside6_modern_widgets-0.1.1.tar.gz -
Subject digest:
7877b5a38aebe913e323914306de839da3a891421db166879ad58d78e3c76e6a - Sigstore transparency entry: 2482945911
- Sigstore integration time:
-
Permalink:
zero-ljz/pyside6-modern-widgets@47a84c710b28da388c554808ed801e665a991911 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/zero-ljz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@47a84c710b28da388c554808ed801e665a991911 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyside6_modern_widgets-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pyside6_modern_widgets-0.1.1-py3-none-any.whl
- Upload date:
- Size: 31.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6100fa7400a70fae67ad8e5f1d2b1e82fa19b7e4551b7ab511d4310dec73af8
|
|
| MD5 |
d80d693bd713cfc89bc2c4dd7730ee6b
|
|
| BLAKE2b-256 |
9c508161e93f9d13b150d34fbb091eeacfa75374447fbb6af85afd9d7f321087
|
Provenance
The following attestation bundles were made for pyside6_modern_widgets-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on zero-ljz/pyside6-modern-widgets
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyside6_modern_widgets-0.1.1-py3-none-any.whl -
Subject digest:
e6100fa7400a70fae67ad8e5f1d2b1e82fa19b7e4551b7ab511d4310dec73af8 - Sigstore transparency entry: 2482945941
- Sigstore integration time:
-
Permalink:
zero-ljz/pyside6-modern-widgets@47a84c710b28da388c554808ed801e665a991911 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/zero-ljz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@47a84c710b28da388c554808ed801e665a991911 -
Trigger Event:
release
-
Statement type: