use qtpy in remaining qt utils

This commit is contained in:
Jakub Trllo 2022-12-21 13:52:52 +01:00
parent 88939540f7
commit 3468a285c1
15 changed files with 20 additions and 27 deletions

View file

@ -3,13 +3,7 @@ from datetime import datetime
import logging
import numbers
import Qt
from Qt import QtWidgets, QtGui, QtCore
if Qt.__binding__ == "PySide":
from PySide.QtGui import QStyleOptionViewItemV4
elif Qt.__binding__ == "PyQt4":
from PyQt4.QtGui import QStyleOptionViewItemV4
from qtpy import QtWidgets, QtGui, QtCore
from openpype.client import (
get_versions,