27 explicit SRLatch(QGraphicsItem *parent =
nullptr);
Abstract base class for all graphical circuit elements.
Theme management types and singleton ThemeManager.
GraphicElement(ElementType type, QGraphicsItem *parent=nullptr)
Constructs a graphic element of the given type, fetching all properties from the metadata registry.
void updateLogic() override
Updates Q based on S and R inputs.
SRLatch(QGraphicsItem *parent=nullptr)
Constructs the element with optional parent.
void updatePortsProperties() override
Updates port names for this latch.
static QString pixmapPath()
void updateTheme() override
Refreshes the pixmap when the application theme changes.
static QString themePath()
Returns the resource path prefix for the current theme (e.g. "dark" or "light").