Qt Widgets Modern User Interface
Project description
========
qtmodern
========
.. image:: https://travis-ci.org/gmarull/qtmodern.svg?branch=master
:target: https://travis-ci.org/gmarull/qtmodern
:alt: Travis build
.. image:: https://img.shields.io/pypi/v/qtmodern.svg
:target: https://pypi.python.org/pypi/qtmodern
:alt: 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 <https://github.com/spyder-ide/qtpy>`_ is used. The initial idea
comes from `this project <https://github.com/Jorgen-VikingGod/Qt-Frameless-Window-DarkStyle>`_.
.. raw:: html
<p align="center">
<img src="https://github.com/gmarull/qtmodern/blob/master/examples/mainwindow.png" width="50%" alt="Example"/>
</p>
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*::
...
app = QApplication()
win = YourWindow()
qtmodern.styles.dark(app)
mw = qtmodern.windows.ModernWindow(win)
mw.show()
...
qtmodern
========
.. image:: https://travis-ci.org/gmarull/qtmodern.svg?branch=master
:target: https://travis-ci.org/gmarull/qtmodern
:alt: Travis build
.. image:: https://img.shields.io/pypi/v/qtmodern.svg
:target: https://pypi.python.org/pypi/qtmodern
:alt: 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 <https://github.com/spyder-ide/qtpy>`_ is used. The initial idea
comes from `this project <https://github.com/Jorgen-VikingGod/Qt-Frameless-Window-DarkStyle>`_.
.. raw:: html
<p align="center">
<img src="https://github.com/gmarull/qtmodern/blob/master/examples/mainwindow.png" width="50%" alt="Example"/>
</p>
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*::
...
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.1.1.tar.gz
(4.5 kB
view hashes)