title: Handling MouseEvents in Qt c++
body: <p>Sorry for my beginner's question... 
  What is the easiest way to define procedures, which are executed when MousePressEvent or MouseReleaseEvent occurs?</p>
  
  <p>For now I am defining my own class (MyGraphicsView class), which inherits QGraphicsView and I am reimplementing mouse events (which are virtual functions). It works fine but is there any way to solve this problem without a need to define a new class?
  Can I connect Events with Slots somehow?</p>
  
  <p>Thanks for your help.</p>