collection of useful snippets for qt/qml