diff --git a/mucapy/main.py b/mucapy/main.py index 9800492..d942037 100644 --- a/mucapy/main.py +++ b/mucapy/main.py @@ -877,7 +877,7 @@ class AboutWindow(QDialog): self.setLayout(layout) # Todo Label Shit - self.todo_obj = todo.todo() + self.todo_obj = todo todo_text = self.get_todo_text() todo_label = QLabel(f"
{todo_text}")
todo_label.setWordWrap(True)
@@ -897,14 +897,14 @@ class AboutWindow(QDialog):
print(f"Missing a Style File! => {todo_style_path}")
exit(1)
- self.info_obj = todo.todo()
+ self.info_obj = todo
info_text = self.get_info_text()
info_label = QLabel(f"{info_text}")
info_label.setWordWrap(True)
info_label.setAlignment(Qt.AlignCenter)
info_label.setStyleSheet("color: #2ecc71 ; font-style: italic;")
- self.camobj = todo.todo()
+ self.camobj = todo
cam_text = self.get_cam_text()
cam_label = QLabel(f"{cam_text}")
cam_label.setWordWrap(True)
@@ -1006,7 +1006,7 @@ class AboutWindow(QDialog):
def get_todo_text(self):
try:
- todo_text = self.todo_obj.gettodo()
+ todo_text = self.todo_obj.todo.gettodo()
if isinstance(todo_text, str):
return todo_text.strip()
else:
@@ -1016,7 +1016,7 @@ class AboutWindow(QDialog):
def get_info_text(self):
try:
- info_text = self.info_obj.getinfo()
+ info_text = self.info_obj.todo.getinfo()
if isinstance(info_text, str):
return info_text.strip()
else:
@@ -1026,7 +1026,7 @@ class AboutWindow(QDialog):
def get_cam_text(self):
try:
- cam_text = self.camobj.getcams()
+ cam_text = self.camobj.todo.getcams()
if isinstance(cam_text,str):
return cam_text.strip()
else:
@@ -1046,7 +1046,7 @@ class NetworkCameraDialog(QDialog):
layout = QVBoxLayout(self)
# Instructions label
- instructions = QLabel(todo.todo.get_instructions_CaSeDi_QLabel(self))
+ instructions = QLabel(todo.todo.get_instructions_CaSeDi_QLabel())
instructions.setWordWrap(True)
layout.addWidget(instructions)
diff --git a/mucapy/todopackage/todo.py b/mucapy/todopackage/todo.py
index 0603fef..203f8e0 100644
--- a/mucapy/todopackage/todo.py
+++ b/mucapy/todopackage/todo.py
@@ -26,20 +26,22 @@ Todo in About ; Seperate File (@todo.py)
""" # This will center!
- self.instructions_CaSeDi_QLabel : str = ("Camera Selection Guide:\n\n"
- "• Local Cameras: Built-in and USB cameras\n"
- "• Network Cameras: IP cameras, DroidCam, etc.\n"
- "• Use checkboxes to select/deselect cameras\n"
- "• Double-click a camera to test the connection\n"
- "• Selected cameras will appear in the preview below")
+ self.instructions_CaSeDi_QLabel : str = """Camera Selection Guide:\n\n
+ • Local Cameras: Built-in and USB cameras\n
+ • Network Cameras: IP cameras, DroidCam, etc.\n
+ • Use checkboxes to select/deselect cameras\n
+ • Double-click a camera to test the connection\n
+ • Selected cameras will appear in the preview below
+ """
self.todo:str="""
TODO:
- [] - Fix Quesadilla Bug. @todo.py:75 , This has nothing to do with the About Window, but the Network Camera Dialog in @main.py:1038/1049
- [] - Fix Network Cameras from Crashing the Programm (This sometimes happens when only network cams are selected and it times out)
- [] - Make Seperate Styling (unlikely that this will happen)
- [] - RTSP Camera Streaming
- [] - Make MJPEG more stable and efficient. (maybe use c++ for this or rust)
+ [X] - Fix Quesadilla Bug. @todo.py:75 , This has nothing to do with the About Window, but the Network Camera Dialog in @main.py:1038/1049
+ - Fixed this. @todo.py now has a Singleton Initializer. Idk. "Brotha ew - Tsoding in May". Fuck you
+ [] - Fix Network Cameras from Crashing the Programm (This sometimes happens when only network cams are selected and it times out)
+ [] - Make Seperate Styling (unlikely that this will happen)
+ [] - RTSP Camera Streaming
+ [] - Make MJPEG more stable and efficient. (maybe use c++ for this or rust)
- NOTE: http://pendelcam.kip.uni-heidelberg.de/mjpg/video.mjpg
This is a Testing URL for MJPEG (stable and renders fine)
@@ -74,3 +76,5 @@ Cameras:
def get_instructions_CaSeDi_QLabel(self) -> str:
return self.instructions_CaSeDi_QLabel
+
+todo = todo()
\ No newline at end of file