Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4240 from pypeclub/feature/OP-4657_qtpy-in-hiero
Browse files Browse the repository at this point in the history
Hiero: Use qtpy in Hiero
  • Loading branch information
iLLiCiTiT authored Dec 19, 2022
2 parents 7097250 + 4c214ca commit 45c26f3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion openpype/hosts/hiero/api/launchforhiero.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import logging

from scriptsmenu import scriptsmenu
from Qt import QtWidgets
from qtpy import QtWidgets


log = logging.getLogger(__name__)
Expand Down
6 changes: 5 additions & 1 deletion openpype/hosts/hiero/api/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
import shutil
import hiero

from Qt import QtWidgets, QtCore, QtXml
from qtpy import QtWidgets, QtCore
try:
from PySide import QtXml
except ImportError:
from PySide2 import QtXml

from openpype.client import get_project
from openpype.settings import get_project_settings
Expand Down
2 changes: 1 addition & 1 deletion openpype/hosts/hiero/api/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def menu_install():
"""

from Qt import QtGui
from qtpy import QtGui
from . import (
publish, launch_workfiles_app, reload_config,
apply_colorspace_project, apply_colorspace_clips
Expand Down
2 changes: 1 addition & 1 deletion openpype/hosts/hiero/api/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import hiero

from Qt import QtWidgets, QtCore
from qtpy import QtWidgets, QtCore
import qargparse

from openpype.settings import get_current_project_settings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from pprint import pformat

import pyblish.api
from Qt.QtGui import QPixmap
from qtpy.QtGui import QPixmap

import hiero.ui

Expand Down

0 comments on commit 45c26f3

Please sign in to comment.