20#ifndef LIBREPCB_EDITOR_GRAPHICSSCENE_H
21#define LIBREPCB_EDITOR_GRAPHICSSCENE_H
54 void addItem(QGraphicsItem& item)
noexcept;
60 const QColor& background = Qt::transparent)
noexcept;
62 const QColor& background = Qt::transparent)
noexcept;
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition: point.h:79
The GraphicsScene class.
Definition: graphicsscene.h:45
GraphicsScene(QObject *parent=nullptr) noexcept
Definition: graphicsscene.cpp:40
void clearSelectionRect() noexcept
Definition: graphicsscene.cpp:81
void addItem(QGraphicsItem &item) noexcept
Definition: graphicsscene.cpp:59
void setSelectionRectColors(const QColor &line, const QColor &fill) noexcept
Definition: graphicsscene.cpp:69
QPixmap toPixmap(int dpi, const QColor &background=Qt::transparent) noexcept
Definition: graphicsscene.cpp:85
virtual ~GraphicsScene() noexcept
Definition: graphicsscene.cpp:49
void removeItem(QGraphicsItem &item) noexcept
Definition: graphicsscene.cpp:64
void setSelectionRect(const Point &p1, const Point &p2) noexcept
Definition: graphicsscene.cpp:75
QGraphicsRectItem * mSelectionRectItem
Definition: graphicsscene.h:65
Definition: occmodel.cpp:77