mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
use controller in main window
This commit is contained in:
parent
3df0d2023c
commit
e78c9c2765
1 changed files with 8 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ import sys
|
|||
sys.path.append(r"C:\Users\iLLiCiT\PycharmProjects\pype3\.venv\Lib\site-packages")
|
||||
from Qt import QtWidgets, QtCore
|
||||
|
||||
from control import PublisherController
|
||||
from widgets import SubsetAttributesWidget
|
||||
|
||||
|
||||
|
|
@ -68,12 +69,19 @@ class PublisherWindow(QtWidgets.QWidget):
|
|||
self.validate_btn = validate_btn
|
||||
self.publish_btn = publish_btn
|
||||
|
||||
controller = PublisherController()
|
||||
|
||||
self.controller = controller
|
||||
|
||||
# DEBUGING
|
||||
self.set_context_label(
|
||||
"<project>/<hierarchy>/<asset>/<task>/<workfile>"
|
||||
)
|
||||
# self.setStyleSheet("border: 1px solid black;")
|
||||
|
||||
def reset(self):
|
||||
self.controller.reset()
|
||||
|
||||
def set_context_label(self, label):
|
||||
self.context_label.setText(label)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue