Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for qtmodern, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size qtmodern-0.2.0-py3-none-any.whl (7.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size qtmodern-0.2.0.tar.gz (5.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page