CheckBox. Slot for when change is done by UI
Solved
QML and Qt Quick
-
Hi,
Currently my code uses onCheckedChanged for calling some code when check-box value has changed. This is causing me some problems.
I want some code to be called only when the change is done by UI (user clicks on the checked box). Is there some slot to do this directly? I have my work arounds, but those will always cause the code to be messy.
-
@Ankit.Jain what about the clicked signal ?
https://doc.qt.io/qt-5/qabstractbutton.html#clicked