I\'m working on making a editable flowchart and I\'m having a lot of issues conceptually with Qt. I\'ve tried many different ways of implementing classes ranging from QTre
QTre
You can use QCustomPlot library. It has support for rectangle and other shaped items and lines etc. It will just make your work lot easier.
http://www.qcustomplot.com/