| 420 | CombinedSymbol* Map::covering_combined_line; |
| 421 | |
| 422 | Map::Map() |
| 423 | : color_set() |
| 424 | , has_spot_colors(false) |
| 425 | , undo_manager(new UndoManager(this)) |
| 426 | , renderables(new MapRenderables(this)) |
| 427 | , selection_renderables(new MapRenderables(this)) |
| 428 | , renderable_options(Symbol::RenderNormal) |
| 429 | , printer_config(nullptr) |
| 430 | { |
| 431 | if (!static_initialized) |
| 432 | initStatic(); |
| 433 | |
| 434 | georeferencing.reset(new Georeferencing()); |
| 435 | init(); |
| 436 | |
| 437 | connect(this, &Map::colorAdded, this, &Map::checkSpotColorPresence); |
| 438 | connect(this, &Map::colorChanged, this, &Map::checkSpotColorPresence); |
| 439 | connect(this, &Map::colorDeleted, this, &Map::checkSpotColorPresence); |
| 440 | connect(undo_manager.data(), &UndoManager::cleanChanged, this, &Map::undoCleanChanged); |
| 441 | } |
| 442 | |
| 443 | Map::~Map() |
| 444 | { |