How to draw a Rectangle and control if it is to show left or right borders or both using QtQuick 2?