{ "info": { "author": "Andres Marafioti", "author_email": "andimarafioti@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: X11 Applications :: Qt", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7" ], "description": "Custom Tooltips for PySide\n--------\n\nTo use you will need to subclass Tooltip or TooltipWithArrow and implement the getWidget function::\n\n >>> class MyTooltip(Tooltip):\n >>> def getWidget(self):\n >>>\t return MyQWidget()\n\ngetWidget should return the widget that you wish to be displayed as a tooltip.\n\nYour tooltip will need a few parameters to initialize::\n\n >>> my_tooltip = MyTooltip(hoverable_widget, list_of_positionings, main_window, gap=7)\n\n**hoverable_widget** is the widget that will trigger the tooltip.\n\n**list_of_positionings** is a list of tuples: (TooltipPositioning, TooltipAlignment).\n**TooltipPositioning** can be one of Tooltips Macros: Tooltip.LEFT_POSITIONING, Tooltip.TOP_POSITIONING, Tooltip.RIGHT_POSITIONING or Tooltip.BOTTOM_POSITIONING\nPositionings should be TooltipWithArrow.*_POSITIONING if you chose to subclass TooltipWithArrow.\n\n**TooltipAlignment** should be one of the functions included in TooltipAlignment.\n\nTherefore, a **list_of_positioning** could be: [(TooltipWithArrow.RIGHT_POSITIONING, alignToTop), (TooltipWithArrow.LEFT_POSITIONING, alignToTop)].\n\nA Tooltip will always try to use the Positioning you chose in order and will not display at all if there is no room in the screen for it.\n\n**main_window** is the window in which your tooltip will display. It is used to calculate the positioning and alignment.\n\n**gap** is the space in pixels between the **hoverable_widget** and the **Tooltip**.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/andimarafioti/pyside-tooltip", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pyside-tooltip", "package_url": "https://pypi.org/project/pyside-tooltip/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyside-tooltip/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/andimarafioti/pyside-tooltip" }, "release_url": "https://pypi.org/project/pyside-tooltip/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Custom tooltip extension for pyside", "version": "0.2.1" }, "last_serial": 2155917, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "73dc30c4f6e2c85d247d43d8fd19a582", "sha256": "ab27e02fba8b1391434a34666ea55f37f58c96cf33719fe9947204aba028d272" }, "downloads": -1, "filename": "pyside-tooltip-0.2.zip", "has_sig": false, "md5_digest": "73dc30c4f6e2c85d247d43d8fd19a582", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13839, "upload_time": "2016-06-06T20:17:29", "url": "https://files.pythonhosted.org/packages/2b/76/544a1f57f77bb546db3bebc0c3935734720f527bd90f460a13e581a90d67/pyside-tooltip-0.2.zip" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "236f8aa5f6a9a982751e00e0e6d79d43", "sha256": "82863089dde6b9510e21b8ba7c53c56bf9ad9295230eb3c367f5e52de297ec8c" }, "downloads": -1, "filename": "pyside-tooltip-0.2.1.zip", "has_sig": false, "md5_digest": "236f8aa5f6a9a982751e00e0e6d79d43", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16544, "upload_time": "2016-06-07T19:54:37", "url": "https://files.pythonhosted.org/packages/87/d0/852bbd2d690a6ce4e5d9f1b73b0f1e79a7319e3a13997482b75713ed3932/pyside-tooltip-0.2.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "236f8aa5f6a9a982751e00e0e6d79d43", "sha256": "82863089dde6b9510e21b8ba7c53c56bf9ad9295230eb3c367f5e52de297ec8c" }, "downloads": -1, "filename": "pyside-tooltip-0.2.1.zip", "has_sig": false, "md5_digest": "236f8aa5f6a9a982751e00e0e6d79d43", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16544, "upload_time": "2016-06-07T19:54:37", "url": "https://files.pythonhosted.org/packages/87/d0/852bbd2d690a6ce4e5d9f1b73b0f1e79a7319e3a13997482b75713ed3932/pyside-tooltip-0.2.1.zip" } ] }