mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-04 11:30:52 +01:00
Terminal strip item font is editable
The font used in the terminal strip item can be edited trough the terminal strip layout editor widget
This commit is contained in:
@@ -56,6 +56,8 @@ void TerminalStripDrawer::paint(QPainter *painter)
|
||||
auto brush_ = painter->brush();
|
||||
brush_.setColor(Qt::white);
|
||||
|
||||
painter->setFont(m_pattern->font());
|
||||
|
||||
painter->setPen(pen_);
|
||||
painter->setBrush(brush_);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user