[GH-ISSUE #64] Retrieve Dotnet Signal Arguments in QML #35

Open
opened 2026-05-05 11:00:32 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @ghost on GitHub (Sep 5, 2018).
Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/64

Hi, thank you for this wonderful project! It's awesome!
I wonder if it's possible to retrieve signal arguments in qml without using function(..). Ex:

QmlType {
    id: test
    test.onCustomSignal: {
        console.log(myFirstSignalArg); //myFirstArg is a named signal arg
    }
}

Maybe, the Signal would have to be declared like this:

Signal("customSignal", NetVariantType.String, "myFirstSignalArg")]

Is it possible already somehow?

Originally created by @ghost on GitHub (Sep 5, 2018). Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/64 Hi, thank you for this wonderful project! It's awesome! I wonder if it's possible to retrieve signal arguments in qml without using function(..). Ex: ``` QmlType { id: test test.onCustomSignal: { console.log(myFirstSignalArg); //myFirstArg is a named signal arg } } ``` Maybe, the Signal would have to be declared like this: ``` Signal("customSignal", NetVariantType.String, "myFirstSignalArg")] ``` Is it possible already somehow?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/qmlnet#35
No description provided.