wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
GraphicElement.cpp File Reference
#include "App/Element/GraphicElement.h"
#include <cmath>
#include <memory>
#include <QCoreApplication>
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QGraphicsScene>
#include <QGraphicsSceneMouseEvent>
#include <QKeyEvent>
#include <QPainter>
#include <QPixmap>
#include <QRegularExpression>
#include <QStyleOptionGraphicsItem>
#include <QSvgRenderer>
#include <QThread>
#include "App/Core/Common.h"
#include "App/Core/Constants.h"
#include "App/Core/ThemeManager.h"
#include "App/Element/ElementFactory.h"
#include "App/Element/ElementMetadata.h"
#include "App/IO/SerializationContext.h"
#include "App/Wiring/Connection.h"
#include "App/Wiring/Port.h"
Include dependency graph for GraphicElement.cpp:

Go to the source code of this file.

Functions

static const QFont & labelFont ()
 Shared label font — constructed once to avoid repeated QFont creation and fontconfig lookups.

Function Documentation

◆ labelFont()

const QFont & labelFont ( )
static

Shared label font — constructed once to avoid repeated QFont creation and fontconfig lookups.

Definition at line 33 of file GraphicElement.cpp.

Referenced by GraphicElement::updateLabel().