Open davidedmundson opened 4 years ago
@davidedmundson thank you! I didn't know about this.
Can I use this as well to access the parented wallpaper shader from config.qml?
Can I use this as well to access the parented wallpaper shader from config.qml?
I don't think I understand. Which object do you want to access from the config?
@davidedmundson From config.qml
I want to access the TShaderToy
(id=toy) used by the Item (id=main) on main.qml
Nevermind that, got it to work.
I'll improve the FPS counter now.
@davidedmundson
Turns out, kde's wallpaper app doesn't seem to use Window so I cant reference it...any idea?
Perhaps accessible using shader.parent.parent.parent
You don't need to rotate a hidden object, you can access some signals from the attached window object
import QtQuick.Window 2.12 Window.window.onFrameSwapped: fps++