Merge branch 'v0.6' into qt5-wip #2237

Open
kashikoibumi wants to merge 38 commits from kashikoibumi/qt5-wip into v0.6

38 Commits

Author SHA1 Message Date
Kashiko Koibumi
66c22ed9b9 fix user agent display 2024-05-31 01:00:39 +09:00
Kashiko Koibumi
d04d620c68
update translation files for using format() instead of arg() 2024-05-27 01:52:39 +09:00
Kashiko Koibumi
4cd0df7299
use qtpy directly instead of using fallback-PyQt5 2024-05-22 13:05:32 +09:00
Kashiko Koibumi
aa9edcba2e
Merge branch 'v0.6' into qt5-wip 2024-05-22 08:27:27 +09:00
1368013a4e
Remove rebasing artifact in depends 2021-12-15 20:53:57 +02:00
9910556216
Add "Ubuntu 20" key to depends.PACKAGES['qtpy'] dict 2021-12-15 19:31:33 +02:00
1434768957
Try to fix the issue with XKB in appimage by adding xkb-data package 2021-12-15 19:26:21 +02:00
d9fb640b26
Add python-qtpy into appimage recipe to build with Qt4 2021-12-15 19:10:27 +02:00
a0496813fa
Fix imports in bitmessageqt.tests 2021-12-15 19:07:56 +02:00
327a539a55
Replace removed cmp parameter of list.sort() by key in getSortedAccounts() 2021-12-15 19:07:56 +02:00
ced7b4df30
Fix UnicodeEncodeError in bitmessageqt.blacklist when deleting an entry 2021-12-15 19:07:56 +02:00
9a1424c189
qtpy based fallback for PyQt5 2021-12-15 19:07:55 +02:00
2f8734d60b
Change depends in stdeb.cfg 2021-12-15 19:07:39 +02:00
5acee0cf41
Remove redundant unicode() in plugins.indicator_libmessaging 2021-12-15 19:07:39 +02:00
e57a4fa7a9
bitmessageqt.__init__: removed or replaced unicode(), formatted a bit 2021-12-15 19:07:39 +02:00
6fd07a079d
bitmessageqt.account: replace unicode() by .decode() and format 2021-12-15 19:07:39 +02:00
caec9434b0
Replace unicode() by .decode() in bitmessageqt.foldertree 2021-12-15 19:07:39 +02:00
d75d388522
Sorted imports in __init__ and removed import from debug 2021-12-15 19:07:39 +02:00
229cf1ded9
Fix tray icon changing upon notification 2021-12-15 19:07:38 +02:00
4480d5d1dd
winbuild.sh script: additional packages 2021-12-15 19:07:38 +02:00
782010fc19
Changes for PyInstaller to build with qtpy and PyQt4 2021-12-15 19:07:38 +02:00
3e3985267a
Removed unused resources in ui-files 2021-12-15 19:07:38 +02:00
677c117290
Don't close BitmessageQtApplication.server in __del__() 2021-12-15 19:07:38 +02:00
46d8576a64
Suppressed pylint relative-import and pycodestyle E402 in depends 2021-12-15 19:07:38 +02:00
b046898553
Explicitly set wordWrap property to false in STableWidgets
on tabs "Send", "Blacklist" and "Network Status":
in qt5 it's probably true by default.
2021-12-15 19:07:38 +02:00
6864b4465a
PyQt5 based qtpy fallback 2021-12-15 19:07:37 +02:00
bc89000035
Handled pylint warnings in bitmessageqt, qidenticon, depends,
resolved pylint redefined-variable-type warnings,
marked autogenerated modules for skipping by pylint and flake8
2021-12-15 19:07:37 +02:00
c39c7d1397
Changed check_pyqt() to work with qtpy
(closes #897, closes #1418)
2021-12-15 19:07:37 +02:00
acaa2743ef
QWheelEvent.orientation() is obsolete, used angleDelta() instead 2021-12-15 19:07:37 +02:00
5f4b67a61e
fromAddress - str, subject - unicode
(for simple encoding like for extended)
2021-12-15 19:07:37 +02:00
c5de33d626
QComboBox.findData() compatible with pyside 2021-12-15 19:07:37 +02:00
3202082e76
No more arg() call on result of _translate() 2021-12-15 19:07:36 +02:00
1cae520191
Better formatting of connections table header 2021-12-15 19:07:36 +02:00
07c2a51429
Module support rewrite:
- added Qt API string into support request
  - finished flake8 formatting
2021-12-15 19:07:36 +02:00
58466d5424
Changes for pyside:
customwidgets in ui-files and QtGui.QPen instantiation
2021-12-15 19:07:36 +02:00
8dca39e902
Initial support for PyQt5 (main window shown) using QtPy package.
QtPy is a compatibility layer which allows to use the code written for
PyQt5 with any python Qt binding: PyQt4, PyQt5, pyside or pyside2.

Main differences in PyQt5:

  - all widget classes are now in QtWidgets package, not QtGui;
  - QString obsoleted by unicode (sip API 2);
  - changed the way of signals connection.

Closes: #1191
2021-12-15 19:07:34 +02:00
b9fca03ed1
Prepare newchandialog module for PyQt5/qtpy 2021-12-15 19:01:57 +02:00
01e5400afb
tr compatible with all Qt APIs 2021-12-15 19:01:56 +02:00