mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
OP-1906 - added files for Python2 hosts
This commit is contained in:
parent
c1fa04183b
commit
565eb440f5
2 changed files with 11 additions and 0 deletions
11
openpype/modules/default_modules/sync_server/tray/roles.py
Normal file
11
openpype/modules/default_modules/sync_server/tray/roles.py
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue