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