title: Overlay multiple widgets
body: <p>I have one QWidget which contains a multiple sliders. All sliders resized to main QWidget size. As result all sliders share same draw rectangle. For sliders I overload <code>paintEvent</code> method, so it draw only required stuff. Here is an example code:</p>
  
  <pre><code>class MySlider : public QSlider
  {
      void paintEvent(QPaintEvent *event) {
          ...
      }
  }
  
  class MyWidget : public QWidget
  {
          MyWidget() : QWidget() {
              slider1 = new MySlider(this);
              slider2 = new MySlider(this);
  
              slider1-&gt;resize(rect().width(), rect().height());
              slider2-&gt;resize(rect().width(), rect().height());
          }
  
          MySlider * slider1;
          MySlider * slider2;
  }
  </code></pre>
  
  <p>adsf</p>
  
  <p>Groove is not seen with this solution (because we don't call QSlider::paintEvent), but it still exist. For this widget it is possible to use only the last created slider (<code>slider2</code>). The rest are visible, but they are not available.</p>
  
  <p>Is it possible to overlay multiple widgets on each other and still be able to access all of them with mouse event?</p>