{"id":17603015,"url":"https://github.com/yjg30737/pyqt-foldable-toolbar","last_synced_at":"2025-05-07T11:14:46.329Z","repository":{"id":57679510,"uuid":"468195945","full_name":"yjg30737/pyqt-foldable-toolbar","owner":"yjg30737","description":"PyQt foldable/hidable toolbar","archived":false,"fork":false,"pushed_at":"2022-05-18T04:42:29.000Z","size":18,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T11:14:42.460Z","etag":null,"topics":["pyqt","pyqt-examples","pyqt-gui","pyqt-tutorial","pyqt5","pyqt5-examples","pyqt5-gui","pyqt5-tutorial","python","python3","python37","qpushbutton","qt","qtoolbar"],"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-10T04:42:35.000Z","updated_at":"2024-03-20T10:52:50.000Z","dependencies_parsed_at":"2022-09-02T15:02:21.274Z","dependency_job_id":null,"html_url":"https://github.com/yjg30737/pyqt-foldable-toolbar","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-foldable-toolbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-foldable-toolbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-foldable-toolbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-foldable-toolbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjg30737","download_url":"https://codeload.github.com/yjg30737/pyqt-foldable-toolbar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252865730,"owners_count":21816309,"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-gui","pyqt-tutorial","pyqt5","pyqt5-examples","pyqt5-gui","pyqt5-tutorial","python","python3","python37","qpushbutton","qt","qtoolbar"],"created_at":"2024-10-22T13:37:20.956Z","updated_at":"2025-05-07T11:14:46.310Z","avatar_url":"https://github.com/yjg30737.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyqt-foldable-toolbar\nPyQt foldable/hidable toolbar. You can add widget with `addWidget(widget)`. You can see how to use it in the example below.\n\nThere is fold/unfold animation to make it look better.\n\n## Requirements\n* PyQt5 \u003e= 5.8\n\n## Setup\n`python -m pip install pyqt-foldable-toolbar`\n\n## Included Packages\n* \u003ca href=\"https://github.com/yjg30737/pyqt-svg-button.git\"\u003epyqt-svg-button\u003c/a\u003e\n\n## Example\n### Code Sample\n```python\nfrom PyQt5.QtWidgets import QApplication, QMainWindow, QTextEdit\nfrom pyqt_foldable_toolbar import FoldableToolBar\n\nif __name__ == \"__main__\":\n    import sys\n\n    app = QApplication(sys.argv)\n    mainWindow = QMainWindow()\n    toolBar = FoldableToolBar()\n    toolBar.addWidget(QTextEdit())\n    mainWindow.addToolBar(toolBar)\n    mainWindow.show()\n    sys.exit(app.exec_())\n```\n\n### Result\n\nUnfold\n\n![image](https://user-images.githubusercontent.com/55078043/157591512-9654f7c5-b852-48f9-95bf-2ac22baa182b.png)\n\nFold\n\n![image](https://user-images.githubusercontent.com/55078043/157591529-2b1ccbb9-5f9b-4342-a52b-d4d48e7e15c5.png)\n\nHere's another example with `SettingsDialog` in \u003ca href=\"https://github.com/yjg30737/pyqt-timer.git\"\u003epyqt-timer\u003c/a\u003e.\n\nUnfold\n\n![image](https://user-images.githubusercontent.com/55078043/168452297-8bdce2f0-3126-4a83-8dee-c4ffd932ac4d.png)\n\nFold\n\n![image](https://user-images.githubusercontent.com/55078043/168452302-aae84399-aa3b-4e5d-bcef-1b8cbf682ba8.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Fpyqt-foldable-toolbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjg30737%2Fpyqt-foldable-toolbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Fpyqt-foldable-toolbar/lists"}