you are fuck you.
All checks were successful
Build MuCaPy Executable / build-and-package (push) Successful in 1m43s
All checks were successful
Build MuCaPy Executable / build-and-package (push) Successful in 1m43s
This commit is contained in:
@@ -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"<pre>{todo_text}</pre>")
|
||||
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"<pre>{info_text}</pre>")
|
||||
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"<pre>{cam_text}</pre>")
|
||||
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)
|
||||
|
||||
@@ -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()
|
||||
Reference in New Issue
Block a user