How I can send s signal from one qml component to another?
Below is an example:
Rectangle { id: main width: 360; height: 360 signal clicked()
In the other object, you simply add a on word followed by the signal name. EG:
on
Rectangle { YourQmlObject { onClicked: { ... } } }
(clicked is somewhat a confusing signal name because it's common. But if you had called your signal orange, you'd make the binding onOrange:)
orange
onOrange: