cola: support PyQt5, PyQt4 and Pyside via QtPy
commit293364b45c4cbf3faff3fd7aba79b474d0abc845
authorDavid Aguilar <davvid@gmail.com>
Thu, 30 Jun 2016 00:55:48 +0000 (29 17:55 -0700)
committerDavid Aguilar <davvid@gmail.com>
Thu, 30 Jun 2016 00:55:48 +0000 (29 17:55 -0700)
treebe503ce3950fd2d063b7369aae78cabebefa1065
parent0e0441f629f1b83ca9830291dd1f0f144d0fa4b8
cola: support PyQt5, PyQt4 and Pyside via QtPy

Use the vendored QtPy library to add support for PyQt5 and Pyside.

git-cola is now compatible across PyQt4, PyQt5, and Pyside.
Future QtPy work will add Pyside2 compatibility.

Qt5 contains known bugs that prevent us from recommending it as a stable
target, but this makes it available for users that want to start testing
the waters.

Existing users are not required to install any additional libraries
because we contain a vendored copy of QtPy.  Users that want to use
PyQt5 must install it separately.

Closes #232
Signed-off-by: David Aguilar <davvid@gmail.com>
48 files changed:
cola/actions.py
cola/app.py
cola/difftool.py
cola/fsmonitor.py
cola/gravatar.py
cola/guicmds.py
cola/hotkeys.py
cola/icons.py
cola/models/browse.py
cola/qtcompat.py
cola/qtutils.py
cola/sipcompat.py [deleted file]
cola/widgets/about.py
cola/widgets/action.py
cola/widgets/archive.py
cola/widgets/bookmarks.py
cola/widgets/browse.py
cola/widgets/cfgactions.py
cola/widgets/commitmsg.py
cola/widgets/compare.py
cola/widgets/completion.py
cola/widgets/createbranch.py
cola/widgets/createtag.py
cola/widgets/dag.py
cola/widgets/diff.py
cola/widgets/editremotes.py
cola/widgets/filelist.py
cola/widgets/filetree.py
cola/widgets/finder.py
cola/widgets/grep.py
cola/widgets/highlighter.py
cola/widgets/log.py
cola/widgets/main.py
cola/widgets/merge.py
cola/widgets/patch.py
cola/widgets/prefs.py
cola/widgets/recent.py
cola/widgets/remote.py
cola/widgets/search.py
cola/widgets/selectcommits.py
cola/widgets/spellcheck.py
cola/widgets/standard.py
cola/widgets/startup.py
cola/widgets/stash.py
cola/widgets/status.py
cola/widgets/text.py
share/git-cola/bin/git-xbase
test/i18n_test.py