Making an editable flowchart in Qt/C++

梦想的初衷 提交于 2019-12-03 07:33:53
Nejat

There is a Diagram Scene Example which uses the Graphics View framework to make flowchart diagrams. It is an application in which you can add flowchart shapes and text and connect the shapes by arrows. The shapes, arrows, and text can be given different colors, and it is possible to change the font, style, and underline of the text.

You can take a look at the code and see how to create custom graphics items and handle mouse events and movement of items.

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/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!