wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
TruthTable.cpp File Reference
#include "App/Element/GraphicElements/TruthTable.h"
#include <QGraphicsSceneMouseEvent>
#include <QPainter>
#include <QSvgRenderer>
#include "App/Core/Common.h"
#include "App/Core/Constants.h"
#include "App/Element/ElementFactory.h"
#include "App/Element/ElementInfo.h"
#include "App/IO/Serialization.h"
#include "App/IO/SerializationContext.h"
#include "App/IO/VersionInfo.h"
#include "App/Wiring/Port.h"
Include dependency graph for TruthTable.cpp:

Go to the source code of this file.

Classes

struct  ElementInfo< TruthTable >

Functions

static QSvgRenderer & truthTableLogoRenderer ()

Function Documentation

◆ truthTableLogoRenderer()

QSvgRenderer & truthTableLogoRenderer ( )
static

Shared, lazily-constructed vector renderer for the truth-table icon — one per process, drawn directly in drawBody() so it stays crisp at any zoom. GUI-thread only, like pixmapCache().

Definition at line 122 of file TruthTable.cpp.