CRectItem.h 280 B

1234567891011121314
  1. #ifndef CRECTITEM_H
  2. #define CRECTITEM_H
  3. #include <QGraphicsPathItem>
  4. class CRectItem : public QGraphicsPathItem
  5. {
  6. public:
  7. explicit CRectItem(QGraphicsItem *parent = nullptr);
  8. void mousePressEvent(QGraphicsSceneMouseEvent *event) override;
  9. };
  10. #endif // CRECTITEM_H