2025-12-18 15:10:13 +08:00
|
|
|
#ifndef GLOBAL_H
|
|
|
|
|
#define GLOBAL_H
|
|
|
|
|
|
|
|
|
|
#include <QGraphicsItem>
|
|
|
|
|
|
|
|
|
|
const double g_dGriaphicsScene_Width = 1200;
|
|
|
|
|
const double g_dGriaphicsScene_Height = 900;
|
|
|
|
|
|
|
|
|
|
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,
|
2025-12-26 20:20:52 +08:00
|
|
|
GIT_polygon = QGraphicsItem::UserType + 6,
|
|
|
|
|
GIT_busSection = QGraphicsItem::UserType + 7
|
2025-12-18 15:10:13 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|