#ifndef GLOBAL_H #define GLOBAL_H #include const double g_dGriaphicsScene_Width = 5000; const double g_dGriaphicsScene_Height = 5000; enum GraphicsItemType { GIT_base = QGraphicsItem::UserType + 1, GIT_line = QGraphicsItem::UserType + 2, GIT_rect = QGraphicsItem::UserType + 3, GIT_roundRect = QGraphicsItem::UserType + 4, GIT_ellipse = QGraphicsItem::UserType + 5, GIT_polygon = QGraphicsItem::UserType + 6 }; #endif