Merge pull request #5370 from ynput/bugfix/unreal_splash_screaan

This commit is contained in:
Simone Barbieri 2023-07-31 10:13:50 +01:00 committed by GitHub
commit d2871289b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 8 deletions

View file

@ -3,21 +3,21 @@
import os
import copy
from pathlib import Path
from openpype.widgets.splash_screen import SplashScreen
from qtpy import QtCore
from openpype.hosts.unreal.ue_workers import (
UEProjectGenerationWorker,
UEPluginInstallWorker
)
from openpype import resources
from openpype.lib import (
PreLaunchHook,
ApplicationLaunchFailed,
ApplicationNotFound,
)
from openpype.pipeline.workfile import get_workfile_template_key
import openpype.hosts.unreal.lib as unreal_lib
from openpype.hosts.unreal.ue_workers import (
UEProjectGenerationWorker,
UEPluginInstallWorker
)
from openpype.hosts.unreal.ui import SplashScreen
class UnrealPrelaunchHook(PreLaunchHook):

View file

@ -0,0 +1,5 @@
from .splash_screen import SplashScreen
__all__ = (
"SplashScreen",
)

View file

@ -1,6 +1,5 @@
from qtpy import QtWidgets, QtCore, QtGui
from openpype import style, resources
from igniter.nice_progress_bar import NiceProgressBar
class SplashScreen(QtWidgets.QDialog):
@ -143,7 +142,7 @@ class SplashScreen(QtWidgets.QDialog):
button_layout.addWidget(self.close_btn)
# Progress Bar
self.progress_bar = NiceProgressBar()
self.progress_bar = QtWidgets.QProgressBar()
self.progress_bar.setValue(0)
self.progress_bar.setAlignment(QtCore.Qt.AlignTop)