"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/docks/keyframesdock.cpp" between
shotcut-20.09.01.tar.gz and shotcut-20.09.13.tar.gz

About: Shotcut is a cross-platform (Qt) advanced video editor.

keyframesdock.cpp  (shotcut-20.09.01):keyframesdock.cpp  (shotcut-20.09.13)
skipping to change at line 50 skipping to change at line 50
KeyframesDock::KeyframesDock(QmlProducer* qmlProducer, QWidget *parent) KeyframesDock::KeyframesDock(QmlProducer* qmlProducer, QWidget *parent)
: QDockWidget(tr("Keyframes"), parent) : QDockWidget(tr("Keyframes"), parent)
, m_qview(QmlUtilities::sharedEngine(), this) , m_qview(QmlUtilities::sharedEngine(), this)
, m_qmlProducer(qmlProducer) , m_qmlProducer(qmlProducer)
{ {
LOG_DEBUG() << "begin"; LOG_DEBUG() << "begin";
setObjectName("KeyframesDock"); setObjectName("KeyframesDock");
QIcon icon = QIcon::fromTheme("chronometer", QIcon(":/icons/oxygen/32x32/act ions/chronometer.png")); QIcon icon = QIcon::fromTheme("chronometer", QIcon(":/icons/oxygen/32x32/act ions/chronometer.png"));
setWindowIcon(icon); setWindowIcon(icon);
toggleViewAction()->setIcon(windowIcon()); toggleViewAction()->setIcon(windowIcon());
setMinimumSize(200, 200); setMinimumSize(200, 50);
m_qview.setFocusPolicy(Qt::StrongFocus); m_qview.setFocusPolicy(Qt::StrongFocus);
m_qview.quickWindow()->setPersistentSceneGraph(false); m_qview.quickWindow()->setPersistentSceneGraph(false);
#ifndef Q_OS_MAC #ifndef Q_OS_MAC
m_qview.setAttribute(Qt::WA_AcceptTouchEvents); m_qview.setAttribute(Qt::WA_AcceptTouchEvents);
#endif #endif
setWidget(&m_qview); setWidget(&m_qview);
QmlUtilities::setCommonProperties(m_qview.rootContext()); QmlUtilities::setCommonProperties(m_qview.rootContext());
m_qview.rootContext()->setContextProperty("keyframes", this); m_qview.rootContext()->setContextProperty("keyframes", this);
m_qview.rootContext()->setContextProperty("view", new QmlView(&m_qview)); m_qview.rootContext()->setContextProperty("view", new QmlView(&m_qview));
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)