mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
global loader plugins are using qtpy
This commit is contained in:
parent
ddba1741da
commit
e51453466c
4 changed files with 4 additions and 4 deletions
|
|
@ -19,7 +19,7 @@ class CopyFile(load.LoaderPlugin):
|
|||
|
||||
@staticmethod
|
||||
def copy_file_to_clipboard(path):
|
||||
from Qt import QtCore, QtWidgets
|
||||
from qtpy import QtCore, QtWidgets
|
||||
|
||||
clipboard = QtWidgets.QApplication.clipboard()
|
||||
assert clipboard, "Must have running QApplication instance"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ class CopyFilePath(load.LoaderPlugin):
|
|||
|
||||
@staticmethod
|
||||
def copy_path_to_clipboard(path):
|
||||
from Qt import QtWidgets
|
||||
from qtpy import QtWidgets
|
||||
|
||||
clipboard = QtWidgets.QApplication.clipboard()
|
||||
assert clipboard, "Must have running QApplication instance"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import uuid
|
|||
import clique
|
||||
from pymongo import UpdateOne
|
||||
import qargparse
|
||||
from Qt import QtWidgets, QtCore
|
||||
from qtpy import QtWidgets, QtCore
|
||||
|
||||
from openpype import style
|
||||
from openpype.client import get_versions, get_representations
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import copy
|
||||
from collections import defaultdict
|
||||
|
||||
from Qt import QtWidgets, QtCore, QtGui
|
||||
from qtpy import QtWidgets, QtCore, QtGui
|
||||
|
||||
from openpype.client import get_representations
|
||||
from openpype.pipeline import load, Anatomy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue