DiagramDesigner/common/source/global.cpp

10 lines
253 B
C++
Raw Normal View History

2025-03-28 18:08:21 +08:00
#include "global.h"
2025-07-24 10:01:31 +08:00
const QMap<AbstractItemType,GraphicsItemType> linkType = {
2025-04-09 16:20:34 +08:00
{AIT_motor,GIT_itemRect},{AIT_bus,GIT_bus},
2025-03-28 18:08:21 +08:00
};
2025-07-24 10:01:31 +08:00
//类型转换
const QMap<int,GraphicsItemType> typeToProGraphic = {
2025-07-11 18:13:54 +08:00
{1,GIT_bus},{3,GIT_itemRect},{8,GIT_link}
2025-07-24 10:01:31 +08:00
};