Commit Graph

9 Commits

Author SHA1 Message Date
Kashiko Koibumi
6637f56ae7
Merge branch 'qt5-wip' into py3qt 2024-05-29 21:39:16 +09:00
Kashiko Koibumi
4ee9986687
Merge branch 'six' into py3 2024-05-26 10:18:08 +09:00
Kashiko Koibumi
46d56c703e
use six.itervalues(), six.iteritems() 2024-05-25 11:39:46 +09:00
Kashiko Koibumi
f70aff617b
use import paths compatible with both Python2 and Python3 2024-05-24 12:42:29 +09:00
Kashiko Koibumi
046a29e1a8
stop using QString 2024-05-23 15:33:49 +09:00
Kashiko Koibumi
4cd0df7299
use qtpy directly instead of using fallback-PyQt5 2024-05-22 13:05:32 +09:00
Jeroen van Bennekum
12de1fc3f0
Removed 33 E501 line-too-long errors from pycodestyle (3 left).
Fixed some other styling issues too.
2022-08-31 14:52:48 +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
412e175f27 Translation updates
Added a RetranslateMixin. Since PyQT does not support automated language
changes of UI files (like the C++ QT does), this implements something
similar. It assumes that the UI file has the same name as the class, but
lowercase.

Added RetraslateMixin to the new blacklist and networkstatus interfaces.
2016-05-02 15:00:25 +02:00