diff --git a/quicktest.py b/quicktest.py new file mode 100755 index 0000000..ac3f5c0 --- /dev/null +++ b/quicktest.py @@ -0,0 +1,14 @@ +#!/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 + app.exec_()