Skip to main content
Travis build PyPI Version

qtmodern is a Python package aimed to make PyQt/PySide applications look better and consistent on multiple platforms. It provides a custom frameless window and a dark theme. In order to be compatible with multiple Python Qt wrappers QtPy is used. The initial idea comes from this project.

Example

Installation

The recommended way to install is by using pip, i.e:

pip install qtmodern

Usage

In order to use qtmodern, simply apply the style you want to your application and then, create a ModernWindow enclosing the window you want to modernize:

import qtmodern.styles
import qtmodern.windows

...

app = QApplication()
win = YourWindow()

qtmodern.styles.dark(app)
mw = qtmodern.windows.ModernWindow(win)
mw.show()

...

Metadata

Release files for qtmodern 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qtmodern 0.2.0
File Size Uploaded
qtmodern-0.2.0.tar.gz 5.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qtmodern 0.2.0
File Interpreter ABI Platform
qtmodern-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.9 kB

Release files / qtmodern-0.2.0.tar.gz

Download URL qtmodern-0.2.0.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d433a54fbb400d49790aff65d35f203de2a8cc67795ac5bb04c5e766433fafae
BLAKE2b-256 checksum
How to use checksums
e317bc8a3882571e852e96d79b8c5a6989f72e2b7eda22998cd6018bfc5644fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.7

Release files / qtmodern-0.2.0-py3-none-any.whl

Download URL qtmodern-0.2.0-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57e62617656494a9d8a27ac3bd51ae3ae61a265f43b92d6f6ea59dc8bed2179d
BLAKE2b-256 checksum
How to use checksums
0a24499704896d57752a1d4b724f011f56a33bc163e96a77e572b81f2e5b0189
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page