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)
|
self.setLayout(layout)
|
||||||
|
|
||||||
# Todo Label Shit
|
# Todo Label Shit
|
||||||
self.todo_obj = todo.todo()
|
self.todo_obj = todo
|
||||||
todo_text = self.get_todo_text()
|
todo_text = self.get_todo_text()
|
||||||
todo_label = QLabel(f"<pre>{todo_text}</pre>")
|
todo_label = QLabel(f"<pre>{todo_text}</pre>")
|
||||||
todo_label.setWordWrap(True)
|
todo_label.setWordWrap(True)
|
||||||
@@ -897,14 +897,14 @@ class AboutWindow(QDialog):
|
|||||||
print(f"Missing a Style File! => {todo_style_path}")
|
print(f"Missing a Style File! => {todo_style_path}")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
self.info_obj = todo.todo()
|
self.info_obj = todo
|
||||||
info_text = self.get_info_text()
|
info_text = self.get_info_text()
|
||||||
info_label = QLabel(f"<pre>{info_text}</pre>")
|
info_label = QLabel(f"<pre>{info_text}</pre>")
|
||||||
info_label.setWordWrap(True)
|
info_label.setWordWrap(True)
|
||||||
info_label.setAlignment(Qt.AlignCenter)
|
info_label.setAlignment(Qt.AlignCenter)
|
||||||
info_label.setStyleSheet("color: #2ecc71 ; font-style: italic;")
|
info_label.setStyleSheet("color: #2ecc71 ; font-style: italic;")
|
||||||
|
|
||||||
self.camobj = todo.todo()
|
self.camobj = todo
|
||||||
cam_text = self.get_cam_text()
|
cam_text = self.get_cam_text()
|
||||||
cam_label = QLabel(f"<pre>{cam_text}</pre>")
|
cam_label = QLabel(f"<pre>{cam_text}</pre>")
|
||||||
cam_label.setWordWrap(True)
|
cam_label.setWordWrap(True)
|
||||||
@@ -1006,7 +1006,7 @@ class AboutWindow(QDialog):
|
|||||||
|
|
||||||
def get_todo_text(self):
|
def get_todo_text(self):
|
||||||
try:
|
try:
|
||||||
todo_text = self.todo_obj.gettodo()
|
todo_text = self.todo_obj.todo.gettodo()
|
||||||
if isinstance(todo_text, str):
|
if isinstance(todo_text, str):
|
||||||
return todo_text.strip()
|
return todo_text.strip()
|
||||||
else:
|
else:
|
||||||
@@ -1016,7 +1016,7 @@ class AboutWindow(QDialog):
|
|||||||
|
|
||||||
def get_info_text(self):
|
def get_info_text(self):
|
||||||
try:
|
try:
|
||||||
info_text = self.info_obj.getinfo()
|
info_text = self.info_obj.todo.getinfo()
|
||||||
if isinstance(info_text, str):
|
if isinstance(info_text, str):
|
||||||
return info_text.strip()
|
return info_text.strip()
|
||||||
else:
|
else:
|
||||||
@@ -1026,7 +1026,7 @@ class AboutWindow(QDialog):
|
|||||||
|
|
||||||
def get_cam_text(self):
|
def get_cam_text(self):
|
||||||
try:
|
try:
|
||||||
cam_text = self.camobj.getcams()
|
cam_text = self.camobj.todo.getcams()
|
||||||
if isinstance(cam_text,str):
|
if isinstance(cam_text,str):
|
||||||
return cam_text.strip()
|
return cam_text.strip()
|
||||||
else:
|
else:
|
||||||
@@ -1046,7 +1046,7 @@ class NetworkCameraDialog(QDialog):
|
|||||||
layout = QVBoxLayout(self)
|
layout = QVBoxLayout(self)
|
||||||
|
|
||||||
# Instructions label
|
# Instructions label
|
||||||
instructions = QLabel(todo.todo.get_instructions_CaSeDi_QLabel(self))
|
instructions = QLabel(todo.todo.get_instructions_CaSeDi_QLabel())
|
||||||
|
|
||||||
instructions.setWordWrap(True)
|
instructions.setWordWrap(True)
|
||||||
layout.addWidget(instructions)
|
layout.addWidget(instructions)
|
||||||
|
|||||||
@@ -26,16 +26,18 @@ Todo in About ; Seperate File (@todo.py)
|
|||||||
|
|
||||||
""" # This will center!
|
""" # This will center!
|
||||||
|
|
||||||
self.instructions_CaSeDi_QLabel : str = ("Camera Selection Guide:\n\n"
|
self.instructions_CaSeDi_QLabel : str = """Camera Selection Guide:\n\n
|
||||||
"• Local Cameras: Built-in and USB cameras\n"
|
• Local Cameras: Built-in and USB cameras\n
|
||||||
"• Network Cameras: IP cameras, DroidCam, etc.\n"
|
• Network Cameras: IP cameras, DroidCam, etc.\n
|
||||||
"• Use checkboxes to select/deselect cameras\n"
|
• Use checkboxes to select/deselect cameras\n
|
||||||
"• Double-click a camera to test the connection\n"
|
• Double-click a camera to test the connection\n
|
||||||
"• Selected cameras will appear in the preview below")
|
• Selected cameras will appear in the preview below
|
||||||
|
"""
|
||||||
|
|
||||||
self.todo:str="""
|
self.todo:str="""
|
||||||
TODO:
|
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
|
[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)
|
[] - 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)
|
[] - Make Seperate Styling (unlikely that this will happen)
|
||||||
[] - RTSP Camera Streaming
|
[] - RTSP Camera Streaming
|
||||||
@@ -74,3 +76,5 @@ Cameras:
|
|||||||
|
|
||||||
def get_instructions_CaSeDi_QLabel(self) -> str:
|
def get_instructions_CaSeDi_QLabel(self) -> str:
|
||||||
return self.instructions_CaSeDi_QLabel
|
return self.instructions_CaSeDi_QLabel
|
||||||
|
|
||||||
|
todo = todo()
|
||||||
Reference in New Issue
Block a user