mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
renamed app.py to window.py and renamed Window to SceneInventoryWindow
This commit is contained in:
parent
7cdae95c73
commit
48005747cd
2 changed files with 8 additions and 6 deletions
|
|
@ -1,7 +1,9 @@
|
|||
from .app import (
|
||||
from .window import (
|
||||
show,
|
||||
SceneInventoryWindow
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
__all__ = (
|
||||
"show",
|
||||
]
|
||||
"SceneInventoryWindow"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1799,11 +1799,11 @@ class SwitchAssetDialog(QtWidgets.QDialog):
|
|||
self.close()
|
||||
|
||||
|
||||
class Window(QtWidgets.QDialog):
|
||||
class SceneInventoryWindow(QtWidgets.QDialog):
|
||||
"""Scene Inventory window"""
|
||||
|
||||
def __init__(self, parent=None):
|
||||
QtWidgets.QDialog.__init__(self, parent)
|
||||
super(SceneInventoryWindow, self).__init__(parent)
|
||||
|
||||
self.resize(1100, 480)
|
||||
self.setWindowTitle(
|
||||
|
|
@ -1941,7 +1941,7 @@ def show(root=None, debug=False, parent=None, items=None):
|
|||
api.Session["AVALON_PROJECT"] = os.environ.get("AVALON_PROJECT")
|
||||
|
||||
with tools_lib.application():
|
||||
window = Window(parent)
|
||||
window = SceneInventoryWindow(parent)
|
||||
window.setStyleSheet(style.load_stylesheet())
|
||||
window.show()
|
||||
window.refresh(items=items)
|
||||
Loading…
Add table
Add a link
Reference in a new issue