Slider_item = new QGraphicsProxyWidget(this); mSlider = new TimeSlider; mSlider_item->setWidget(mSlider);