small pattern and fix circle arc
All checks were successful
CI/CD / wol (push) Successful in 0s
CI/CD / build (push) Successful in 10m33s

This commit is contained in:
2025-09-01 21:13:04 +02:00
parent 7adb7ed34a
commit f26bd7bf2e
4 changed files with 123 additions and 80 deletions

View File

@@ -10,7 +10,7 @@ from PySide6.QtWidgets import (
QWidget,
)
from grid.ui.pattern import Pattern
from grid.ui.pattern import LargeUltimaPattern, SmallZPattern
class Window(QWidget):
@@ -21,14 +21,10 @@ class Window(QWidget):
self.scene = QGraphicsScene(0, 0, 400, 400)
pp1 = Pattern(0, 0)
pp2 = Pattern(401, 0)
pp3 = Pattern(0, 401)
pp4 = Pattern(401, 401)
pp1 = LargeUltimaPattern(0, 0)
pp2 = SmallZPattern(401, 0)
self.scene.addItem(pp1)
self.scene.addItem(pp2)
self.scene.addItem(pp3)
self.scene.addItem(pp4)
view = QGraphicsView(self.scene)
view.setRenderHint(QPainter.RenderHint.Antialiasing)