{ "info": { "author": "Colin Kennedy", "author_email": "colinvfx@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Utilities" ], "description": "========\nOverview\n========\n\n\n\nA Qt package that lets you use web URLs as tooltips in Qt widgets.\n\n* Free software: BSD 2-Clause License\n\n\nRequires\n========\n\nPySide or PyQt4 with QtWebKit included.\n\n\nInstallation\n============\n\n::\n\n pip install qwebtip\n\n\nHow To Use\n==========\n\n\nImport qwebtip's main model, `qweburltip` and set it to override one of\nyour widget's tooltips with some URL.\n\nThe next time you build your application and hover over that widget, a URL box\nis displayed with that URL, instead.\n\n\n.. code:: python\n\n from qwebtip import qweburltip\n\n url = 'http://pyqt.sourceforge.net/Docs/PyQt4/qwebframe.html'\n qweburltip.override_tool_tip(QtWidgets.QLabel('Some label'), url)\n\n\nHow To Use - Customizing\n========================\n\n\nSetting a custom tooltip size\n\n.. code:: python\n\n from qwebtip import qweburltip\n\n url = 'http://pyqt.sourceforge.net/Docs/PyQt4/qwebframe.html'\n qweburltip.override_tool_tip(\n QtWidgets.QLabel('Some label'),\n url,\n width=100,\n height=400,\n )\n\nOpening the URL at a specific header section\n\n\n.. code:: python\n\n url = 'http://pyqt.sourceforge.net/Docs/PyQt4/qwebframe.html'\n qweburltip.override_tool_tip(\n self.line_edit,\n element_selector.UnknownHeaderSelector(\n url,\n 'Method Documentation',\n ),\n )\n\n\nDisabling Caching\n=================\n\nLoaded webpages are cached so that successive loads can be kept fast.\nTo disable caching, set this environment variable.\n\n\n.. code:: bash\n\n export QWEBTIP_DISABLE_CACHING=1\n\nThis is useful for debugging but is not recommended.\n\n\nChangelog\n=========\n\n0.2.0 (2019-06-02)\n------------------\n\n* Reformatted the code to use [black](https://github.com/python/black)\n\n0.1.0 (2018-12-04)\n------------------\n\n* First release on PyPI.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ColinKennedy/qwebtip", "keywords": "", "license": "BSD 2-Clause License", "maintainer": "", "maintainer_email": "", "name": "qwebtip", "package_url": "https://pypi.org/project/qwebtip/", "platform": "", "project_url": "https://pypi.org/project/qwebtip/", "project_urls": { "Homepage": "https://github.com/ColinKennedy/qwebtip" }, "release_url": "https://pypi.org/project/qwebtip/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "A Qt package that lets you use web URLs as tooltips in Qt widgets", "version": "0.2.0" }, "last_serial": 5350621, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "42bc287709cefbda652e3b4a143bbbb5", "sha256": "c96e63225673030a65b90e8d9eda93d545ad7466b37152da1afa97f0cdf6d485" }, "downloads": -1, "filename": "qwebtip-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "42bc287709cefbda652e3b4a143bbbb5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8396, "upload_time": "2018-12-09T21:50:43", "url": "https://files.pythonhosted.org/packages/ac/c9/64cb09ad958e4a56e0ed363df77c2da3b0dd22bb504eaf2e950703e12513/qwebtip-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9d9a72c670d3c1530d34962efd2d6348", "sha256": "3fcda91d6ecd9c5e35218ad3b198ebbfe5a74936519a0f55a467604b23996062" }, "downloads": -1, "filename": "qwebtip-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9d9a72c670d3c1530d34962efd2d6348", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12032, "upload_time": "2018-12-09T21:50:45", "url": "https://files.pythonhosted.org/packages/6c/f0/fbd234a9a20297cecc86cd6412b089d8b18ba1f84aa609a6b8639053c5ff/qwebtip-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "b989a2ba3b16ca71459516d39759e909", "sha256": "855e4b77e6e1b1b4a93d0e085a06a81ab540a20acd3e64941f959af654404d75" }, "downloads": -1, "filename": "qwebtip-0.2.0.zip", "has_sig": false, "md5_digest": "b989a2ba3b16ca71459516d39759e909", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18718, "upload_time": "2019-06-03T03:27:01", "url": "https://files.pythonhosted.org/packages/13/35/6d3b39fe22ee4eff2e1ad7d6f4bb2b5d0b7644f0b32cb18078a0346729f2/qwebtip-0.2.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b989a2ba3b16ca71459516d39759e909", "sha256": "855e4b77e6e1b1b4a93d0e085a06a81ab540a20acd3e64941f959af654404d75" }, "downloads": -1, "filename": "qwebtip-0.2.0.zip", "has_sig": false, "md5_digest": "b989a2ba3b16ca71459516d39759e909", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18718, "upload_time": "2019-06-03T03:27:01", "url": "https://files.pythonhosted.org/packages/13/35/6d3b39fe22ee4eff2e1ad7d6f4bb2b5d0b7644f0b32cb18078a0346729f2/qwebtip-0.2.0.zip" } ] }