22 explicit And(QGraphicsItem *parent =
nullptr);
Abstract base class for all graphical circuit elements.
void updateLogic() override
Sets output to the logical AND of all inputs.
And(QGraphicsItem *parent=nullptr)
Constructs an And gate element with default 2 inputs.
GraphicElement(ElementType type, QGraphicsItem *parent=nullptr)
Constructs a graphic element of the given type, fetching all properties from the metadata registry.