m_proxyPlayer->setScale(2.0);
m_viewPlayer->fitInView(m_proxyPlayer);
C++ (Qt)m_viewPlayer->fitInView( m_viewPlayer->scene()->sceneRect(), Qt::KeepAspectRatio );
QSize size_wnd = this->size();QSize size_view = m_viewPlayer->size();qreal xscale = (qreal)size_wnd.width()/size_view.width(); // получаем коэффициентыqreal yscale = (qreal)size_wnd.height()/size_view.height(); // масштабированияm_viewPlayer->scale(xscale, yscale);