qtmodern


Nameqtmodern JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://www.github.com/gmarull/qtmodern
SummaryQt Widgets Modern User Interface
upload_time2020-01-02 20:19:07
maintainer
docs_urlNone
authorGerard Marull-Paretas
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements qtpy
Travis-CI
coveralls test coverage No coveralls.
            ========
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>`_.

.. image:: examples/mainwindow.png
    :width: 450px
    :align: center
    :alt: 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()

    ...
            

Raw data

            {
    "_id": null,
    "home_page": "https://www.github.com/gmarull/qtmodern",
    "name": "qtmodern",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Gerard Marull-Paretas",
    "author_email": "gerardmarull@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/e3/17/bc8a3882571e852e96d79b8c5a6989f72e2b7eda22998cd6018bfc5644fb/qtmodern-0.2.0.tar.gz",
    "platform": "",
    "description": "========\nqtmodern\n========\n\n.. image:: https://travis-ci.org/gmarull/qtmodern.svg?branch=master\n    :target: https://travis-ci.org/gmarull/qtmodern\n    :alt: Travis build\n\n.. image:: https://img.shields.io/pypi/v/qtmodern.svg\n    :target: https://pypi.python.org/pypi/qtmodern\n    :alt: PyPI Version\n\n``qtmodern`` is a Python package aimed to make PyQt/PySide applications look\nbetter and consistent on multiple platforms. It provides a custom frameless\nwindow and a dark theme. In order to be compatible with multiple Python Qt\nwrappers `QtPy <https://github.com/spyder-ide/qtpy>`_ is used. The initial idea\ncomes from `this project <https://github.com/Jorgen-VikingGod/Qt-Frameless-Window-DarkStyle>`_.\n\n.. image:: examples/mainwindow.png\n    :width: 450px\n    :align: center\n    :alt: Example\n\nInstallation\n------------\n\nThe recommended way to install is by using ``pip``, i.e::\n\n    pip install qtmodern\n\nUsage\n-----\n\nIn order to use ``qtmodern``, simply apply the style you want to your\napplication and then, create a ``ModernWindow`` enclosing the window you want to\n*modernize*::\n\n    import qtmodern.styles\n    import qtmodern.windows\n\n    ...\n\n    app = QApplication()\n    win = YourWindow()\n\n    qtmodern.styles.dark(app)\n    mw = qtmodern.windows.ModernWindow(win)\n    mw.show()\n\n    ...",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Qt Widgets Modern User Interface",
    "version": "0.2.0",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "4f112492ddff2ac86b0881d6bfb3c5fb",
                "sha256": "57e62617656494a9d8a27ac3bd51ae3ae61a265f43b92d6f6ea59dc8bed2179d"
            },
            "downloads": -1,
            "filename": "qtmodern-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4f112492ddff2ac86b0881d6bfb3c5fb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7114,
            "upload_time": "2020-01-02T20:20:43",
            "upload_time_iso_8601": "2020-01-02T20:20:43.207073Z",
            "url": "https://files.pythonhosted.org/packages/0a/24/499704896d57752a1d4b724f011f56a33bc163e96a77e572b81f2e5b0189/qtmodern-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "d2dd8af8ab4d110cbb72d705a76a9f36",
                "sha256": "d433a54fbb400d49790aff65d35f203de2a8cc67795ac5bb04c5e766433fafae"
            },
            "downloads": -1,
            "filename": "qtmodern-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d2dd8af8ab4d110cbb72d705a76a9f36",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5744,
            "upload_time": "2020-01-02T20:19:07",
            "upload_time_iso_8601": "2020-01-02T20:19:07.330437Z",
            "url": "https://files.pythonhosted.org/packages/e3/17/bc8a3882571e852e96d79b8c5a6989f72e2b7eda22998cd6018bfc5644fb/qtmodern-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-01-02 20:19:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "gmarull",
    "github_project": "qtmodern",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "qtpy",
            "specs": [
                [
                    ">=",
                    "1.3.1"
                ]
            ]
        }
    ],
    "lcname": "qtmodern"
}
        
Elapsed time: 0.01823s