! * Set the z value of the m_title and the custompoints higher than the infoelement * @param value */
| 419 | * @param value |
| 420 | */ |
| 421 | void InfoElement::setZValue(qreal value) { |
| 422 | graphicsItem()->setZValue(value); |
| 423 | |
| 424 | m_title->setZValue(value + 1); |
| 425 | |
| 426 | for (auto& markerpoint : markerpoints) |
| 427 | markerpoint.customPoint->setZValue(value + 1); |
| 428 | } |
| 429 | |
| 430 | /*! |
| 431 | * Returns the amount of markerpoints. Used in the InfoElementDock to fill listWidget. |
no outgoing calls
no test coverage detected