Jump to content

Talk:TimeCodeManager

From LinuxMCE
Revision as of 18:04, 1 October 2012 by Marie.o (talk | contribs) (a small qml file detailing how one could include the timecode into a qml file.)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)

an example qml file would look like this:

import QtQuick 1.0
import "../components"
import "../js/ComponentLoader.js" as MyJs
Rectangle {
Text {
id: timecode
height:scaleY(2.15)
text: qsTr("Speed: ") + dceTimecode.playbackSpeed +" || " +dceTimecode.qsCurrentTime + qsTr(" of ") + dceTimecode.qsTotalTime
}
}