20#ifndef LIBREPCB_EDITOR_FOOTPRINTGRAPHICSITEM_H
21#define LIBREPCB_EDITOR_FOOTPRINTGRAPHICSITEM_H
51class CircleGraphicsItem;
52class FootprintPadGraphicsItem;
53class HoleGraphicsItem;
54class IF_GraphicsLayerProvider;
55class PolygonGraphicsItem;
56class StrokeTextGraphicsItem;
57class ZoneGraphicsItem;
73 StrokeTexts = (1 << 3),
76 All = Pads | Circles | Polygons | StrokeTexts | Zones | Holes,
79 AcceptNearMatch = (1 << 10),
91 const QStringList& localeOrder = {})
noexcept;
100 std::shared_ptr<Circle> circle)
noexcept {
104 std::shared_ptr<Polygon> polygon)
noexcept {
108 std::shared_ptr<StrokeText> text)
noexcept {
112 std::shared_ptr<Zone> zone)
noexcept {
116 std::shared_ptr<Hole> hole)
noexcept {
119 QList<std::shared_ptr<FootprintPadGraphicsItem>>
getSelectedPads() noexcept;
127 const QPainterPath& posAreaSmall, const QPainterPath& posAreaLarge,
128 FindFlags flags) noexcept;
179Q_DECLARE_OPERATORS_FOR_FLAGS(
The Angle class is used to represent an angle (for example 12.75 degrees)
Definition: angle.h:78
The Circle class.
Definition: circle.h:46
The Component class represents a "generic" device in the library.
Definition: component.h:73
The Hole class.
Definition: hole.h:45
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition: point.h:79
The Polygon class.
Definition: polygon.h:45
The StrokeFont class.
Definition: strokefont.h:56
The StrokeText class.
Definition: stroketext.h:51
The Zone class.
Definition: zone.h:43
The CircleGraphicsItem class.
Definition: circlegraphicsitem.h:48
The HoleGraphicsItem class is the graphical representation of a librepcb::Hole.
Definition: holegraphicsitem.h:48
The IF_GraphicsLayerProvider class defines an interface for classes which provide layers.
Definition: graphicslayer.h:111
The PolygonGraphicsItem class.
Definition: polygongraphicsitem.h:48
The StrokeTextGraphicsItem class is the graphical representation of a librepcb::StrokeText.
Definition: stroketextgraphicsitem.h:49
The ZoneGraphicsItem class.
Definition: zonegraphicsitem.h:48
Definition: occmodel.cpp:77