Register
Log in
Substance Forum
»
Substance Painter
»
Scripting
»
Dock to Main Signal Emission and Handling
« Previous Topic
Next Topic »
Pages: [
1
]
Go Down
Author
Topic: Dock to Main Signal Emission and Handling (Read 599 times)
Bradford Smith
WWW
Can the Main.qml handle signals emitted by a Dock? The way that docks get instantiated in the main.qml, I'm unsure how to make that connection. Thanks!
on:
August 13, 2018, 10:33:32 pm
Bradford Smith
WWW
Actually, the solution was much easier than I thought. It just took me a while to realize it
Code:
[Select]
uiDock = alg.ui.addDockWidget("plugin/Dock.qml");
uiDock.emitTest.connect(updateSettings)
Reply #1 on:
August 13, 2018, 11:06:01 pm
Last Edit: August 15, 2018, 12:51:12 am
Pages: [
1
]
Go Up
« Previous Topic
Next Topic »
Substance Forum
»
Substance Painter
»
Scripting
»
Dock to Main Signal Emission and Handling