@p3c0 Where exactly i should put that code? As I asked earlier how should i know which button is pressed ?If you see my code I did with a signal but in that case i would need so many signals which is not a smart way to do. I am thinking of Bit masking .For example (sudo code)
OnClicked(Object sender)
{
if(sender == "BIT1")
{
BYTE1 |= 0x01; // AND operation
BYTE2 &= 0xFE; // OR operation
}
But don't know how to get that object and implement in qml.