title: event providing to QWidget(QWT) embedded into QML Qt4
body: <p>I've used QwtPlot (Qwt 6.0.1) in QML project (Qt 4.8) . i'm wrap it via QDeclarativeItem</p>
  
  <pre><code>GraphWidgetQML::GraphWidgetQML(QDeclarativeItem *parent):QDeclarativeItem(parent)
  {
      _GraphArea = new GraphWidget; //child of QwtPlot without event handlers overrides
      QGraphicsProxyWidget *_wiget = new QGraphicsProxyWidget(this);    
      _wiget-&gt;setWidget(_GraphArea);
      _wiget-&gt;setFlag(QGraphicsItem::ItemIsFocusable,true);
      this-&gt;setClip(true);
  }
  </code></pre>
  
  <p>and insert into into QML via code </p>
  
  <pre><code>qmlRegisterType&lt;GraphWidgetQML&gt; ("GraphWidget",1,0,"GraphWidget"); //registration type
  </code></pre>
  
  <p>and QML </p>
  
  <pre><code>    GraphWidget {
          id: drawer
  
          objectName: "drawer"
  
          anchors.top: parent.top
          anchors.bottom: parent.bottom
          anchors.left: parent.left
          anchors.right: parent.right
          //
          anchors.topMargin: 5
          anchors.bottomMargin: 5
          anchors.leftMargin: 5
          anchors.rightMargin: 5
      }
  </code></pre>
  
  <p>But, Mouse evets won't work correctly. For example when i want to draw a zooming rectangle, when i released the mouse button it won't zoom untill press enter key. Right button doesn't work at all.</p>
  
  <p>How to make proper event providing?</p>