Skip to main content

Qt Widgets Modern User Interface

Project description

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()

...

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

qtmodern-0.2.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

qtmodern-0.2.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file qtmodern-0.2.0.tar.gz.

File metadata

  • Download URL: qtmodern-0.2.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for qtmodern-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d433a54fbb400d49790aff65d35f203de2a8cc67795ac5bb04c5e766433fafae
MD5 d2dd8af8ab4d110cbb72d705a76a9f36
BLAKE2b-256 e317bc8a3882571e852e96d79b8c5a6989f72e2b7eda22998cd6018bfc5644fb

See more details on using hashes here.

File details

Details for the file qtmodern-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: qtmodern-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for qtmodern-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 57e62617656494a9d8a27ac3bd51ae3ae61a265f43b92d6f6ea59dc8bed2179d
MD5 4f112492ddff2ac86b0881d6bfb3c5fb
BLAKE2b-256 0a24499704896d57752a1d4b724f011f56a33bc163e96a77e572b81f2e5b0189

See more details on using hashes here.

Supported by

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