Author Topic: Dock to Main Signal Emission and Handling  (Read 416 times)

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!

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)
Last Edit: August 15, 2018, 12:51:12 am