title: Event filter in QML
body: <p>I have to send <strong>48 Bytes of Data</strong> to controller via Qtcpsocket. I have represented each <strong>Bit</strong> in a Byte as a Button in QML. So whenever the user clicks the button, I have to set the <strong>Corresponding Bit</strong> to true/false and immediately send the <strong>entire 48 Bytes of data</strong>.
  I have so many buttons(Bits) in so many QML files. How to detect which button has been pressed and immediately set the corresponding Bit? How to get the Object in qml ?
  What i have done is emitting a signal in the Bit when button is pressed. Now confused how to pass it to the backend c++ on to the sockets because then i would have so many signals. I feel like it’s not a proper way to do. Any smart / better solution or similar example would be really helpful.Thanks</p>