{"id":14982715,"url":"https://github.com/yjg30737/pyqt-tooltip-list-widget","last_synced_at":"2025-04-19T14:34:21.158Z","repository":{"id":57679325,"uuid":"471887822","full_name":"yjg30737/pyqt-tooltip-list-widget","owner":"yjg30737","description":"PyQt QListWidget which shows text as tooltip longer than widget's size","archived":false,"fork":false,"pushed_at":"2022-05-14T09:22:23.000Z","size":11,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T05:21:18.293Z","etag":null,"topics":["pyqt","pyqt-examples","pyqt-tutorial","pyqt5","pyqt5-examples","qlistview","qlistwidget","qt","qt-examples","qt-tutorial","qt5","qt5-examples","qt5-tutorial","qtooltip"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yjg30737.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-20T05:28:12.000Z","updated_at":"2024-06-04T11:18:27.000Z","dependencies_parsed_at":"2022-08-24T19:21:35.288Z","dependency_job_id":null,"html_url":"https://github.com/yjg30737/pyqt-tooltip-list-widget","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-tooltip-list-widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-tooltip-list-widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-tooltip-list-widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-tooltip-list-widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjg30737","download_url":"https://codeload.github.com/yjg30737/pyqt-tooltip-list-widget/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249715476,"owners_count":21315054,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pyqt","pyqt-examples","pyqt-tutorial","pyqt5","pyqt5-examples","qlistview","qlistwidget","qt","qt-examples","qt-tutorial","qt5","qt5-examples","qt5-tutorial","qtooltip"],"created_at":"2024-09-24T14:05:54.242Z","updated_at":"2025-04-19T14:34:21.136Z","avatar_url":"https://github.com/yjg30737.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyqt-tooltip-list-widget\nPyQt QListWidget which shows text as tooltip longer than widget\\'s size\n\n## Requirements\n* PyQt5 \u003e= 5.8\n\n## Setup\n`python -m pip install pyqt-tooltip-list-widget`\n\n## Example\nCode Sample\n\n```python\nfrom PyQt5.QtWidgets import QWidget, QGridLayout, QApplication\nfrom pyqt_tooltip_list_widget import ToolTipListWidget\n\n\nclass Widget(QWidget):\n    def __init__(self):\n        super().__init__()\n        self.__initUi()\n\n    def __initUi(self):\n        self.__listWidget = ToolTipListWidget()\n        self.__listWidget.addItem(\n            'Note: The selection rectangle will only be visible if the selection mode is in a mode where more than one item can be selected; i.e., it will not draw a selection rectangle if the selection mode is QAbstractItemView::SingleSelection.')\n        self.__listWidget.addItem('B')\n        self.__listWidget.addItem('C')\n\n        lay = QGridLayout()\n        lay.addWidget(self.__listWidget)\n        lay.setContentsMargins(0, 0, 0, 0)\n        self.setLayout(lay)\n\n\nif __name__ == \"__main__\":\n    import sys\n\n    app = QApplication(sys.argv)\n    example = Widget()\n    example.show()\n    app.exec_()\n```\n\nResult\n\n![image](https://user-images.githubusercontent.com/55078043/159149622-70896610-30c3-431d-859d-4f87b96267fe.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Fpyqt-tooltip-list-widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjg30737%2Fpyqt-tooltip-list-widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Fpyqt-tooltip-list-widget/lists"}