renamed class from Window to ProjectManagerWindow

This commit is contained in:
iLLiCiTiT 2021-05-14 18:34:13 +02:00
parent ab35d00183
commit 1477dadd34
3 changed files with 7 additions and 7 deletions

View file

@ -1,10 +1,10 @@
from .project_manager import (
Window,
ProjectManagerWindow,
main
)
__all__ = (
"Window",
"ProjectManagerWindow",
"main"
)

View file

@ -13,7 +13,7 @@ __all__ = (
"AssetItem",
"TaskItem",
"Window",
"ProjectManagerWindow",
"main"
)
@ -33,7 +33,7 @@ from .model import (
AssetItem,
TaskItem
)
from .window import Window
from .window import ProjectManagerWindow
def main():
@ -42,7 +42,7 @@ def main():
app = QtWidgets.QApplication([])
window = Window()
window = ProjectManagerWindow()
window.show()
sys.exit(app.exec_())

View file

@ -13,9 +13,9 @@ from openpype import resources
from avalon.api import AvalonMongoDB
class Window(QtWidgets.QWidget):
class ProjectManagerWindow(QtWidgets.QWidget):
def __init__(self, parent=None):
super(Window, self).__init__(parent)
super(ProjectManagerWindow, self).__init__(parent)
self.setWindowTitle("OpenPype Project Manager")
self.setWindowIcon(QtGui.QIcon(resources.pype_icon_filepath()))