project manager is using qtpy instead of Qt module

This commit is contained in:
Jakub Trllo 2022-12-13 17:19:06 +01:00
parent 69b0c23056
commit e989dbecdb
9 changed files with 9 additions and 9 deletions

View file

@ -44,7 +44,7 @@ from .window import ProjectManagerWindow
def main():
import sys
from Qt import QtWidgets
from qtpy import QtWidgets
app = QtWidgets.QApplication([])

View file

@ -1,5 +1,5 @@
import re
from Qt import QtCore
from qtpy import QtCore
# Item identifier (unique ID - uuid4 is used)

View file

@ -1,4 +1,4 @@
from Qt import QtWidgets, QtCore
from qtpy import QtWidgets, QtCore
from .widgets import (
NameTextEdit,

View file

@ -5,7 +5,7 @@ from uuid import uuid4
from pymongo import UpdateOne, DeleteOne
from Qt import QtCore, QtGui
from qtpy import QtCore, QtGui
from openpype.client import (
get_projects,

View file

@ -1,4 +1,4 @@
from Qt import QtCore, QtWidgets
from qtpy import QtCore, QtWidgets
class ComboItemDelegate(QtWidgets.QStyledItemDelegate):

View file

@ -1,5 +1,5 @@
import os
from Qt import QtGui
from qtpy import QtGui
import qtawesome
from openpype.tools.utils import paint_image_with_color

View file

@ -1,7 +1,7 @@
import collections
from queue import Queue
from Qt import QtWidgets, QtCore, QtGui
from qtpy import QtWidgets, QtCore, QtGui
from openpype.client import get_project
from .delegates import (

View file

@ -16,7 +16,7 @@ from openpype.tools.utils import (
get_warning_pixmap
)
from Qt import QtWidgets, QtCore, QtGui
from qtpy import QtWidgets, QtCore, QtGui
class NameTextEdit(QtWidgets.QLineEdit):

View file

@ -1,4 +1,4 @@
from Qt import QtWidgets, QtCore, QtGui
from qtpy import QtWidgets, QtCore, QtGui
from openpype import resources
from openpype.style import load_stylesheet