@@ -38,6 +38,7 PCBVia::PCBVia(QIlib::QIcadPcbVia *viaNo | |||
|
38 | 38 | void PCBVia::init(QPointF offset) |
|
39 | 39 | { |
|
40 | 40 | this->setCacheMode(QGraphicsItem::DeviceCoordinateCache); |
|
41 | this->setFlags(ItemIsMovable|ItemIsSelectable|ItemIsFocusable); | |
|
41 | 42 | offset-=QPointF(this->viaNode->size().width()/2,this->viaNode->size().height()/2); |
|
42 | 43 | |
|
43 | 44 | for(int i=0;i<this->viaNode->layers().count();i++) |
General Comments 0
You need to be logged in to leave comments.
Login now