| 1262 | } |
| 1263 | |
| 1264 | void TOPPASScene::unselectAll() |
| 1265 | { |
| 1266 | const QList<QGraphicsItem*>& all_items = items(); |
| 1267 | foreach(QGraphicsItem * item, all_items) |
| 1268 | { |
| 1269 | item->setSelected(false); |
| 1270 | } |
| 1271 | update(sceneRect()); |
| 1272 | } |
| 1273 | |
| 1274 | void TOPPASScene::checkIfWeAreDone() |
| 1275 | { |