56
56
# ideally this should be part of the qml by using a qmlRegisterType()
57
57
# but that does not seem to be supported in pyqt yet(?) so we need
61
61
categoriesmodel = CategoriesModel()
65
65
rc.setContextProperty('categoriesmodel', categoriesmodel)
69
69
# FIXME: we really should set the text entry here
72
73
# load the main QML file into the view
74
75
view.setSource(QUrl.fromLocalFile(qmlpath))