OP-1906 - added files for Python2 hosts

This commit is contained in:
Petr Kalis 2021-11-08 17:47:37 +01:00
parent c1fa04183b
commit 565eb440f5
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,11 @@
from Qt import QtCore
# roles for use in model's data function
# separated into its own file because Python 2 hosts (lib contains attrs)
ProviderRole = QtCore.Qt.UserRole + 12
ProgressRole = QtCore.Qt.UserRole + 14
DateRole = QtCore.Qt.UserRole + 16
FailedRole = QtCore.Qt.UserRole + 18
HeaderNameRole = QtCore.Qt.UserRole + 20
FullItemRole = QtCore.Qt.UserRole + 22
EditIconRole = QtCore.Qt.UserRole + 24