summaryrefslogtreecommitdiff
path: root/src/ui_widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui_widgets.py')
-rw-r--r--src/ui_widgets.py30
1 files changed, 29 insertions, 1 deletions
diff --git a/src/ui_widgets.py b/src/ui_widgets.py
index 384b948..42fda7c 100644
--- a/src/ui_widgets.py
+++ b/src/ui_widgets.py
@@ -3,7 +3,35 @@ from PyQt5.QtWidgets import *
from PyQt5.QtGui import *
from PyQt5.QtCore import *
-from ui import GUI, Pens # the fuck
+from ui import GUI
+
+
+
+class Pens:
+ axes = QPen(Qt.gray)
+
+ ellipse = QPen(Qt.black)
+ ellipse.setWidth(2)
+
+ axis_linear = QPen(QColor(201, 141, 0))
+ axis_linear.setWidth(2)
+ axis_linear.setStyle(Qt.DashDotLine)
+
+ axis_fast = QPen(QColor(51, 87, 123))
+ axis_fast.setWidth(2)
+ axis_fast.setStyle(Qt.DashDotLine)
+
+ axis_slow = QPen(QColor(55, 123, 51))
+ axis_slow.setWidth(2)
+ axis_slow.setStyle(Qt.DashDotLine)
+
+ alpha = QPen(Qt.red)
+ theta = QPen(Qt.blue)
+
+ radii = QPen(Qt.black)
+ radii.setStyle(Qt.DashDotLine)
+
+
class ExpandingSpacer(QSpacerItem):
def __init__(self):