Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 19 lines (14 sloc) 0.506 kb
#!/usr/bin/python
import os, sys, signal
from PySide import QtGui, QtDeclarative
here = os.path.dirname(__file__)
qml_file = os.path.join(here, 'qml/TimeTracker/main.qml')
app = QtGui.QApplication(sys.argv)
view = QtDeclarative.QDeclarativeView(qml_file)
view.showFullScreen()
if __name__ == '__main__':
signal.signal(signal.SIGINT, signal.SIG_DFL) # otherwise PySide ignores ^C
if view.status == view.Ready:
app.exec_()
else:
print "Could not load %s, exitting" % qml_file
Jump to Line
Something went wrong with that request. Please try again.