Skip to content

Instantly share code, notes, and snippets.

View a-shahba's full-sized avatar

Ahmad Shahba a-shahba

View GitHub Profile
@jdowner
jdowner / example.qml
Last active June 2, 2021 18:34
How to pass a Qml Component as a signal parameter.
import QtQuick 1.0
Rectangle {
height: 300
width: 400
color: "gray"
// This text element is for visual feedback when the signal fires
Text {
text: "(empty)"