Version 3.4.0: Edit tab (edit list, large subtitle, replacements with effects and presets), Sounds tab only browses, ackit fx (pedalboard + own reverb) and replace --fx, first Linux build, catalog without a mod package

This commit is contained in:
2026-10-28 13:54:12 +01:00
parent a706dae419
commit 6de470174e
36 changed files with 2872 additions and 278 deletions

View File

@@ -146,6 +146,25 @@ def _draw(p, name, c, s):
p.drawPath(half)
p.setBrush(Qt.BrushStyle.NoBrush)
p.drawEllipse(rect)
elif name in ("prev", "next"): # chevron
d = -1 if name == "prev" else 1
x0 = s / 2 - d * s * 0.12
p.drawLine(QPointF(x0, s * 0.24), QPointF(x0 + d * s * 0.24, s / 2))
p.drawLine(QPointF(x0 + d * s * 0.24, s / 2), QPointF(x0, s * 0.76))
elif name == "add": # plus
p.drawLine(QPointF(s / 2, s * 0.22), QPointF(s / 2, s * 0.78))
p.drawLine(QPointF(s * 0.22, s / 2), QPointF(s * 0.78, s / 2))
elif name == "edit": # pencil
p.translate(s / 2, s / 2)
p.rotate(-45)
p.drawRect(QRectF(-s * 0.30, -s * 0.09, s * 0.48, s * 0.18))
path = QPainterPath()
path.moveTo(s * 0.18, -s * 0.09)
path.lineTo(s * 0.36, 0)
path.lineTo(s * 0.18, s * 0.09)
p.drawPath(path)
p.rotate(45)
p.translate(-s / 2, -s / 2)
elif name == "search":
p.drawEllipse(QRectF(s * 0.18, s * 0.18, s * 0.46, s * 0.46))
p.drawLine(QPointF(s * 0.58, s * 0.58), QPointF(s * 0.84, s * 0.84))