title: Qt Qml Javascript - Where to use which?
body: <p>I'm new to Qt and Qml and I'm trying to figure out how they work together.<br>
  I'm confused about where to use C++ and where to use JavaScript. Let's say I have a couple of QML objects (like forms, inputs, dropdowns, etc.). Now obviously these components have some logic code. Should I write this logic code in JavaScript or in C++? Let's say my input has a group of properties and signals. Where and how should these be coded? If I should write it in JavaScript, then how C++ is used. How C++ and JavaScript are connected?  I'm pretty confused! and the docs doesn't help me either. <b>Thanks</b></p>