public:
/**
-- * @brief Constructor of BaseLocationItem.
-- * Sets parent.
-- *
-- * @param parent
-- */
++ * @brief Constructor of BaseLocationItem.
++ * Sets parent.
++ *
++ * @param parent
++ */
BaseLocationItem(QObject *parent = 0);
/*******************************************************************************
******************************************************************************/
public:
/**
- * @brief Return item sceneBoundingRect transformed to given zoom level
- *
- * Because of using ItemIgnoresTransformations, and not scaling the item, the default
- * sceneBoundingRect does always return the lowest map tile level scene bounding rect which
- * is scaled to current zoom level.
- *
- * @param zoomLevel Zoom level for which the sceneBoundingRect should be transformed
- * @return sceneBoundingRect transformed to given zoom level
- */
+ * @brief Return item sceneBoundingRect transformed to given zoom level
+ *
+ * Because of using ItemIgnoresTransformations, and not scaling the item, the default
+ * sceneBoundingRect does always return the lowest map tile level scene bounding rect which
+ * is scaled to current zoom level.
+ *
- * Left side of the returned rect is always inside the world coordinates, so collision
- * detection based on this rect does work also when items are spanned outside the
- * world coordinates.
- *
+ * @param zoomLevel Zoom level for which the sceneBoundingRect should be transformed
+ * @return sceneBoundingRect transformed to given zoom level
+ */
QRect sceneTransformedBoundingRect(int zoomLevel) const;
};