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 September 25, 2024 17:03
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)"