{"id":21361812,"url":"https://github.com/damnwidget/sublimepyside","last_synced_at":"2025-07-13T02:32:43.784Z","repository":{"id":3148742,"uuid":"4178393","full_name":"DamnWidget/SublimePySide","owner":"DamnWidget","description":"Digia PySide and Riverbank's PyQt bindings for Qt on Python Sublime Text 2 and Sublime Text 3 support","archived":false,"fork":false,"pushed_at":"2014-10-26T15:05:57.000Z","size":357,"stargazers_count":44,"open_issues_count":3,"forks_count":8,"subscribers_count":11,"default_branch":"master","last_synced_at":"2023-03-11T13:49:19.878Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"cantino/huginn","license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DamnWidget.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-29T23:43:48.000Z","updated_at":"2023-02-12T18:51:57.000Z","dependencies_parsed_at":"2022-08-19T10:21:41.134Z","dependency_job_id":null,"html_url":"https://github.com/DamnWidget/SublimePySide","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DamnWidget%2FSublimePySide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DamnWidget%2FSublimePySide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DamnWidget%2FSublimePySide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DamnWidget%2FSublimePySide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DamnWidget","download_url":"https://codeload.github.com/DamnWidget/SublimePySide/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225850211,"owners_count":17534067,"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":[],"created_at":"2024-11-22T06:11:59.726Z","updated_at":"2024-11-22T06:12:00.194Z","avatar_url":"https://github.com/DamnWidget.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Sublime PySide**\r\n================\r\n\r\nstatus: beta\r\n\r\nOverview\r\n========\r\n\r\nSublime PySide adds Qt (PySide and PyQt4) support for Sublime Text 2 and Sublime Text 3 on Python.\r\n\r\nPython support is build for PySide and PyQt4 as well. This has been tested on Linux and Mac OSX\r\n\r\n**Sublime Text 3**: This plugin works on Sublime Text 3 as well as Sublime Text 2 you should only install it from Package Control as usual.\r\n\r\nCopyright (C) 2012 - 2013 Oscar Campos \u003coscar.campos@member.fsf.org\u003e\r\n\r\n**WARNING**: SublimeRope features doesn't work in Sublime Text 3 but you can use [Anaconda](https://github.com/DamnWidget/anaconda) to get full auto completion.\r\n\r\n\r\nGetting Started\r\n---------------\r\n\r\nUnzip / git clone the SublimePySide directory into your ST2's Packages directory. To create a new PySide Qt project just use your Operating System keybindings:\r\n\r\n    ctrl+shift+q on Linux\r\n    ctrl+super+q on Mac OSX\r\n    ctrl+alt+q on Windows\r\n\r\nThen select the type of project you want to create and answer the questions.\r\n\r\nYou can also use the Tools menu at the toolbar to create a new project. You can configure SublimePySide to always use PySide or PyQt4 in the plugin settings file or just let it asks you when you generate a new project.\r\n\r\nTo convert PySide to PyQt4 syntax you can use the keybindings:\r\n\r\n    ctrl+shift+c, ctrl+shift+q on Linux\r\n    ctrl+super+c, ctrl+super+q on Mac OSX\r\n    ctrl+shift+c, ctrl+shift+q on Windows\r\n\r\nTo convert PyQt4 to PySide syntax you can use the keybindings:\r\n\r\n    ctrl+shift+c, ctrl+shift+p on Linux\r\n    ctrl+super+c, ctrl+super+p on Mac OSX\r\n    ctrl+shift+c, ctrl+shift+p on Windows\r\n\r\n\r\n**NOTES**: Conversion from PyQt4 API 1 QVariant toWhatever methods to PySide is not automatic yet so maybe you should edit your code by hand after conversion. PySide only converts to PyQt4 API 2.\r\n\r\n\r\n**IMPORTANT**: This plugin use SublimeRope if installed to generate Rope projects in an automatic way. Note that this behaviour is only true in Sublime Text 2, in Sublime Text 3 you can use [Anaconda](https://github.com/DamnWidget/anaconda) to get full autocompletion.\r\n\r\nFeatures\r\n----------\r\n\r\nPySide features are describe below:\r\n\r\n#### Syntax Helpers\r\n\r\n* QML file syntax highligth\r\n* QMLProject file syntax highlight\r\n* QML snippets\r\n* PySide and PyQt4 project creation\r\n* PySide and PyQt4 autocompletion via SublimeRope\r\n* PySide to PyQt4 syntax conversion\r\n* PyQt4 to PySide syntax conversion\r\n\r\n#### Qt Designer related\r\n\r\n* Open ui files with Qt Designer if installed (and it's path is configured)\r\n* Create new UI files for Qt Designer and open it automatically\r\n* Compile UI (available as side bar and context menus)\r\n* Preview UI (available as context menu)\r\n\r\n#### Qt Linguist and friends\r\n\r\n* Open Qt Linguist from Sublime Text\r\n* Open TS files that we have already open in Sublime Text with Qt Linguist (it only works with TS or QM files)\r\n* Generate project (by Qt project file or by python sources) linguist TS files (available as side bar context menu)\r\n\r\n#### Other Tools\r\n\r\n* Compile resource file with pyside-rcc (available in context and side bar menus)\r\n* Open QDBusViewer from Sublime Text\r\n\r\nSupported Templates\r\n--------------------\r\n\r\n* Qt Quick Application (Python + QML)\r\n* Qt Quick UI (Pure QML)\r\n* Qt Gui Application (Pure Python)\r\n* Qt Console Application (Pure Python)\r\n* Qt Unit Test (dumb skeleton)\r\n\r\nLicense:\r\n--------\r\n    This program is free software; you can redistribute it and/or modify\r\n    it under the terms of the GNU General Public License as published by\r\n    the Free Software Foundation; either version 2 of the License, or\r\n    (at your option) any later version.\r\n\r\n    This program is distributed in the hope that it will be useful,\r\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r\n    GNU General Public License for more details.\r\n\r\n    You should have received a copy of the GNU General Public License along\r\n    with this program; if not, write to the Free Software Foundation, Inc.,\r\n    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\r\n\r\nHave a look at \"LICENSE.txt\" file for more information.\r\n\r\nDonate\r\n------\r\n\r\n[\u003cimg src=\"https://api.flattr.com/button/flattr-badge-large.png\" /\u003e][0]\r\n\r\n[0]: http://flattr.com/thing/1765346/\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamnwidget%2Fsublimepyside","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdamnwidget%2Fsublimepyside","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamnwidget%2Fsublimepyside/lists"}