diff --git a/mucapy/main.py b/mucapy/main.py index d942037..d7762ae 100644 --- a/mucapy/main.py +++ b/mucapy/main.py @@ -897,6 +897,14 @@ class AboutWindow(QDialog): print(f"Missing a Style File! => {todo_style_path}") exit(1) + # Create the labels for the fucking trodo ass shit ? + self.todo_archive_object = todo + todo_archive_text = self.get_archive_text() + todo_archive_label = QLabel(f"
{todo_archive_text}")
+ todo_archive_label.setWordWrap(True)
+ todo_archive_label.setAlignment(Qt.AlignLeft)
+ todo_archive_label.setStyleSheet("color: #02d1fa ;font-style: italic;")
+
self.info_obj = todo
info_text = self.get_info_text()
info_label = QLabel(f"{info_text}")
@@ -914,6 +922,7 @@ class AboutWindow(QDialog):
if True == True:
layout.addWidget(info_label)
layout.addWidget(todo_label)
+ layout.addWidget(todo_archive_label)
layout.addWidget(cam_label)
else:
pass
@@ -1023,6 +1032,16 @@ class AboutWindow(QDialog):
return "Invalid"
except Exception as e:
return f"fuck you => {e}"
+
+ def get_archive_text(self):
+ try:
+ todo_archive_text = self.todo_archive_object.todo.getarchive()
+ if isinstance(todo_archive_text,str):
+ return todo_archive_text.strip()
+ else:
+ return "invalid format??"
+ except Exception as e:
+ return "?? ==> {e}"
def get_cam_text(self):
try:
@@ -2407,6 +2426,7 @@ class initQT():
pass
if __name__ == "__main__":
+
# Initialize Qt if on Linux ; If shit fails then modify these Functions
if platform.system() == "Linux":
qt = initQT()
diff --git a/mucapy/todopackage/todo.py b/mucapy/todopackage/todo.py
index 4f1b1b9..d53aee1 100644
--- a/mucapy/todopackage/todo.py
+++ b/mucapy/todopackage/todo.py
@@ -22,7 +22,7 @@ class todo:
MuCaPy TODO List:
NOTE: If you want to run this in Visual Studio Codes built in Terminal you will get fucked in your tiny tight ass.
-NOTE: If you ran this from the Workflow Package, you have somehow managed to fix errors even God cant figure out.
+NOTE: If you ran this from the Workflow Package, you cant do shit. fuck you.
NOTE: If you compiled this yourself ; you are one Fucking Genious
Changes:
@@ -30,7 +30,6 @@ Todo in About ; Seperate File (@todo.py)
""" # This will center!
-
#------------------------------------------------------------------------------------------------------------------------------------------------#
"""
!## This was the Quessadilla Bug at earlier 75. With next commit delete that out of the todo Variable ##!
@@ -50,29 +49,21 @@ Todo in About ; Seperate File (@todo.py)
• Double-click a camera to test the connection
• Selected cameras will appear in the preview bellow
"""
-
-#-------------------------------------------------------------------------------------------------------------------------------------------------#
-
- self.todo:str="""
+#------------------------------------------------------------------------------------------------------------------------------------------------#
+ self.todo : str="""
TODO:
- [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)
""" # This will display lefty (look in about window class)
#------------------------------------------------------------------------------------------------------------------------------------------------#
-
self.cameraURL : str = """
Cameras:
- http://pendelcam.kip.uni-heidelberg.de/mjpg/video.mjpg
""" # This will also display centered
#------------------------------------------------------------------------------------------------------------------------------------------------#
- self.beaver:str="""
+ self.beaver : str="""
___
.=" "=._.---.
."" c ' Y'`p
@@ -80,15 +71,16 @@ Cameras:
jgs | '-. / /
_,..._| )_-\ \_=.\
`-....-'`--------)))`=-'"`'"
-
- _______________________________________________
- | |
- | i am the angry beaver, fuck you ! :3 |
- |_______________________________________________|
-
+""" # The beaver isnt really angry anymore. Idk why, now hes chill
+#------------------------------------------------------------------------------------------------------------------------------------------------#
+ self.archived_todo : str = """
+Archived Todo List:
+ [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
+ [] - Make MJPEG more stable and efficient. (maybe use c++ for this or rust)
+ - Wont happen ; remove next commit, this is as efficient as it gets
"""
#------------------------------------------------------------------------------------------------------------------------------------------------#
-
"""
For a change we actually declare the Types.
@@ -99,7 +91,6 @@ Cameras:
# Return the Todo String
def gettodo(self) -> str:
return self.todo
-
# Return the Information about the Programm
def getinfo(self) -> str:
return self.information
@@ -113,5 +104,8 @@ Cameras:
# Get the fuckass beaver. very angwy :3
def get_beaver(self) -> str:
return self.beaver
+ # Get the Archive.
+ def getarchive(self) -> str:
+ return self.archived_todo
todo = todo()