123456789101112131415161718 |
- #include "CMindView.h"
- CMindView::CMindView(QWidget *parent) : QGraphicsView(new QGraphicsScene(), parent) { }
- QList<CNodeData> CMindView::nodeList() const
- {
- return m_nodeList;
- }
- void CMindView::setNodeList(QList<CNodeData> list)
- {
- m_nodeList = list;
- }
- void CMindView::addNode(CNodeData node)
- {
- m_nodeList.append(node);
- }
|