void addItem(QGraphicsItem * item);
void removeItem(QGraphicsItem * item);
int track() const;
- QPainterPath clipGroupShape(QPointF offset) const;
- QPainterPath transitionGroupShape(QPointF offset) const;
+ QPainterPath clipGroupShape(const QPointF &offset) const;
+ QPainterPath clipGroupSpacerShape(const QPointF &offset) const;
+ QPainterPath transitionGroupShape(const QPointF &offset) const;
void setItemLocked(bool locked);
bool isItemLocked() const;
// ItemInfo info() const;
private:
void fixItemRect();
- QPainterPath groupShape(GRAPHICSRECTITEM type, QPointF offset) const;
+ QPainterPath groupShape(GraphicsRectItem type, const QPointF &offset) const;
+ QPainterPath spacerGroupShape(GraphicsRectItem type, const QPointF &offset) const;
/** Stores the original info of the items beeing resized. */
QList <ItemInfo> m_resizeInfos;
};