title: How to make moving detected hand and fingertips interact with Qt GUI like a mouse?
body: <p>I'm making this fingertip-driven app ( OpenCV 2.3.2 + Qt 4.7 being developed in Visual Studio 2010 ) in which I'd like to utilize Qt's GUI especially its dialogs. The fingertip's position will be detected and tracked through VideoCapture. Imagine Microsoft Windows' Paint being used with one fingertip. I've been speculating about the following options:</p>
  
  <ul>
  <li>subclassing QEvent and installing an eventFilter to the widget to filter out unnecessary events</li>
  <li>subclassing QCursor if mouse events are dependent on cursor positions</li>
  <li>making my own color picker and other input dialogs which doesn't subclass any of Qt's specialized dialogs, which is what I'd probably end up doing if none of the above are feasible. I looked into QColorDialog's source code and found QColorWell and QColorLuminancePicker and am now thinking of the least tedious way to similar widgets.</li>
  </ul>
  
  <p>What could be the most practical and the least computationally intensive way to do this? Sorry if my English wasn't clear or confusing. Thanks in advance.</p>