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