Check out example codes for "qt make widget ignore mouse events". It will help you in understanding the concepts better.

Code Example 1

theWidget->setAttribute(Qt::WA_TransparentForMouseEvents);

Learn ReactJs, React Native from akashmittal.com