• This repository has been archived on 06/Feb/2023
  • Stars
    star
    708
  • Rank 63,523 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created about 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PyQt/PySide Widgets Modern User Interface

qtmodern

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

...