equal
deleted
inserted
replaced
92 if ((i + j) & 1) |
92 if ((i + j) & 1) |
93 item = new QGraphicsEllipseItem(0, 0, 50, 50); |
93 item = new QGraphicsEllipseItem(0, 0, 50, 50); |
94 else |
94 else |
95 item = new QGraphicsRectItem(0, 0, 50, 50); |
95 item = new QGraphicsRectItem(0, 0, 50, 50); |
96 |
96 |
97 item->setPen(QPen(Qt::black)); |
97 item->setPen(QPen(Qt::black, 1)); |
98 item->setBrush(QBrush(Qt::white)); |
98 item->setBrush(QBrush(Qt::white)); |
99 QGraphicsDropShadowEffect *effect = new QGraphicsDropShadowEffect; |
99 QGraphicsDropShadowEffect *effect = new QGraphicsDropShadowEffect; |
100 effect->setBlurRadius(8); |
100 effect->setBlurRadius(8); |
101 item->setGraphicsEffect(effect); |
101 item->setGraphicsEffect(effect); |
102 item->setZValue(1); |
102 item->setZValue(1); |